ROOT logo
ROOT » GRAF2D » QT » TQtApplication

class TQtApplication


TQtApplication -  Instantiate the Qt system within ROOT environment

Instantiate the Qt package by createing Qapplication object if any


Function Members (Methods)

public:
TQtApplication()
TQtApplication(const char* appClassName, int& argc, char** argv)
virtual~TQtApplication()
static TClass*Class()
static TQtApplication*GetQtApplication()
virtual TClass*IsA() const
static boolIsThisGuiThread()
static Int_tQtVersion()
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
static boolTerminate()
private:
TQtApplication(const TQtApplication&)
voidCreateGUIThread(int& argc, char** argv)
static voidCreateQApplication(int& argc, char** argv, bool GUIenabled)
voidoperator=(const TQtApplication&)

Data Members

protected:
static TQtApplication*fgQtApplication
private:
TQtApplicationThread*fGUIThread

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQtApplication(const char* appClassName, int& argc, char** argv)
~TQtApplication()
{ }
void CreateQApplication(int& argc, char** argv, bool GUIenabled)
  Initialize the Qt package
  Check the QT_BATCH environment variable to disactivate Qt GUI mode
void CreateGUIThread(int& argc, char** argv)
 Create GUI thread to Qt event loop
TQtApplication * GetQtApplication()
{return fgQtApplication;}
bool Terminate()
 Terminate GUI thread
Int_t QtVersion()
 The Qt version the package was compiled with
bool IsThisGuiThread()
 Check whether the current thread belongs the GUI
void operator=(const TQtApplication& )
TQtApplication(const TQtApplication& )
TQtApplication()