QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Temporarily removes all cursor overrides for the QApplication for the lifetime of the object. More...
#include <qgsguiutils.h>
Public Member Functions | |
QgsTemporaryCursorRestoreOverride () | |
Constructor for QgsTemporaryCursorRestoreOverride. | |
~QgsTemporaryCursorRestoreOverride () | |
void | restore () |
Restores the cursor override early (i.e. | |
Temporarily removes all cursor overrides for the QApplication for the lifetime of the object.
When the object is deleted, all stacked cursor overrides are restored.
Definition at line 288 of file qgsguiutils.h.
QgsTemporaryCursorRestoreOverride::QgsTemporaryCursorRestoreOverride | ( | ) |
Constructor for QgsTemporaryCursorRestoreOverride.
Removes all application override cursors.
Definition at line 363 of file qgsguiutils.cpp.
QgsTemporaryCursorRestoreOverride::~QgsTemporaryCursorRestoreOverride | ( | ) |
Definition at line 372 of file qgsguiutils.cpp.
void QgsTemporaryCursorRestoreOverride::restore | ( | ) |
Restores the cursor override early (i.e.
before this object is destroyed).
Definition at line 377 of file qgsguiutils.cpp.