Ignore:
Timestamp:
Feb 11, 2008, 3:07:12 PM (16 years ago)
Author:
garnier
Message:

mise a jour des shortcuts qui ne se displaient pas comme il faut. Ajout d un shortcut pour accelerer/relantir les mvt automatiques

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh

    r720 r721  
    115115  mouseActions fMouseAction; // 1: rotate 2:move 3:pick 4:shortcuts
    116116  QPoint fLastPos;
    117   /** delta of move event */
    118   QPoint fDeltaPos;
     117  /** delta X of move event */
     118  G4double fDeltaPosX;
     119  /** delta Y of move event */
     120  G4double fDeltaPosY;
    119121  /** delta of scene rotation. This delta is put in degree */
    120122  G4double fDeltaRotation;
     
    125127  /** delta of zoom move. This delta is put in % of the scene view */
    126128  G4double fDeltaZoom;
     129  /** delta of auto move/rotation. This delta is put in % of the move/rotation param */
     130  G4double fDeltaMove;
    127131  /** To ensure key event are keep one by one */
    128   bool holdKeyEvent;
     132  bool fHoldKeyEvent;
    129133  bool fAutoMove;
    130134  QAction *fRotateAction;
    131135  QAction *fMoveAction;
    132136  QAction *fPickAction;
    133   QAction *fShortcutsAction;
    134137  QAction *fFullScreenOn;
    135138  QAction *fFullScreenOff;
     
    143146  void actionMouseMove();
    144147  void actionMousePick();
    145   void actionMouseShortcuts();
    146148  void actionDrawingWireframe();
    147149  void actionDrawingLineRemoval();
     
    150152  void actionCreateEPS();
    151153
     154  void showShortcuts();
    152155  void toggleDrawingAction(int);
    153156  void toggleMouseAction(mouseActions);
Note: See TracChangeset for help on using the changeset viewer.