Ignore:
Timestamp:
Jun 11, 2008, 2:29:46 PM (16 years ago)
Author:
garnier
Message:

import all except CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/basic/src/G4UIQt.cc

    r793 r836  
    2525//
    2626//
    27 // $Id: G4UIQt.cc,v 1.16 2008/03/10 17:03:16 lgarnier Exp $
     27// $Id: G4UIQt.cc,v 1.17 2008/05/05 13:24:00 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
    3030// L. Garnier
    3131
    32 //define GEANT4_QT_DEBUG
     32#define GEANT4_QT_DEBUG
    3333
    3434#ifdef G4UI_BUILD_QT_SESSION
     
    285285#endif
    286286  interactorManager->DisableSecondaryLoop (); // TO KEEP
     287
     288  // launch app
    287289  if ((QApplication*)interactorManager->GetMainInteractor())
    288290    ((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 
    299299  interactorManager->EnableSecondaryLoop ();
    300300#ifdef GEANT4_QT_DEBUG
     
    307307/**   Display the prompt in the prompt area
    308308   @param aPrompt : string to display as the promt label
    309    //FIXME : probablement inutile puisque le seul a afficher qq chose d'autre
    310    que "session" est SecondaryLoop()
    311309*/
    312310void G4UIQt::Prompt (
Note: See TracChangeset for help on using the changeset viewer.