#include <G4Qt.hh>
Inheritance diagram for G4Qt:
Public Member Functions | |
G4bool | Inited () |
void * | GetEvent () |
void | FlushAndWaitExecution () |
virtual | ~G4Qt () |
Static Public Member Functions | |
G4Qt * | getInstance () |
G4Qt * | getInstance (int, char **, char *) |
Private Member Functions | |
G4Qt (int, char **, char *) | |
Static Private Attributes | |
G4Qt * | instance = NULL |
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Definition at line 101 of file G4Qt.cc. References instance.
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Definition at line 79 of file G4Qt.cc. References QtInited, G4VInteractorManager::SetArguments(), and G4VInteractorManager::SetMainInteractor(). Referenced by getInstance().
00086 { 00087 if(QtInited==FALSE) { //Qt should be Inited once ! 00088 00089 new QApplication (a_argn, a_args); 00090 00091 if(qApp==NULL) { 00092 G4cout << "G4Qt : Unable to init Qt." << G4endl; 00093 } 00094 QtInited = TRUE; 00095 SetMainInteractor (qApp); 00096 } 00097 SetArguments (a_argn,a_args); 00098 // AddDispatcher ((G4DispatchFunction)XtDispatchEvent); 00099 } |
Here is the call graph for this function:
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Implements G4VInteractorManager. Definition at line 137 of file G4Qt.cc.
00141 { 00142 //FIXME 00143 G4cout << "G4Qt : Rien compris a cette fonction G4Qt::FlushAndWaitExecution." << G4endl; 00144 // if(mainApp==NULL) return; 00145 // XSync(QtDisplay(mainApp),False); 00146 } |
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Implements G4VInteractorManager. Definition at line 122 of file G4Qt.cc. Referenced by G4UIQt::SecondaryLoop().
00126 { 00127 //FIXME 00128 // G4cout << "G4Qt : Rien compris a cette fonction G4Qt::GetEvent." << G4endl; 00129 // static XEvent event; 00130 // if(appContext==NULL) return NULL; 00131 // if(mainApp==NULL) return NULL; 00132 // QtAppNextEvent (appContext, &event); 00133 // return &event; 00134 printf("*"); 00135 } |
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Definition at line 65 of file G4Qt.cc. References G4Qt(), and instance.
|
Here is the call graph for this function:
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Definition at line 57 of file G4Qt.cc. Referenced by G4UIQt::G4UIQt(), G4UIQt::SecondaryLoop(), G4UIQt::SessionStart(), and G4UIQt::SessionTerminate().
00061 { 00062 return G4Qt::getInstance (0,NULL,(char*)"Geant4"); 00063 } |
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Implements G4VInteractorManager. Definition at line 111 of file G4Qt.cc. References QtInited.
00115 { 00116 return QtInited; 00117 } |
|
Definition at line 48 of file G4Qt.cc. Referenced by getInstance(), and ~G4Qt(). |