QExposeEvent Class
QExposeEvent クラスには、エクスポーズイベント用のイベントパラメータが含まれています。詳細...
| ヘッダー: | #include <QExposeEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 継承元: | QEvent |
- 継承されたメンバーを含む、すべてのメンバーの一覧
- 非推奨のメンバ
- QExposeEvent はEvent Classes の一部です。
パブリック関数
| QExposeEvent(const QRegion &exposeRegion) |
プロテクトされた関数
| QExposeEvent(QExposeEvent &&) | |
| QExposeEvent & | operator=(QExposeEvent &&) |
| QExposeEvent & | operator=(const QExposeEvent &other) |
詳細な説明
エクスポーズ・イベントは、ウィンドウが「非表示」状態と「表示」状態の間で状態が切り替わったときに、そのウィンドウに送信されます。
表示されているウィンドウは、ユーザーに表示される可能性があります。ウィンドウが画面外に移動したり、別のウィンドウによって完全に隠されたり、最小化されたりした場合などには、Expose イベントがウィンドウに送信され、isExposed() の値が false に変更されることがあります。
Expose イベントは、描画に使用すべきではありません。代わりに、QPaintEvent を処理してください。
イベントハンドラ `QWindow::exposeEvent()` は、エクスポーズイベントを受け取ります。
メンバ関数のドキュメント
[explicit] QExposeEvent::QExposeEvent(const QRegion &exposeRegion)
指定されたexposeRegion (ローカル座標系で指定されている必要がある)に対して、エクスポーズイベントを生成します。
[protected delete] QExposeEvent::QExposeEvent(QExposeEvent &&)
QExposeEvent のインスタンスをmove-constructで生成します。この関数は削除されています。
[protected delete] QExposeEvent &QExposeEvent::operator=(QExposeEvent &&)
other をこのQExposeEvent インスタンスに割り当てます。この関数は削除されました。
[noexcept protected default] QExposeEvent &QExposeEvent::operator=(const QExposeEvent &other)
other をこのQExposeEvent インスタンスにコピーして割り当てます。
© 2026 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.