Changeset 1264 for trunk/source/interfaces/basic/src
- Timestamp:
- May 26, 2010, 3:19:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/src/G4UIQt.cc
r1263 r1264 546 546 547 547 // Remove QLabel 548 #if QT_VERSION < 0x040000 549 // L.Garnier 26/05/2010 : not exactly the same in qt 4. Could cause some548 549 // L.Garnier 26/05/2010 : not exactly the same in qt3. Could cause some 550 550 // troubles 551 if ( fMyVSplitter->idAfter(fEmptyViewerTabLabel) != -1) { 552 #else 551 #if QT_VERSION >= 0x040000 553 552 if ( fMyVSplitter->indexOf(fEmptyViewerTabLabel) != -1) { 554 553 #endif 554 555 555 #if QT_VERSION < 0x040000 556 556 fEmptyViewerTabLabel->reparent(0,0,QPoint(0,0)); 557 fMyVSplitter->addWidget(fTabWidget); 557 558 #else 558 559 fEmptyViewerTabLabel->setParent(0); 559 560 fMyVSplitter->addWidget(fTabWidget); 560 561 #endif 562 561 563 #if QT_VERSION < 0x040000 562 564 aWidget->reparent(fTabWidget,0,QPoint(0,0)); … … 564 566 aWidget->setParent(fTabWidget); 565 567 #endif 566 } 567 568 #if QT_VERSION >= 0x040000 569 } 570 #endif 568 571 569 572
Note: See TracChangeset
for help on using the changeset viewer.