Ignore:
Timestamp:
Jul 5, 2007, 5:54:42 PM (17 years ago)
Author:
garnier
Message:

r680@mac-90108: laurentgarnier | 2007-07-03 18:08:15 +0200
ajout de la completion sur G4UIQT

File:
1 edited

Legend:

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

    r528 r538  
    704704          fCommandHistoryArea->setCurrentItem(fCommandHistoryArea->item(selection));
    705705        }
     706      } else if (e->key() == (Qt::Key_Tab)) {
     707        G4String ss = Complete(fCommandArea->text().toStdString().c_str());
     708        fCommandArea->setText((char*)(ss.data()));
     709
     710        // do not pass by parent, it will disable widget tab focus !
     711        return true;
    706712      }
    707713    }
Note: See TracChangeset for help on using the changeset viewer.