Changeset 1182 for trunk


Ignore:
Timestamp:
Nov 18, 2009, 10:28:55 AM (15 years ago)
Author:
garnier
Message:

f

File:
1 edited

Legend:

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

    r1177 r1182  
    12251225        // do not pass by parent, it will disable widget tab focus !
    12261226        return true;
    1227 #if QT_VERSION >= 0x040000
    1228             } else if ((e->modifiers () == Qt::MetaModifier) && (e->key() == Qt::Key_A)) {
     1227#if QT_VERSION >= 0x040200 
     1228      } else if (e->matches(QKeySequence::MoveToStartOfLine)) {
     1229              // FIXE : Select text under Ubuntu
     1230              // FIXME: ne marche pas ous windows
    12291231        fCommandArea->home(false);
    12301232        return true;
    1231       } else if ((e->modifiers () == Qt::MetaModifier) && (e->key() == Qt::Key_E)) {
     1233      } else if (e->matches(QKeySequence::MoveToEndOfLine)) {
    12321234        fCommandArea->end(false);
    12331235        return true;
Note: See TracChangeset for help on using the changeset viewer.