QShowEvent Class

Die Klasse QShowEvent bietet ein Ereignis, das gesendet wird, wenn ein Widget angezeigt wird. Mehr...

Kopfzeile: #include <QShowEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Vererbungen: QEvent

Öffentliche Funktionen

Detaillierte Beschreibung

Es gibt zwei Arten von Show-Ereignissen: Show-Ereignisse, die durch das Fenstersystem verursacht werden (spontan), und interne Show-Ereignisse. Spontane (QEvent::spontaneous()) Show-Ereignisse werden gesendet, kurz nachdem das Fenstersystem das Fenster anzeigt; sie werden auch gesendet, wenn ein Top-Level-Fenster erneut angezeigt wird, nachdem es ikonifiziert wurde. Interne Show-Ereignisse werden gesendet, kurz bevor das Widget sichtbar wird.

Siehe auch QHideEvent.

Dokumentation der Mitgliedsfunktionen

QShowEvent::QShowEvent()

Konstruiert ein 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.