QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsFocusKeeper Class Reference

Trick to keep a widget focused and avoid QT crashes. More...

#include <qgsfocuskeeper.h>

Inheritance diagram for QgsFocusKeeper:

Public Member Functions

 QgsFocusKeeper ()
 ~QgsFocusKeeper () override

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override

Detailed Description

Trick to keep a widget focused and avoid QT crashes.

Note
not available in Python bindings
Since
QGIS 3.14

Definition at line 35 of file qgsfocuskeeper.h.

Constructor & Destructor Documentation

◆ QgsFocusKeeper()

QgsFocusKeeper::QgsFocusKeeper ( )

Definition at line 24 of file qgsfocuskeeper.cpp.

◆ ~QgsFocusKeeper()

QgsFocusKeeper::~QgsFocusKeeper ( )
override

Definition at line 31 of file qgsfocuskeeper.cpp.

Member Function Documentation

◆ eventFilter()

bool QgsFocusKeeper::eventFilter ( QObject * obj,
QEvent * event )
overrideprotected

Definition at line 37 of file qgsfocuskeeper.cpp.


The documentation for this class was generated from the following files: