QHideEvent Class

The QHideEvent class provides an event which is sent after a widget is hidden. 更多...

头文件: #include <QHideEvent>
qmake: QT += gui
基类: QEvent

公有函数

  • 6 个公有函数继承自 QEvent

其他继承的成员

  • 1 个属性继承自 QEvent
  • 1 个静态公有成员继承自 QEvent
  • 2 个受保护的变量继承自 QEvent

详细描述

The QHideEvent class provides an event which is sent after a widget is hidden.

This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.

If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true.

参见 QShowEvent.

成员函数

QHideEvent::QHideEvent()

Constructs a QHideEvent.