OpendTect-6_4
6.4
|
Public Member Functions | |
ApplicationData () | |
~ApplicationData () | |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
static int | exec () |
Starts the event loop. More... | |
static void | exit (int returncode) |
Tells the eventloop to quit. More... | |
static bool | isCommandAndCTRLSwapped () |
On Mac, is Ctrl and Command buttons swapped? More... | |
static void | swapCommandAndCTRL (bool) |
static void | setOrganizationName (const char *) |
static void | setOrganizationDomain (const char *) |
static void | setApplicationName (const char *) |
Protected Attributes | |
::QCoreApplication * | application_ |
Additional Inherited Members | |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Wrapper class around the QCoreApplicaiton, which provides an event-loop for console applications. It can also be used in GUI program as an access-point (adding events and telling it to quit) to QApplication (which has to be created before creating the ApplicationData.
ApplicationData::ApplicationData | ( | ) |
Will create a QCoreApplication if no QCoreApplication (or inheriting classes are instantiated.)
ApplicationData::~ApplicationData | ( | ) |
|
static |
Starts the event loop.
|
static |
Tells the eventloop to quit.
|
static |
On Mac, is Ctrl and Command buttons swapped?
|
static |
|
static |
|
static |
|
static |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019