QShowEvent Class
The QShowEvent class provides an event that is sent when a widget is shown. More...
| Header: | #include <QShowEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Inherits: | QEvent |
- List of all members, including inherited members
- QShowEvent is part of Event Classes.
Public Functions
Protected Functions
| QShowEvent(QShowEvent &&) | |
| QShowEvent & | operator=(QShowEvent &&) |
| QShowEvent & | operator=(const QShowEvent &other) |
Detailed Description
There are two kinds of show events: show events caused by the window system (spontaneous), and internal show events. Spontaneous (QEvent::spontaneous()) show events are sent just after the window system shows the window; they are also sent when a top-level window is redisplayed after being iconified. Internal show events are delivered just before the widget becomes visible.
See also QHideEvent.
Member Function Documentation
QShowEvent::QShowEvent()
Constructs a QShowEvent.
[protected delete] QShowEvent::QShowEvent(QShowEvent &&)
Move-constructs an instance of QShowEvent. This function is deleted.
[protected delete] QShowEvent &QShowEvent::operator=(QShowEvent &&)
Move-assigns other to this QShowEvent instance. This function is deleted.
[noexcept protected default] QShowEvent &QShowEvent::operator=(const QShowEvent &other)
Copy-assigns other to this QShowEvent instance.
© 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.