QHideEvent Class
La clase QHideEvent proporciona un evento que se envía después de que un widget se oculta. Más...
| Cabecera: | #include <QHideEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Hereda: | QEvent |
- Lista de todos los miembros, incluyendo los heredados
- QHideEvent es parte de Clases de Eventos.
Funciones Públicas
Descripción Detallada
Este evento se envía justo antes de que vuelva QWidget::hide(), y también cuando una ventana de nivel superior ha sido ocultada (iconificada) por el usuario.
Si spontaneous() es verdadero, el evento se originó fuera de la aplicación. En este caso, el usuario ocultó la ventana utilizando los controles del gestor de ventanas, ya sea iconificando la ventana o cambiando a otro escritorio virtual en el que la ventana no es visible. La ventana se ocultará pero no se retirará. Si la ventana fue iconificada, QWidget::isMinimized() devuelve true.
Véase también QShowEvent.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.