Changeset 1183 for trunk/source


Ignore:
Timestamp:
Nov 18, 2009, 11:21:11 AM (15 years ago)
Author:
garnier
Message:

f

File:
1 edited

Legend:

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

    r1182 r1183  
    12251225        // do not pass by parent, it will disable widget tab focus !
    12261226        return true;
    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
     1227#if QT_VERSION >= 0x040000
     1228            } else if (((e->modifiers () == Qt::ControlModifier) || (e->modifiers () == Qt::MetaModifier)) && (e->key() == Qt::Key_A)) {
    12311229        fCommandArea->home(false);
    12321230        return true;
    1233       } else if (e->matches(QKeySequence::MoveToEndOfLine)) {
     1231            } else if (((e->modifiers () == Qt::ControlModifier) || (e->modifiers () == Qt::MetaModifier)) && (e->key() == Qt::Key_E)) {
    12341232        fCommandArea->end(false);
    12351233        return true;
Note: See TracChangeset for help on using the changeset viewer.