qvolray

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/ui_maingl.h	Sat Apr 14 04:59:14 2012 +0300
     1.3 @@ -0,0 +1,20 @@
     1.4 +#include <QGLWidget>
     1.5 +
     1.6 +class MainGLView : public QGLWidget {
     1.7 +	Q_OBJECT
     1.8 +
     1.9 +protected:
    1.10 +	void initializeGL();
    1.11 +	void resizeGL(int xsz, int ysz);
    1.12 +	void paintGL();
    1.13 +
    1.14 +	void mousePressEvent(QMouseEvent *ev);
    1.15 +	void mouseReleaseEvent(QMouseEvent *ev);
    1.16 +	void mouseMoveEvent(QMouseEvent *ev);
    1.17 +
    1.18 +public:
    1.19 +	MainGLView();
    1.20 +
    1.21 +	QSize minimumSizeHint() const;
    1.22 +	QSize sizeHint() const;
    1.23 +};