QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Member Functions | List of all members
QgsFocusKeeper Class Reference

#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 34 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 27 of file qgsfocuskeeper.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 32 of file qgsfocuskeeper.cpp.


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