- Timestamp:
- Jan 11, 2008, 3:44:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r673 r678 103 103 QMenu *fContextMenu; 104 104 #endif 105 bool fMouseAction; // 1: rotate 0:move 105 enum mouseActions {ROTATE, MOVE, ZOOM}; 106 mouseActions fMouseAction; // 1: rotate 0:move 106 107 QPoint lastPos; 107 108 #if QT_VERSION < 0x040000 109 QPopupMenu *fMouseRotate; 110 QPopupMenu *fMouseMove; 111 QPopupMenu *fMouseZoom; 108 112 QPopupMenu *fDrawingWireframe; 109 113 QPopupMenu *fDrawingLineRemoval; … … 111 115 QPopupMenu *fDrawingLineSurfaceRemoval; 112 116 #else 117 QAction *fMouseRotate; 118 QAction *fMouseMove; 119 QAction *fMouseZoom; 113 120 QAction *fDrawingWireframe; 114 121 QAction *fDrawingLineRemoval; … … 118 125 119 126 private slots : 127 void actionMouseRotate(); 128 void actionMouseMove(); 129 void actionMouseZoom(); 120 130 void actionDrawingWireframe(); 121 131 void actionDrawingLineRemoval(); … … 127 137 128 138 void toggleDrawingAction(int); 129 void toggleMouseAction( bool);139 void toggleMouseAction(mouseActions); 130 140 void toggleRepresentation(bool); 131 141 void toggleBackground(bool);
Note: See TracChangeset
for help on using the changeset viewer.