QGIS API Documentation 3.37.0-Master (49cede7946b)
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsFocusKeeper Class Reference

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

#include <qgsfocuskeeper.h>

Inheritance diagram for QgsFocusKeeper:
Inheritance graph

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.

not available in Python bindings
QGIS 3.14

Definition at line 35 of file qgsfocuskeeper.h.

Constructor & Destructor Documentation

◆ QgsFocusKeeper()

QgsFocusKeeper::QgsFocusKeeper ( )

Definition at line 22 of file qgsfocuskeeper.cpp.

◆ ~QgsFocusKeeper()

QgsFocusKeeper::~QgsFocusKeeper ( )

Definition at line 28 of file qgsfocuskeeper.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 34 of file qgsfocuskeeper.cpp.

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