Changeset 624 for trunk/geant4/interfaces
- Timestamp:
- Nov 29, 2007, 5:13:27 PM (17 years ago)
- Location:
- trunk/geant4/interfaces/basic/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/src/G4UIQt.cc
r620 r624 237 237 #endif 238 238 fMainWindow->setCentralWidget(splitter); 239 ((QApplication*)interactorManager->GetMainInteractor())->setMainWidget(fMainWindow); 239 240 240 241 #if QT_VERSION < 0x040000 … … 448 449 fTextArea->verticalScrollBar()->setSliderPosition(fTextArea->verticalScrollBar()->maximum()); 449 450 #endif 451 // Slow down everything : disababled 450 452 interactorManager->FlushAndWaitExecution(); 451 453 return 0; … … 543 545 QAction *action = new QAction(QString(aLabel),QKeySequence::QKeySequence (),signalMapper, SLOT(map())); 544 546 action->addTo(parent); 545 connect(action,SIGNAL( clicked()),signalMapper,SLOT(map()));547 connect(action,SIGNAL(activated()),signalMapper,SLOT(map())); 546 548 547 549 #else … … 570 572 if (!fHelpDialog) { 571 573 #if QT_VERSION < 0x040000 572 fHelpDialog = new QDialog( fMainWindow,0,FALSE,Qt::WStyle_Title | Qt::WStyle_SysMenu | Qt::WStyle_MinMax );574 fHelpDialog = new QDialog(0,0,FALSE,Qt::WStyle_Title | Qt::WStyle_SysMenu | Qt::WStyle_MinMax ); 573 575 QVBoxLayout *vLayout = new QVBoxLayout(fHelpDialog); 574 576 QSplitter *splitter = new QSplitter(Qt::Horizontal,fHelpDialog); -
trunk/geant4/interfaces/basic/src/G4UIQt_moc.cc
r619 r624 15 15 #include <qapplication.h> 16 16 17 #if defined(Q_MOC_OUTPUT_REVISION) && (Q_MOC_OUTPUT_REVISION = 26)17 #if defined(Q_MOC_OUTPUT_REVISION) && (Q_MOC_OUTPUT_REVISION == 26) 18 18 19 19 #include <private/qucomextra_p.h> … … 159 159 160 160 161 #if defined(Q_MOC_OUTPUT_REVISION) && (Q_MOC_OUTPUT_REVISION = 58)161 #if defined(Q_MOC_OUTPUT_REVISION) && (Q_MOC_OUTPUT_REVISION == 58) 162 162 163 163 /**************************************************************************** … … 262 262 #else 263 263 264 #if defined(Q_MOC_OUTPUT_REVISION) && (Q_MOC_OUTPUT_REVISION = 59)264 #if defined(Q_MOC_OUTPUT_REVISION) && (Q_MOC_OUTPUT_REVISION == 59) 265 265 266 266 /****************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.