qvolray

annotate src/ui_maingl.h @ 32:7e5a2dd9bca6

actions and shit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 22:51:41 +0300
parents f4cc61b5a3eb
children
rev   line source
nuclear@27 1 #ifndef UI_MAINGL_H_
nuclear@27 2 #define UI_MAINGL_H_
nuclear@27 3
nuclear@26 4 #include <QGLWidget>
nuclear@26 5
nuclear@26 6 class MainGLView : public QGLWidget {
nuclear@26 7 Q_OBJECT
nuclear@26 8
nuclear@26 9 protected:
nuclear@26 10 void initializeGL();
nuclear@26 11 void resizeGL(int xsz, int ysz);
nuclear@26 12 void paintGL();
nuclear@26 13
nuclear@26 14 void mousePressEvent(QMouseEvent *ev);
nuclear@26 15 void mouseReleaseEvent(QMouseEvent *ev);
nuclear@26 16 void mouseMoveEvent(QMouseEvent *ev);
nuclear@26 17
nuclear@26 18 public:
nuclear@26 19 MainGLView();
nuclear@26 20
nuclear@26 21 QSize minimumSizeHint() const;
nuclear@26 22 QSize sizeHint() const;
nuclear@26 23 };
nuclear@27 24
nuclear@27 25 #endif // UI_MAINGL_H_