OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
uiMain Class Reference

Public Member Functions

 uiMain (int &argc, char **argv)
 
virtual ~uiMain ()
 
virtual int exec ()
 
void exit (int retcode=0)
 
void * thread ()
 
void getCmdLineArgs (BufferStringSet &) const
 
void setTopLevel (uiMainWin *)
 
uiMainWintopLevel ()
 
void setFont (const uiFont &, bool passtochildren)
 
const uiFontfont ()
 
Color windowColor () const
 
int nrScreens () const
 
uiSize getScreenSize (int screennr, bool availablesz) const
 
uiSize desktopSize () const
 

Static Public Member Functions

static void setIcon (const char *icid)
 
static uiMaintheMain ()
 
static void setXpmIconData (const char **xpmdata)
 
static void cleanQtOSEnv ()
 
static void flushX ()
 
static void processEvents (int msec=3000)
 
static KeyboardEventHandlerkeyboardEventHandler ()
 
static int getDPI ()
 
static void useNameToolTip (bool)
 
static bool isNameToolTipUsed ()
 
static void formatNameToolTipString (BufferString &)
 

Static Public Attributes

static const char ** XpmIconData
 

Protected Member Functions

virtual void init (mQtclass(QWidget *) mainwidget)
 necessary for uicMain coin inialisation More...
 
void preInit ()
 set attributes before the app is created More...
 

Static Protected Member Functions

static mQtclass (QApplication *) app_
 
static mQtclass (QtTabletEventFilter *) tabletfilter_
 

Protected Attributes

uiMainWinmainobj_
 

Static Protected Attributes

static uiMainthemain_
 
static const uiFontfont_
 
static KeyboardEventHandlerkeyhandler_
 
static KeyboardEventFilter * keyfilter_
 

Private Member Functions

 uiMain (mQtclass(QApplication *))
 
void init (mQtclass(QApplication *), int &argc, char **argv)
 

Detailed Description

Constructor & Destructor Documentation

uiMain::uiMain ( int &  argc,
char **  argv 
)
uiMain::uiMain ( mQtclass(QApplication *)  )
private
virtual uiMain::~uiMain ( )
virtual

Member Function Documentation

static void uiMain::cleanQtOSEnv ( )
static
uiSize uiMain::desktopSize ( ) const
Returns
mUdf(int) if unknown
virtual int uiMain::exec ( )
virtual
void uiMain::exit ( int  retcode = 0)
static void uiMain::flushX ( )
static
const uiFont* uiMain::font ( )
static void uiMain::formatNameToolTipString ( BufferString )
static
void uiMain::getCmdLineArgs ( BufferStringSet ) const
static int uiMain::getDPI ( )
static
uiSize uiMain::getScreenSize ( int  screennr,
bool  availablesz 
) const
void uiMain::init ( mQtclass(QApplication *)  ,
int &  argc,
char **  argv 
)
private
virtual void uiMain::init ( mQtclass(QWidget *)  mainwidget)
inlineprotectedvirtual

necessary for uicMain coin inialisation

static bool uiMain::isNameToolTipUsed ( )
static
static KeyboardEventHandler& uiMain::keyboardEventHandler ( )
static
static uiMain::mQtclass ( QApplication *  )
staticprotected
static uiMain::mQtclass ( QtTabletEventFilter *  )
staticprotected
int uiMain::nrScreens ( ) const
void uiMain::preInit ( )
protected

set attributes before the app is created

static void uiMain::processEvents ( int  msec = 3000)
static

Processes pending events for maxtime milliseconds or until there are no more events to process, whichever is shorter. Only works after themain has been constructed.

void uiMain::setFont ( const uiFont ,
bool  passtochildren 
)
static void uiMain::setIcon ( const char *  icid)
static
void uiMain::setTopLevel ( uiMainWin )
static void uiMain::setXpmIconData ( const char **  xpmdata)
static
static uiMain& uiMain::theMain ( )
static
void* uiMain::thread ( )
uiMainWin* uiMain::topLevel ( )
inline
static void uiMain::useNameToolTip ( bool  )
static
Color uiMain::windowColor ( ) const

Member Data Documentation

const uiFont* uiMain::font_
staticprotected
KeyboardEventFilter* uiMain::keyfilter_
staticprotected
KeyboardEventHandler* uiMain::keyhandler_
staticprotected
uiMainWin* uiMain::mainobj_
protected
uiMain* uiMain::themain_
staticprotected
const char** uiMain::XpmIconData
static

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