Qt logo

QHideEvent Class Reference


The event sent after a widget is hidden. More...

#include <qevent.h>

Inherits QEvent.

List of all member functions.

Public Members


Detailed Description

The event 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.

See also: QShowEvent.


Member Function Documentation

QHideEvent::QHideEvent ( bool spontaneous )

Constructs a QHideEvent. spontaneous is TRUE if the event originated outside the application - ie. the user hid the window via the window manager controls.

bool QHideEvent::spontaneous () const

Returns TRUE if the event originated outside the application - ie. the user hid the window via the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window isn't visible. The window will become hidden, but not withdrawn. If the window was iconified, QWidget::isMinimized() is TRUE.


Search the documentation, FAQ, qt-interest archive and more (uses www.troll.no):


This file is part of the Qt toolkit, copyright © 1995-99 Troll Tech, all rights reserved.


Copyright © 1999 Troll TechTrademarks
Qt version 2.0.2