Nesta página

QWindowStateChangeEvent Class

A classe QWindowStateChangeEvent fornece o estado da janela antes de uma mudança nesse estado. Mais...

Cabeçalho: #include <QWindowStateChangeEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Herdado de: QEvent

Funções públicas

Qt::WindowStates oldState() const

Funções protegidas

QWindowStateChangeEvent(QWindowStateChangeEvent &&)
QWindowStateChangeEvent &operator=(QWindowStateChangeEvent &&)
QWindowStateChangeEvent &operator=(const QWindowStateChangeEvent &other)

Descrição detalhada

Documentação das funções de membro

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

Cria uma instância de ` QWindowStateChangeEvent` por meio da função `move`. Essa função foi excluída.

Qt::WindowStates QWindowStateChangeEvent::oldState() const

Retorna o estado da janela antes da alteração.

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

A função “Move-assigns” atribui “ other ” a esta instância de “ QWindowStateChangeEvent ”. Essa função é excluída.

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

Copia e atribui other a esta instância de QWindowStateChangeEvent.

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