QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
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
[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 23 of file qgsfocuskeeper.cpp.

◆ ~QgsFocusKeeper()

QgsFocusKeeper::~QgsFocusKeeper ( )
override

Definition at line 30 of file qgsfocuskeeper.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 36 of file qgsfocuskeeper.cpp.


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