En esta página

QWindowStateChangeEvent Class

La clase `QWindowStateChangeEvent` proporciona el estado de la ventana antes de que se produzca un cambio en dicho estado. Más información...

Encabezado: #include <QWindowStateChangeEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Heredado de: QEvent

Funciones públicas

Qt::WindowStates oldState() const

Funciones protegidas

QWindowStateChangeEvent(QWindowStateChangeEvent &&)
QWindowStateChangeEvent &operator=(QWindowStateChangeEvent &&)
QWindowStateChangeEvent &operator=(const QWindowStateChangeEvent &other)

Descripción detallada

Documentación de las funciones de miembro

[protected delete] QWindowStateChangeEvent::QWindowStateChangeEvent(QWindowStateChangeEvent &&)

Crea una instancia de ` QWindowStateChangeEvent`. Esta función se ha eliminado.

Qt::WindowStates QWindowStateChangeEvent::oldState() const

Devuelve el estado de la ventana antes del cambio.

[protected delete] QWindowStateChangeEvent &QWindowStateChangeEvent::operator=(QWindowStateChangeEvent &&)

Asigna mediante «move» other a esta instancia de QWindowStateChangeEvent. Esta función se elimina.

[noexcept protected default] QWindowStateChangeEvent &QWindowStateChangeEvent::operator=(const QWindowStateChangeEvent &other)

Asigna por copia « other » a esta instancia de « QWindowStateChangeEvent ».

© 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.