23 #ifndef VTKVIEWER_RENDERWINDOW_H
24 #define VTKVIEWER_RENDERWINDOW_H
28 #include <vtkRenderWindow.h>
49 virtual QPaintEngine* paintEngine()
const;
52 virtual void mouseMoveEvent( QMouseEvent* );
53 virtual void mousePressEvent( QMouseEvent* );
54 virtual void mouseReleaseEvent( QMouseEvent* );
55 virtual void mouseDoubleClickEvent( QMouseEvent* );
56 virtual void wheelEvent( QWheelEvent* );
57 virtual void keyPressEvent( QKeyEvent* );
58 virtual void keyReleaseEvent( QKeyEvent* );
59 virtual void paintEvent( QPaintEvent* );
60 virtual void resizeEvent( QResizeEvent* );
61 virtual void onChangeBackgroundColor();
62 virtual void contextMenuEvent( QContextMenuEvent * e );
66 void MouseMove( QMouseEvent* );
68 void MouseButtonPressed( QMouseEvent* );
70 void MouseButtonReleased( QMouseEvent* );
72 void MouseDoubleClicked( QMouseEvent* );
74 void WheelMoved( QWheelEvent* );
76 void LeftButtonPressed(
const QMouseEvent *event) ;
78 void LeftButtonReleased(
const QMouseEvent *event) ;
80 void MiddleButtonPressed(
const QMouseEvent *event) ;
82 void MiddleButtonReleased(
const QMouseEvent *event) ;
84 void RightButtonPressed(
const QMouseEvent *event) ;
86 void RightButtonReleased(
const QMouseEvent *event) ;
89 void ButtonPressed(
const QMouseEvent *event);
91 void ButtonReleased(
const QMouseEvent *event);
93 void KeyPressed( QKeyEvent* );
95 void KeyReleased( QKeyEvent* );
97 void contextMenuRequested( QContextMenuEvent *e );