このページでは

QShowEvent Class

QShowEvent クラスは、ウィジェットが表示されたときに送信されるイベントを提供します。詳細...

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

パブリック関数

プロテクトされた関数

QShowEvent(QShowEvent &&)
QShowEvent &operator=(QShowEvent &&)
QShowEvent &operator=(const QShowEvent &other)

詳細な説明

ショーイベントには、ウィンドウシステムによって引き起こされるショーイベント(自発的)と、内部ショーイベントの 2 種類があります。 自発的な (QEvent::spontaneous())) 表示イベントは、ウィンドウシステムがウィンドウを表示した直後に送信されます。また、トップレベルウィンドウがアイコン化された後に再表示された場合にも送信されます。内部表示イベントは、ウィジェットが表示される直前に配信されます。

QHideEventも参照してください 。

メンバ関数のドキュメント

QShowEvent::QShowEvent()

QShowEvent オブジェクトを作成します。

[protected delete] QShowEvent::QShowEvent(QShowEvent &&)

QShowEvent のインスタンスをMoveコンストラクタで生成します。この関数は削除されています。

[protected delete] QShowEvent &QShowEvent::operator=(QShowEvent &&)

other をこのQShowEvent インスタンスに割り当てます。この関数は削除されます。

[noexcept protected default] QShowEvent &QShowEvent::operator=(const QShowEvent &other)

other をこのQShowEvent インスタンスにコピーして割り当てます。

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