33 #ifdef G4VIS_BUILD_OPENGLQT_DRIVER
35 #ifndef G4OPENGLSTOREDQTVIEWER_HH
36 #define G4OPENGLSTOREDQTVIEWER_HH
44 class QContextMenuEvent;
46 class G4OpenGLStoredSceneHandler;
48 class G4OpenGLStoredQtViewer:
49 public G4OpenGLQtViewer,
public G4OpenGLStoredViewer,
public QGLWidget {
52 G4OpenGLStoredQtViewer (G4OpenGLStoredSceneHandler& scene,
54 ~G4OpenGLStoredQtViewer ();
58 void resizeGL(
int width,
int height);
62 void DisplayTimePOColourModification (
G4Colour&,
size_t);
70 G4bool POSelected(
size_t POListIndex);
71 G4bool TOSelected(
size_t TOListIndex);
73 void showEvent(QShowEvent * event );
74 void wheelEvent(QWheelEvent *event);
75 void mousePressEvent(QMouseEvent *event);
76 void mouseMoveEvent(QMouseEvent *event);
77 void mouseDoubleClickEvent(QMouseEvent *event);
78 void mouseReleaseEvent(QMouseEvent *event);
79 void contextMenuEvent(QContextMenuEvent *
e);
80 void keyPressEvent (QKeyEvent * event);
81 void keyReleaseEvent (QKeyEvent * event);
82 void paintEvent(QPaintEvent *event);