29#ifdef G4VIS_BUILD_OIQT_DRIVER
40#include <Inventor/Qt/SoQt.h>
44#include <qapplication.h>
47#include "moc_G4SoQt.cpp"
50G4SoQt* G4SoQt::instance = NULL;
55G4SoQt* G4SoQt::getInstance()
58 instance =
new G4SoQt();
86 if (qApp) externalApp =
true;
88 QWidget* mainWin = SoQt::init(
"Geant4");
104 SetMainInteractor(mainWin);
126void* G4SoQt::GetEvent()
133void G4SoQt::FlushAndWaitExecution()
144void G4SoQt::SecondaryLoop()
147 if (externalApp)
return;
153 "ENTERING OIQT VIEWER SECONDARY LOOP... PRESS E KEY TO EXIT" <<
G4endl;
158void G4SoQt::ExitSecondaryLoop()
164 if (externalApp)
return;
165 SoQt::exitMainLoop();
168bool G4SoQt::IsExternalApp()
G4GLOB_DLL std::ostream G4cout