|
static QApplication * | app () |
| Return the program's [unique] QApplication object, creating it if it doesn't yet exist. More...
|
|
static QApplication * | init () |
| Another name for app() that may be clearer during initialization.... More...
|
|
static casacore::Int | exec () |
| Enter the QApp's event loop. More...
|
|
static void | exit (casacore::Int returnCode=0) |
| Exit the QApp's event loop. More...
|
|
static void | destroy () |
| Call when completely finished with Qt, if you're a stickler for cleanup. More...
|
|
static casacore::Bool | exists () |
| If true, a full-fledged QApplication has been created (though it may not necessarily be executing its event loop). More...
|
|
static casacore::Bool | isInLoop () |
| Is the QApp executing its event loop? (In many cases, caller probably ought to know this already...). More...
|
|
Management of the QApp object needed by any Qt application.
Synopsis
This adds just a little to QApplication's [static] services. (Actually, I wish all this were there instead – it could be...). Casa applications which use Qt can just call QtApp::app() to retrieve 'the' (unique) QApplication object for the program; that routine will create it if it doesn't yet exist. It is recommended that all access by casa to the QApplication object go through this routine, to assure only one is created.
Definition at line 57 of file QtApp.h.