32 #if defined (G4VIS_BUILD_OPENGLQT_DRIVER) || defined (G4VIS_USE_OPENGLQT)
34 #ifndef G4OPENGLSTOREDQTVIEWER_HH
35 #define G4OPENGLSTOREDQTVIEWER_HH
43 class QContextMenuEvent;
45 class G4OpenGLStoredSceneHandler;
47 class G4OpenGLStoredQtViewer:
48 public G4OpenGLQtViewer,
public G4OpenGLStoredViewer,
public QGLWidget {
51 G4OpenGLStoredQtViewer (G4OpenGLStoredSceneHandler& scene,
53 ~G4OpenGLStoredQtViewer ();
57 void resizeGL(
int width,
int height);
61 void DisplayTimePOColourModification (
G4Colour&,
size_t);
69 G4bool POSelected(
size_t POListIndex);
70 G4bool TOSelected(
size_t TOListIndex);
72 void showEvent(QShowEvent * event );
73 void wheelEvent(QWheelEvent *event);
74 void mousePressEvent(QMouseEvent *event);
75 void mouseMoveEvent(QMouseEvent *event);
76 void mouseDoubleClickEvent(QMouseEvent *event);
77 void mouseReleaseEvent(QMouseEvent *event);
78 void contextMenuEvent(QContextMenuEvent *
e);
79 void keyPressEvent (QKeyEvent * event);
80 void keyReleaseEvent (QKeyEvent * event);
81 void paintEvent(QPaintEvent *event);