Ignore:
Timestamp:
Sep 10, 2008, 5:40:37 PM (16 years ago)
Author:
garnier
Message:

geant4.8.2 beta

Location:
trunk/source/interfaces/common/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/common/src/G4Qt.cc

    r836 r850  
    2626//
    2727// $Id: G4Qt.cc,v 1.7 2007/11/15 18:24:28 lgarnier Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// L. Garnier
    31 
    32 #define GEANT4_QT_DEBUG
    3331
    3432#if defined(G4INTY_BUILD_QT) || defined(G4INTY_USE_QT)
     
    9593  if(QtInited==FALSE) {  //Qt should be Inited once !
    9694#ifdef GEANT4_QT_DEBUG
     95    printf("G4Qt::G4Qt inited Qt\n");
     96#endif
     97#if QT_VERSION < 0x040000
     98    qApp = new QApplication (a_argn, a_args);
     99    //    QApplication qApp(a_argn, a_args);
     100    //    if(&qApp == NULL) {
     101#else
     102    new QApplication (a_argn, a_args);
    97103#endif
    98104    if(!qApp) {
    99 #if QT_VERSION < 0x040000
    100       qApp = new QApplication (a_argn, a_args);
    101       //    QApplication qApp(a_argn, a_args);
    102       //    if(&qApp == NULL) {
    103 #else
    104       new QApplication (a_argn, a_args);
    105 #endif
    106     }
    107     if(!qApp) {
     105
    108106      G4cout        << "G4Qt : Unable to init Qt." << G4endl;
    109107    } else {
    110108      QtInited  = TRUE;
     109      //#if QT_VERSION < 0x040000
     110      //      SetMainInteractor (&qApp);
     111      //#else
    111112      SetMainInteractor (qApp);
     113      //#endif
    112114      SetArguments      (a_argn,a_args);
    113115#ifdef GEANT4_QT_DEBUG
     
    144146}
    145147/***************************************************************************/
    146 // Should do nothing in Qt
     148/**
     149  Si j'ai bien compris, cette fonction ne sert à rien
     150 */
    147151void* G4Qt::GetEvent (
    148152)
     
    150154/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
    151155{
     156//FIXME
     157//   G4cout        << "G4Qt : Rien compris a cette fonction G4Qt::GetEvent." << G4endl;
     158//  static XEvent  event;
     159//  if(appContext==NULL) return NULL;
     160//  if(mainApp==NULL) return NULL;
     161//  QtAppNextEvent (appContext, &event);
     162//  return         &event;
     163  printf("*");
    152164  return 0;
    153165}
     
    158170/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
    159171{
     172  //  printf("G4Qt::FlushAndWaitExecution ::  Flush ....\n");
    160173  if(!qApp) return;
    161174  qApp->processEvents();
  • trunk/source/interfaces/common/src/G4VBasicShell.cc

    r631 r850  
    2626//
    2727// $Id: G4VBasicShell.cc,v 1.12 2006/06/29 19:10:20 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030
  • trunk/source/interfaces/common/src/G4VInteractorManager.cc

    r631 r850  
    2626//
    2727// $Id: G4VInteractorManager.cc,v 1.13 2006/06/29 19:10:24 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// G.Barrand
  • trunk/source/interfaces/common/src/G4Win32.cc

    r631 r850  
    2626//
    2727// $Id: G4Win32.cc,v 1.9 2006/06/29 19:10:26 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// G.Barrand
  • trunk/source/interfaces/common/src/G4Xt.cc

    r631 r850  
    2626//
    2727// $Id: G4Xt.cc,v 1.11 2006/06/29 19:10:28 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// G.Barrand
Note: See TracChangeset for help on using the changeset viewer.