内容表

上一话题

QHelpEvent

下一话题

QHoverEvent

QHideEvent

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

Inheritance diagram of PySide2.QtGui.QHideEvent

详细描述

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

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, isMinimized() 返回 true .

另请参阅

QShowEvent

class QHideEvent

构造 QHideEvent .