QExposeEvent 類

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 () 接收暴露事件。

成員函數文檔編製

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.