Changeset 874 for trunk/source/interfaces/basic/src
- Timestamp:
- Oct 30, 2008, 5:48:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/src/G4UIQt.cc
r867 r874 25 25 // 26 26 // 27 // $Id: G4UIQt.cc,v 1.2 0 2008/10/15 09:09:47lgarnier Exp $27 // $Id: G4UIQt.cc,v 1.21 2008/10/24 13:23:22 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // L. Garnier 31 32 //#define GEANT4_QT_DEBUG33 31 34 32 #ifdef G4UI_BUILD_QT_SESSION … … 102 100 */ 103 101 G4UIQt::G4UIQt ( 104 int *argc102 int argc 105 103 ,char** argv 106 104 ) … … 140 138 fMainWindow = new QMainWindow(); 141 139 142 #ifdef G EANT4_QT_DEBUG140 #ifdef G4DEBUG 143 141 printf("G4UIQt::Initialise after main window creation\n"); 144 142 #endif … … 201 199 #endif 202 200 fTextArea->setReadOnly(true); 203 204 205 #ifdef GEANT4_QT_DEBUG206 printf("G4UIQt:: 2\n");207 #endif208 209 210 201 211 202 layoutTop->addWidget(fTextArea); … … 306 297 307 298 308 #ifdef GEANT4_QT_DEBUG309 printf("disable secondary loop\n");310 #endif311 299 interactorManager->DisableSecondaryLoop (); // TO KEEP 312 300 if ((QApplication*)interactorManager->GetMainInteractor()) … … 323 311 324 312 interactorManager->EnableSecondaryLoop (); 325 #ifdef GEANT4_QT_DEBUG326 printf("enable secondary loop\n");327 #endif328 313 return this; 329 314 } … … 369 354 if (!aState) return; 370 355 371 #ifdef GEANT4_QT_DEBUG372 printf("G4UIQt::PauseSessionStart\n");373 #endif374 356 if(aState=="G4_pause> ") { // TO KEEP 375 357 SecondaryLoop ("Pause, type continue to exit this state"); // TO KEEP … … 394 376 if (!aPrompt) return; 395 377 396 #ifdef GEANT4_QT_DEBUG397 printf("G4UIQt::SecondaryLoop\n");398 #endif399 378 G4Qt* interactorManager = G4Qt::getInstance (); // TO KEEP ? 400 379 Prompt(aPrompt); // TO KEEP … … 1005 984 ) 1006 985 { 1007 #ifdef G EANT4_QT_DEBUG986 #ifdef G4DEBUG 1008 987 printf("G4UIQt::GetHelpChoice SHOULD NEVER GO HERE"); 1009 988 #endif … … 1017 996 ) 1018 997 { 1019 #ifdef G EANT4_QT_DEBUG998 #ifdef G4DEBUG 1020 999 printf("G4UIQt::ExitHelp SHOULD NEVER GO HERE"); 1021 1000 #endif … … 1615 1594 commandResultMap.insert(tmp*multFactor+doubleKeyAdd,QString((char*)(aCommandTree->GetCommand(a+1)->GetCommandPath()).data())); 1616 1595 #endif 1617 #ifdef GEANT4_QT_DEBUG1618 #endif1619 1596 } 1620 1597
Note: See TracChangeset
for help on using the changeset viewer.