QExposeEvent 类包含用于暴露事件的事件参数。 更多...
头: | #include <QExposeEvent> |
qmake: | QT += gui |
Since: | Qt 5.0 |
继承: | QEvent |
该类在 Qt 5.0 引入。
QExposeEvent (const QRegion & exposeRegion ) | |
const QRegion & | region () const |
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.
事件处理程序 QWindow::exposeEvent () 接收暴露事件。
构造暴露事件为给定 exposeRegion 其必须在本地坐标中。
Returns the window area that has been exposed. The region is given in local coordinates.