Changeset 633 for trunk/geant4/interfaces/basic/src/G4UIQt.cc
- Timestamp:
- Dec 3, 2007, 6:16:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/src/G4UIQt.cc
r632 r633 30 30 // L. Garnier 31 31 32 //#define DEBUG32 //#define GEANT4_QT_DEBUG 33 33 34 34 #ifdef G4UI_BUILD_QT_SESSION … … 547 547 fHelpDialog = new QDialog(0,0,FALSE,Qt::WStyle_Title | Qt::WStyle_SysMenu | Qt::WStyle_MinMax ); 548 548 QVBoxLayout *vLayout = new QVBoxLayout(fHelpDialog); 549 QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpDialog);550 549 #else 551 550 QVBoxLayout *vLayout = new QVBoxLayout(); 552 551 fHelpDialog = new QDialog(0,Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint); 553 QSplitter *splitter = new QSplitter(Qt::Horizontal); 554 #endif 552 #endif 553 QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpDialog); 555 554 QPushButton *exitButton = new QPushButton("Exit",fHelpDialog); 556 555 connect(exitButton, SIGNAL(clicked()), fHelpDialog,SLOT(close())); … … 582 581 #endif 583 582 584 #if QT_VERSION < 0x040000585 583 fHelpArea = new QTextEdit(splitter); 586 #else587 fHelpArea = new QTextEdit();588 #endif589 584 fHelpArea->setReadOnly(true); 590 585 … … 1255 1250 #else 1256 1251 QTreeWidgetItem* item 1257 ,int1258 1252 #endif 1259 1253 )
Note: See TracChangeset
for help on using the changeset viewer.