QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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
[legend]

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 22 of file qgsfocuskeeper.cpp.

◆ ~QgsFocusKeeper()

QgsFocusKeeper::~QgsFocusKeeper ( )
override

Definition at line 28 of file qgsfocuskeeper.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 34 of file qgsfocuskeeper.cpp.


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