QExposeEvent

The QExposeEvent class contains event parameters for expose events. More

Inheritance diagram of PySide2.QtGui.QExposeEvent

Synopsis

Functions

Detailed Description

Expose events are sent to windows when an area of the window is invalidated, for example when window exposure in the windowing system changes.

A Window with a client area that is completely covered by another window, or is otherwise not visible may be considered obscured by Qt and may in such cases not receive expose events.

The event handler exposeEvent() receives expose events.

class PySide2.QtGui.QExposeEvent(rgn)

Constructs an expose event for the given exposeRegion which must be in local coordinates.

PySide2.QtGui.QExposeEvent.rgn
PySide2.QtGui.QExposeEvent.region()
Return type:

PySide2.QtGui.QRegion

Returns the window area that has been exposed. The region is given in local coordinates.