Changeset 873 for trunk/source/visualization/OpenGL/include
- Timestamp:
- Oct 30, 2008, 5:47:35 PM (16 years ago)
- Location:
- trunk/source/visualization/OpenGL/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/include/G4OpenGLImmediateQtViewer.hh
r850 r873 62 62 void updateQWidget(); 63 63 64 private : 65 int readyToPaint; 66 int nbPaint; 64 protected: 65 void wheelEvent(QWheelEvent *event); 66 void mousePressEvent(QMouseEvent *event); 67 void mouseMoveEvent(QMouseEvent *event); 68 void mouseDoubleClickEvent(QMouseEvent *event); 69 void mouseReleaseEvent(QMouseEvent *event); 70 void contextMenuEvent(QContextMenuEvent *e); 71 void keyPressEvent (QKeyEvent * event); 67 72 }; 68 73 -
trunk/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r866 r873 106 106 void CreateGLQtContext (); 107 107 virtual void CreateMainWindow (QGLWidget*,QString); 108 void manageContextMenuEvent(QContextMenuEvent *e); 109 #if QT_VERSION < 0x040000 110 void G4MousePressEvent(QPoint); 111 #else 112 void G4MousePressEvent(QPoint); 113 #endif 108 void G4resizeGL(int, int); 109 void G4manageContextMenuEvent(QContextMenuEvent *e); 110 void G4MousePressEvent(QMouseEvent *event); 114 111 void G4MouseReleaseEvent(); 115 void G4MouseDoubleClickEvent(QPoint p); 116 #if QT_VERSION < 0x040000 117 void G4MouseMoveEvent(int, int, Qt::ButtonState); 118 #else 119 void G4MouseMoveEvent(int, int, Qt::MouseButtons); 120 #endif 112 void G4MouseDoubleClickEvent(); 113 void G4MouseMoveEvent(QMouseEvent *event); 121 114 void G4wheelEvent (QWheelEvent * event); 122 115 void G4keyPressEvent (QKeyEvent * event); … … 124 117 void rotateQtCamera(float, float); 125 118 void moveScene(float, float, float,bool); 119 void FinishView(); 126 120 127 121 … … 140 134 float fDeltaRotationAngleY; 141 135 float fDeltaRotationAngleZ; 136 137 bool hasToRepaint; 138 bool readyToPaint; 139 bool zoomAction; 140 QPoint beginZoom; 141 QPoint endZoom; 142 142 143 143 private: -
trunk/source/visualization/OpenGL/include/G4OpenGLStoredQtViewer.hh
r850 r873 59 59 void initializeGL (); 60 60 void DrawView (); 61 void FinishView ();62 61 void resizeGL(int width,int height); 63 62 void paintGL(); … … 73 72 void keyPressEvent (QKeyEvent * event); 74 73 75 private :76 bool hasToRepaint;77 bool readyToPaint;78 bool zoomAction;79 int nbPaint;80 QPoint beginZoom;81 QPoint endZoom;82 74 // QImage glBufferImage; 83 75 };
Note: See TracChangeset
for help on using the changeset viewer.