Changeset 836 for trunk/source/interfaces/basic/src
- Timestamp:
- Jun 11, 2008, 2:29:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/src/G4UIQt.cc
r793 r836 25 25 // 26 26 // 27 // $Id: G4UIQt.cc,v 1.1 6 2008/03/10 17:03:16lgarnier Exp $27 // $Id: G4UIQt.cc,v 1.17 2008/05/05 13:24:00 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // L. Garnier 31 31 32 //define GEANT4_QT_DEBUG32 #define GEANT4_QT_DEBUG 33 33 34 34 #ifdef G4UI_BUILD_QT_SESSION … … 285 285 #endif 286 286 interactorManager->DisableSecondaryLoop (); // TO KEEP 287 288 // launch app 287 289 if ((QApplication*)interactorManager->GetMainInteractor()) 288 290 ((QApplication*)interactorManager->GetMainInteractor())->exec(); 289 290 // on ne passe pas le dessous ? FIXME ???? 291 // je ne pense pas 13/06 292 293 // void* event; // TO KEEP 294 // while((event = interactorManager->GetEvent())!=NULL) { // TO KEEP 295 // interactorManager->DispatchEvent(event); // TO KEEP 296 // if(exitSession==true) break; // TO KEEP 297 // } // TO KEEP 298 291 292 293 void* event; 294 while((event = interactorManager->GetEvent())!=NULL) { 295 interactorManager->DispatchEvent(event); 296 if(exitSession==true) break; 297 } 298 299 299 interactorManager->EnableSecondaryLoop (); 300 300 #ifdef GEANT4_QT_DEBUG … … 307 307 /** Display the prompt in the prompt area 308 308 @param aPrompt : string to display as the promt label 309 //FIXME : probablement inutile puisque le seul a afficher qq chose d'autre310 que "session" est SecondaryLoop()311 309 */ 312 310 void G4UIQt::Prompt (
Note: See TracChangeset
for help on using the changeset viewer.