31 #if defined(G4INTY_BUILD_QT) || defined(G4INTY_USE_QT)
42 #include <qapplication.h>
50 G4Qt* G4Qt::getInstance (
55 return G4Qt::getInstance (0,NULL,(
char*)
"Geant4");
58 G4Qt* G4Qt::getInstance (
67 instance =
new G4Qt(a_argn,a_args,a_class);
88 SetMainInteractor (qApp);
89 SetArguments (a_argn,a_args);
109 args = (
char **)malloc( 1 *
sizeof(
char *) );
110 args[0] = (
char *)malloc(10 *
sizeof(
char));
111 strncpy(args[0],
"my_app \0", 9);
114 int *p_argn = (
int*)malloc(
sizeof(
int));
116 new QApplication (*p_argn, args);
127 SetMainInteractor (qApp);
129 SetArguments (a_argn,a_args);
149 setlocale (LC_NUMERIC,
"C");
170 void* G4Qt::GetEvent (
178 void G4Qt::FlushAndWaitExecution (
184 qApp->processEvents();
188 bool G4Qt::IsExternalApp (
static G4UImanager * GetUIpointer()
static MCTruthManager * instance
G4int GetVerboseLevel() const
G4GLOB_DLL std::ostream G4cout