OpendTect
7.0
|
Sets another cursor for current application. More...
Public Member Functions | |
virtual | ~MouseCursorManager () |
Static Public Member Functions | |
static MouseCursorManager * | mgr () |
static void | restoreOverride () |
static void | setMgr (MouseCursorManager *) |
static void | setOverride (const char *filenm, int hotx=-1, int hoty=-1, bool replace=false) |
static void | setOverride (const MouseCursor &, bool replace=false) |
static void | setOverride (MouseCursor::Shape, bool replace=false) |
Protected Member Functions | |
virtual void | restoreInternal ()=0 |
virtual void | setOverrideCursor (const MouseCursor &, bool replace)=0 |
virtual void | setOverrideFile (const char *filenm, int hotx, int hoty, bool replace)=0 |
virtual void | setOverrideShape (MouseCursor::Shape, bool replace)=0 |
Static Protected Attributes | |
static MouseCursorManager * | mgr_ |
Sets another cursor for current application.
Example:
Application cursors are stored on an internal stack. setOverride() pushes the cursor onto the stack, and restoreOverride() pops the active cursor off the stack. Every setOverride() must eventually be followed by a corresponding restoreOverride(), otherwise the stack will never be emptied.
If replace is true, the new cursor will replace the last overridecw cursor (the stack keeps its depth). If replace is FALSE, the new cursor is pushed onto the top of the stack.
<>
|
inlinevirtual |
|
static |
|
protectedpure virtual |
Implemented in uiCursorManager.
|
static |
|
static |
|
static |
|
static |
|
static |
|
protectedpure virtual |
Implemented in uiCursorManager.
|
protectedpure virtual |
Implemented in uiCursorManager.
|
protectedpure virtual |
Implemented in uiCursorManager.
|
staticprotected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024