QgsTemporaryCursorOverride class
Temporarily sets a cursor override for the QApplication for the lifetime of the object.
Contents
When the object is deleted, the cursor override is removed.
Constructors, destructors, conversion operators
- QgsTemporaryCursorOverride(const QCursor& cursor)
- Constructor for QgsTemporaryCursorOverride.
Public functions
- void release()
- Releases the cursor override early (i.e.
Function documentation
QgsTemporaryCursorOverride:: QgsTemporaryCursorOverride(const QCursor& cursor)
Constructor for QgsTemporaryCursorOverride.
Sets the application override cursor to cursor.
void QgsTemporaryCursorOverride:: release()
Releases the cursor override early (i.e.
before this object is destroyed).