The QExposeEvent class contains event parameters for expose events. More...
Header: | #include <QExposeEvent> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Since: | Qt 5.0 |
Inherits: | QEvent |
QExposeEvent(const QRegion &exposeRegion) |
Expose events are sent to windows when they move between the un-exposed and exposed states.
An exposed window is potentially visible to the user. If the window is moved off screen, is made totally obscured by another window, is minimized, or similar, an expose event is sent to the window, and isExposed() might change to false.
Expose events should not be used to paint. Handle QPaintEvent instead.
The event handler QWindow::exposeEvent() receives expose events.
Constructs an expose event for the given exposeRegion which must be in local coordinates.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qexposeevent.html