Changeset 1263 for trunk


Ignore:
Timestamp:
May 26, 2010, 3:10:35 PM (14 years ago)
Author:
garnier
Message:

test qt3

File:
1 edited

Legend:

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

    r1262 r1263  
    572572#endif
    573573 
    574 #endif
    575 
    576574  fMainWindow->resize(fMainWindow->width()+sizeX-fTabWidget->width(),fMainWindow->height()+sizeY-fTabWidget->height());
    577575
     
    652650  fTabWidget->setTabSelected();
    653651
     652#if QT_VERSION < 0x040000
     653  QApplication::sendPostedEvents () ;
     654#else
    654655  QCoreApplication::sendPostedEvents () ;
     656#endif
    655657
    656658#ifdef G4DEBUG_INTERFACES_BASIC
     
    699701#endif
    700702
     703#if QT_VERSION < 0x040000
     704  QApplication::sendPostedEvents () ;
     705#else
    701706  QCoreApplication::sendPostedEvents () ;
     707#endif
    702708
    703709#ifdef G4DEBUG_INTERFACES_BASIC
     
    20582064    if ( isTabSelected()) {
    20592065
    2060       QCoreApplication::sendPostedEvents () ;
     2066#if QT_VERSION < 0x040000
     2067  QApplication::sendPostedEvents () ;
     2068#else
     2069  QCoreApplication::sendPostedEvents () ;
     2070#endif
     2071
    20612072#ifdef G4DEBUG_INTERFACES_BASIC
    20622073      printf("G4QTabWidget::paintEvent OK\n");
Note: See TracChangeset for help on using the changeset viewer.