17#include "moc_qgsfocuswatcher.cpp"
24 parent->installEventFilter(
this );
29 switch ( event->type() )
35 case QEvent::FocusOut:
void focusIn()
Emitted when parent object gains focus.
void focusChanged(bool focused)
Emitted when parent object's focus changes.
void focusOut()
Emitted when parent object loses focus.
bool eventFilter(QObject *obj, QEvent *event) override
QgsFocusWatcher(QObject *parent)
Constructor for QgsFocusWatcher.