Changeset 523


Ignore:
Timestamp:
Jun 21, 2007, 5:42:52 PM (17 years ago)
Author:
garnier
Message:

r649@mac-90108: laurentgarnier | 2007-06-21 15:31:45 +0200
quelques ameliorations

File:
1 edited

Legend:

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

    r522 r523  
    102102  fMainWindow->setWindowTitle( "G4UI Session" );
    103103  fMainWindow->resize(800,600);
    104   fMainWindow->move(QPoint(300,100));
     104  fMainWindow->move(QPoint(200,100));
    105105
    106106  QSplitter *splitter = new QSplitter(Qt::Vertical);
     
    112112  fCommandHistoryArea->setSelectionMode(QAbstractItemView::SingleSelection);
    113113  connect(fCommandHistoryArea, SIGNAL(itemSelectionChanged()), SLOT(commandHistoryCallback()));
     114  fCommandHistoryArea->installEventFilter(this);
    114115  fCommandLabel = new QLabel();
    115116
     
    597598/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
    598599{
     600  if (obj == fCommandHistoryArea) {
     601    if (event->type() == QEvent::KeyPress) {
     602      fCommandArea->setFocus();
     603    }
     604  }
    599605  if (obj == fCommandArea) {
    600606    if (event->type() == QEvent::KeyPress) {
Note: See TracChangeset for help on using the changeset viewer.