QExposeEvent 类

QExposeEvent class contains event parameters for expose events. 更多...

头: #include <QExposeEvent>
qmake: QT += gui
Since: Qt 5.0
继承: QEvent

公共函数

QExposeEvent (const QRegion & exposeRegion )
const QRegion & region () const

额外继承成员

详细描述

QExposeEvent class contains event parameters for expose events.

Expose events are sent to windows when an area of the window is invalidated or window visibility in the windowing system changes.

事件处理程序 QWindow::exposeEvent () 接收曝光事件。

成员函数文档编制

QExposeEvent:: QExposeEvent (const QRegion & exposeRegion )

构造曝光事件为给定 exposeRegion 其必须在本地坐标中。

const QRegion &QExposeEvent:: region () const

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