QExposeEvent¶
The QExposeEvent
class contains event parameters for expose events. More…
Synopsis¶
Functions¶
def
region
()
Detailed Description¶
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 exposeEvent()
receives expose events.
- class PySide6.QtGui.QExposeEvent(arg__1)¶
PySide6.QtGui.QExposeEvent(m_region)
- Parameters
m_region –
PySide6.QtGui.QRegion
arg__1 –
PySide6.QtGui.QExposeEvent
Constructs an expose event for the given exposeRegion
which must be in local coordinates.
Constructs an expose event for the given exposeRegion
which must be in local coordinates.
- PySide6.QtGui.QExposeEvent.region()¶
- Return type
Note
This function is deprecated.
Use QPaintEvent
instead.
Returns the window area that has been exposed. The region is given in local coordinates.
© 2022 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.