qvolray
annotate src/ui_maingl.h @ 26:f4cc61b5a3eb
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Apr 2012 04:59:14 +0300 |
parents | |
children | 011ac823600c |
rev | line source |
---|---|
nuclear@26 | 1 #include <QGLWidget> |
nuclear@26 | 2 |
nuclear@26 | 3 class MainGLView : public QGLWidget { |
nuclear@26 | 4 Q_OBJECT |
nuclear@26 | 5 |
nuclear@26 | 6 protected: |
nuclear@26 | 7 void initializeGL(); |
nuclear@26 | 8 void resizeGL(int xsz, int ysz); |
nuclear@26 | 9 void paintGL(); |
nuclear@26 | 10 |
nuclear@26 | 11 void mousePressEvent(QMouseEvent *ev); |
nuclear@26 | 12 void mouseReleaseEvent(QMouseEvent *ev); |
nuclear@26 | 13 void mouseMoveEvent(QMouseEvent *ev); |
nuclear@26 | 14 |
nuclear@26 | 15 public: |
nuclear@26 | 16 MainGLView(); |
nuclear@26 | 17 |
nuclear@26 | 18 QSize minimumSizeHint() const; |
nuclear@26 | 19 QSize sizeHint() const; |
nuclear@26 | 20 }; |