source:
trunk/geant4/OpenGLQT_exemple/src/window.h
@
777
Last change on this file since 777 was 561, checked in by , 17 years ago | |
---|---|
File size: 514 bytes |
Rev | Line | |
---|---|---|
[546] | 1 | #ifndef WINDOW_H |
2 | #define WINDOW_H | |
3 | ||
4 | #include <QWidget> | |
[561] | 5 | #include <QMenuBar> |
6 | #include <QDialog> | |
[546] | 7 | |
8 | class QSlider; | |
9 | class GLWidget; | |
10 | ||
[561] | 11 | class Window : public QDialog |
[546] | 12 | { |
[561] | 13 | Q_OBJECT |
[546] | 14 | |
15 | public: | |
16 | Window(); | |
17 | ||
18 | private: | |
[561] | 19 | void mousePressEvent(QMouseEvent*); |
20 | void mouseReleaseEvent(QMouseEvent*); | |
21 | void mouseMoveEvent(QMouseEvent*); | |
[548] | 22 | /* QSlider *createSlider(); */ |
[546] | 23 | |
[561] | 24 | GLWidget *glWidget; |
25 | QMenuBar *menuBar; | |
26 | ||
[548] | 27 | /* QSlider *xSlider; */ |
28 | /* QSlider *ySlider; */ | |
29 | /* QSlider *zSlider; */ | |
[546] | 30 | }; |
31 | ||
32 | #endif |
Note: See TracBrowser
for help on using the repository browser.