qvolray
view src/ui_maingl.h @ 33:437e1ba9cf39
fixed on osx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Apr 2012 23:31:17 +0300 |
parents | f4cc61b5a3eb |
children |
line source
1 #ifndef UI_MAINGL_H_
2 #define UI_MAINGL_H_
4 #include <QGLWidget>
6 class MainGLView : public QGLWidget {
7 Q_OBJECT
9 protected:
10 void initializeGL();
11 void resizeGL(int xsz, int ysz);
12 void paintGL();
14 void mousePressEvent(QMouseEvent *ev);
15 void mouseReleaseEvent(QMouseEvent *ev);
16 void mouseMoveEvent(QMouseEvent *ev);
18 public:
19 MainGLView();
21 QSize minimumSizeHint() const;
22 QSize sizeHint() const;
23 };
25 #endif // UI_MAINGL_H_