OpendTect-6_4  6.4
uicursor.h
Go to the documentation of this file.
1 #ifndef uicursor_h
2 #define uicursor_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Lammertink
9  Date: 12/05/2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uibasemod.h"
16 #include "uigeom.h"
17 #include "mousecursor.h"
18 #include "thread.h"
19 
20 mFDQtclass(QCursor)
21 
22 mExpClass(uiBase) uiCursorManager : public MouseCursorManager
23 {
24 public:
25  static void initClass();
26 
27  static uiPoint cursorPos();
28 
29  static void fillQCursor(const MouseCursor&,mQtclass(QCursor&));
30 
31  static void setPriorityCursor(MouseCursor::Shape);
32  static void unsetPriorityCursor();
33 
34  static MouseCursor::Shape overrideCursorShape();
35 
36 protected:
37  ~uiCursorManager();
38  uiCursorManager();
39 
40  void setOverrideShape(MouseCursor::Shape,bool replace);
41  void setOverrideCursor(const MouseCursor&,bool replace);
42  void setOverrideFile(const char* filenm,
43  int hotx,int hoty, bool replace);
44  void restoreInternal();
45 };
46 
47 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file...
Definition: mousecursor.h:26
#define mQtclass(cls)
Definition: commondefs.h:229
Shape
Definition: mousecursor.h:57
#define mFDQtclass(cls)
Definition: commondefs.h:228
Sets another cursor for current application.
Definition: mousecursor.h:107
static void initClass()

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019