QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsTemporaryCursorRestoreOverride Class Reference

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.
 

Detailed Description

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.

See also
QgsTemporaryCursorOverride
Since
QGIS 3.8

Definition at line 282 of file qgsguiutils.h.

Constructor & Destructor Documentation

◆ QgsTemporaryCursorRestoreOverride()

QgsTemporaryCursorRestoreOverride::QgsTemporaryCursorRestoreOverride ( )

Constructor for QgsTemporaryCursorRestoreOverride.

Removes all application override cursors.

Definition at line 380 of file qgsguiutils.cpp.

◆ ~QgsTemporaryCursorRestoreOverride()

QgsTemporaryCursorRestoreOverride::~QgsTemporaryCursorRestoreOverride ( )

Definition at line 389 of file qgsguiutils.cpp.

Member Function Documentation

◆ restore()

void QgsTemporaryCursorRestoreOverride::restore ( )

Restores the cursor override early (i.e.

before this object is destroyed).

Definition at line 394 of file qgsguiutils.cpp.


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