OpendTect-6_4
6.4
|
Sets another cursor for current application. More...
Public Member Functions | |
virtual | ~MouseCursorManager () |
Static Public Member Functions | |
static void | setOverride (MouseCursor::Shape, bool replace=false) |
static void | setOverride (const MouseCursor &, bool replace=false) |
static void | setOverride (const char *filenm, int hotx=-1, int hoty=-1, bool replace=false) |
static void | restoreOverride () |
static MouseCursorManager * | mgr () |
static void | setMgr (MouseCursorManager *) |
Protected Member Functions | |
virtual void | setOverrideShape (MouseCursor::Shape, bool replace)=0 |
virtual void | setOverrideCursor (const MouseCursor &, bool replace)=0 |
virtual void | setOverrideFile (const char *filenm, int hotx, int hoty, bool replace)=0 |
virtual void | restoreInternal ()=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 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
staticprotected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019