15 #include "uibasemod.h" 27 class KeyboardEventFilter;
33 uiMain(
int& argc,
char** argv);
36 void init(
mQtclass(QApplication*),
int& argc,
char **argv);
43 void exit(
int retcode=0);
46 void getCmdLineArgs(BufferStringSet&)
const;
47 void setTopLevel(uiMainWin*);
49 void setFont(
const uiFont&,
bool passtochildren);
51 Color windowColor()
const;
52 static void setIcon(
const char* icid);
54 int nrScreens()
const;
55 uiSize getScreenSize(
int screennr,
bool availablesz)
const;
56 uiSize desktopSize()
const;
59 static uiMain& theMain();
60 static void setXpmIconData(
const char** xpmdata );
62 static void cleanQtOSEnv();
70 static void processEvents(
int msec=3000);
72 static KeyboardEventHandler& keyboardEventHandler();
75 static void useNameToolTip(
bool);
76 static bool isNameToolTipUsed();
85 static const uiFont* font_;
87 static
mQtclass(QtTabletEventFilter*) tabletfilter_;
88 static KeyboardEventHandler* keyhandler_;
89 static KeyboardEventFilter* keyfilter_;
92 virtual
void init(
mQtclass(QWidget*) mainwidget ) {}
#define mExpClass(module)
Definition: commondefs.h:160
User interface main window.
Definition: uimainwin.h:36
static const char ** XpmIconData
Definition: uimain.h:61
void setIcon(int, const char *icon_identifier)
#define mQtclass(cls)
Definition: commondefs.h:229
#define mGlobal(module)
Definition: commondefs.h:163
bool isMainThreadCurrent()
Set of BufferString objects.
Definition: bufstringset.h:28
mFDQtclass(QApplication) mFDQtclass(QWidget) mFDQtclass(QtTabletEventFilter) class uiMainWin
const uiFont * font() const
Definition: uiparent.h:76
uiMainWin * topLevel()
Definition: uimain.h:48
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool isMainThread(const void *)
virtual void setFont(const QFont &)
override Qt
Definition: i_uiobjqtbody.h:32
Handles KeyboardEvent.
Definition: keyboardevent.h:47
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
uiMainWin * mainobj_
Definition: uimain.h:82
static uiMain * themain_
Definition: uimain.h:81