QWindowStateChangeEvent Class

The QWindowStateChangeEvent class provides the window state before a window state change. More...

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

Public Functions

Qt::WindowStates oldState() const

Detailed Description

Member Function Documentation

Qt::WindowStates QWindowStateChangeEvent::oldState() const

Returns the state of the window before the change.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qwindowstatechangeevent.html