QShowEvent 类提供当展示 Widget 时发送的事件。 更多...
头: | #include <QShowEvent> |
CMake: |
find_package(Qt6 COMPONENTS Gui REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
继承: | QEvent |
QShowEvent () |
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.
另请参阅 QHideEvent .
构造 QShowEvent。