The QFocusEvent class contains event parameters for widget focus events. More...
#include <qevent.h>
Inherits QEvent.
Focus events are sent to widgets when the keyboard input focus changes.
The event handlers QWidget::focusInEvent() and QWidget::focusOutEvent() receive focus events.
See also: QWidget::setFocus() and QWidget::setFocusEnabled().
Examples: qmag/qmag.cpp
Constructs a focus event object.
The type parameter must be either QEvent::FocusIn or QEvent::FocusOut.
Returns TRUE if the widget received the text input focus.
Returns TRUE if the widget lost the text input focus.
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 Tech | Trademarks | Qt version 2.0.2
|