QExposeEvent Class

QExposeEventクラスは、exposeイベントのイベントパラメータを含んでいます。詳細...

ヘッダー #include <QExposeEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
継承: QEvent

パブリック関数

QExposeEvent(const QRegion &exposeRegion)

詳細説明

Expose イベントは、ウィンドウが非露出状態と露出状態の間を移動するときに送信されます。

公開されたウィンドウは、ユーザーに見える可能性があります。ウィンドウが画面外に移動したり、他のウィンドウによって完全に隠されたり、最小化されたりすると、exposeイベントがウィンドウに送られ、isExposed()がfalseに変わるかもしれません。

Exposeイベントはペイントに使用しないでください。代わりにQPaintEvent を処理してください。

イベントハンドラQWindow::exposeEvent() は、exposeイベントを受け取ります。

メンバ関数ドキュメント

[explicit] QExposeEvent::QExposeEvent(const QRegion &exposeRegion)

ローカル座標でなければならない、与えられたexposeRegion のための公開イベントを構築する。

© 2025 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.