Changeset 1263 for trunk/source/interfaces/basic/src/G4UIQt.cc
- Timestamp:
- May 26, 2010, 3:10:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/src/G4UIQt.cc
r1262 r1263 572 572 #endif 573 573 574 #endif575 576 574 fMainWindow->resize(fMainWindow->width()+sizeX-fTabWidget->width(),fMainWindow->height()+sizeY-fTabWidget->height()); 577 575 … … 652 650 fTabWidget->setTabSelected(); 653 651 652 #if QT_VERSION < 0x040000 653 QApplication::sendPostedEvents () ; 654 #else 654 655 QCoreApplication::sendPostedEvents () ; 656 #endif 655 657 656 658 #ifdef G4DEBUG_INTERFACES_BASIC … … 699 701 #endif 700 702 703 #if QT_VERSION < 0x040000 704 QApplication::sendPostedEvents () ; 705 #else 701 706 QCoreApplication::sendPostedEvents () ; 707 #endif 702 708 703 709 #ifdef G4DEBUG_INTERFACES_BASIC … … 2058 2064 if ( isTabSelected()) { 2059 2065 2060 QCoreApplication::sendPostedEvents () ; 2066 #if QT_VERSION < 0x040000 2067 QApplication::sendPostedEvents () ; 2068 #else 2069 QCoreApplication::sendPostedEvents () ; 2070 #endif 2071 2061 2072 #ifdef G4DEBUG_INTERFACES_BASIC 2062 2073 printf("G4QTabWidget::paintEvent OK\n");
Note: See TracChangeset
for help on using the changeset viewer.