QHideEvent#

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

Inheritance diagram of PySide6.QtGui.QHideEvent

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

This event is sent just before 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, isMinimized() returns true.

See also

QShowEvent

class PySide6.QtGui.QHideEvent#

PySide6.QtGui.QHideEvent(arg__1)

Parameters:

arg__1PySide6.QtGui.QHideEvent

Constructs a QHideEvent .