QHideEvent Class
QHideEventクラスは、ウィジェットが隠された後に送られるイベントを提供します。詳細...
ヘッダ | #include <QHideEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
継承: | QEvent |
- 継承メンバを含む全メンバのリスト
- QHideEventは、Eventクラスに属しています。
パブリック関数
詳細説明
このイベントは、QWidget::hide ()が戻る直前や、トップレベルのウィンドウがユーザーによって隠された(アイコン化された)ときに送信されます。
spontaneous() が true の場合、このイベントはアプリケーションの外部で発生しました。この場合、ユーザーはウィンドウをアイコン化するか、ウィンドウが表示されない別の仮想デスクトップに切り替えるかして、ウィンドウ・マネージャー・コントロールを使ってウィンドウを隠した。ウィンドウは非表示になりますが、撤回されません。ウィンドウがアイコン化されていた場合、QWidget::isMinimized() はtrue
を返す。
QShowEventも参照のこと 。
© 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.