Ignore:
Timestamp:
Dec 3, 2007, 6:16:19 PM (17 years ago)
Author:
garnier
Message:

debut de correction du ticket #98

File:
1 edited

Legend:

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

    r632 r633  
    3030// L. Garnier
    3131
    32 //#define DEBUG
     32//#define GEANT4_QT_DEBUG
    3333
    3434#ifdef G4UI_BUILD_QT_SESSION
     
    547547    fHelpDialog = new QDialog(0,0,FALSE,Qt::WStyle_Title | Qt::WStyle_SysMenu | Qt::WStyle_MinMax );
    548548    QVBoxLayout *vLayout = new QVBoxLayout(fHelpDialog);
    549     QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpDialog);
    550549#else
    551550    QVBoxLayout *vLayout = new QVBoxLayout();
    552551    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);
    555554    QPushButton *exitButton = new QPushButton("Exit",fHelpDialog);
    556555    connect(exitButton, SIGNAL(clicked()), fHelpDialog,SLOT(close()));
     
    582581#endif
    583582
    584 #if QT_VERSION < 0x040000
    585583    fHelpArea = new QTextEdit(splitter);
    586 #else
    587     fHelpArea = new QTextEdit();
    588 #endif
    589584    fHelpArea->setReadOnly(true);
    590585
     
    12551250#else
    12561251QTreeWidgetItem* item
    1257 ,int
    12581252#endif
    12591253)
Note: See TracChangeset for help on using the changeset viewer.