30#if defined(G4INTY_BUILD_QT) || defined(G4INTY_USE_QT)
41#include <qapplication.h>
44G4Qt* G4Qt::instance = NULL;
49G4Qt* G4Qt::getInstance (
54 return G4Qt::getInstance (0,NULL,(
char*)
"Geant4");
57G4Qt* G4Qt::getInstance (
66 instance =
new G4Qt(a_argn,a_args,a_class);
87 SetMainInteractor (qApp);
88 SetArguments (a_argn,a_args);
108 args = (
char **)malloc( 1 *
sizeof(
char *) );
109 args[0] = (
char *)malloc(10 *
sizeof(
char));
110 strncpy(args[0],
"my_app \0", 9);
113 int *p_argn = (
int*)malloc(
sizeof(
int));
116 qApp->setAttribute( Qt::AA_UseDesktopOpenGL );
118 new QApplication (*p_argn, args);
129 SetMainInteractor (qApp);
131 SetArguments (a_argn,a_args);
151 setlocale (LC_NUMERIC,
"C");
172void* G4Qt::GetEvent (
180void G4Qt::FlushAndWaitExecution (
186 qApp->processEvents();
190bool G4Qt::IsExternalApp (
G4GLOB_DLL std::ostream G4cout
G4int GetVerboseLevel() const
static G4UImanager * GetUIpointer()