Changeset 523 for trunk/geant4/interfaces
- Timestamp:
- Jun 21, 2007, 5:42:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/interfaces/basic/src/G4UIQt.cc
r522 r523 102 102 fMainWindow->setWindowTitle( "G4UI Session" ); 103 103 fMainWindow->resize(800,600); 104 fMainWindow->move(QPoint( 300,100));104 fMainWindow->move(QPoint(200,100)); 105 105 106 106 QSplitter *splitter = new QSplitter(Qt::Vertical); … … 112 112 fCommandHistoryArea->setSelectionMode(QAbstractItemView::SingleSelection); 113 113 connect(fCommandHistoryArea, SIGNAL(itemSelectionChanged()), SLOT(commandHistoryCallback())); 114 fCommandHistoryArea->installEventFilter(this); 114 115 fCommandLabel = new QLabel(); 115 116 … … 597 598 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 598 599 { 600 if (obj == fCommandHistoryArea) { 601 if (event->type() == QEvent::KeyPress) { 602 fCommandArea->setFocus(); 603 } 604 } 599 605 if (obj == fCommandArea) { 600 606 if (event->type() == QEvent::KeyPress) {
Note: See TracChangeset
for help on using the changeset viewer.