In questa pagina

QShowEvent Class

La classe QShowEvent fornisce un evento che viene generato quando viene visualizzato un widget. Per saperne di più...

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

Funzioni pubbliche

Funzioni protette

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

Descrizione dettagliata

Esistono due tipi di eventi di visualizzazione: quelli causati dal sistema delle finestre (spontanei) e quelli interni. Gli eventi di visualizzazione spontanei (QEvent::spontaneous()) vengono inviati subito dopo che il sistema delle finestre ha visualizzato la finestra; vengono inviati anche quando una finestra di primo livello viene visualizzata nuovamente dopo essere stata ridotta a icona. Gli eventi di visualizzazione interni vengono inviati appena prima che il widget diventi visibile.

Vedi anche QHideEvent.

Documentazione delle funzioni membro

QShowEvent::QShowEvent()

Crea un oggetto QShowEvent.

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

Crea un'istanza di ` QShowEvent`. Questa funzione è stata eliminata.

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

Assegna " other " a questa istanza di " QShowEvent ". Questa funzione viene eliminata.

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

Assegna “ other ” a questa istanza “ 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.