QHideEvent Class
QHideEvent クラスは、ウィジェットが非表示になった後に送信されるイベントを提供します。詳細...
| ヘッダー: | #include <QHideEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 継承元: | QEvent |
- 継承されたメンバーを含むすべてのメンバーの一覧
- QHideEvent はイベントクラス群の一部です。
パブリック関数
プロテクトされた関数
| QHideEvent(QHideEvent &&) | |
| QHideEvent & | operator=(QHideEvent &&) |
| QHideEvent & | operator=(const QHideEvent &other) |
詳細な説明
このイベントは、QWidget::hide() が返される直前、およびトップレベルウィンドウがユーザーによって非表示(アイコン化)されたときに送信されます。
spontaneous() が true の場合、このイベントはアプリケーションの外部で発生したものです。この場合、ユーザーはウィンドウマネージャのコントロールを使用して、ウィンドウをアイコン化するか、ウィンドウが表示されない別の仮想デスクトップに切り替えることで、ウィンドウを非表示にしました。ウィンドウは非表示になりますが、取り消されることはありません。ウィンドウがアイコン化された場合、QWidget::isMinimized() はtrue を返します。
QShowEventも参照してください 。
メンバ関数のドキュメント
QHideEvent::QHideEvent()
QHideEvent オブジェクトを作成します。
[protected delete] QHideEvent::QHideEvent(QHideEvent &&)
QHideEvent のインスタンスをMoveコンストラクタで生成します。この関数は削除されています。
[protected delete] QHideEvent &QHideEvent::operator=(QHideEvent &&)
other をこのQHideEvent インスタンスに割り当てます。この関数は削除されます。
[noexcept protected default] QHideEvent &QHideEvent::operator=(const QHideEvent &other)
other をこのQHideEvent インスタンスにコピーして割り当てます。
© 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.