nuclear@27: #ifndef UI_MAINGL_H_ nuclear@27: #define UI_MAINGL_H_ nuclear@27: nuclear@26: #include nuclear@26: nuclear@26: class MainGLView : public QGLWidget { nuclear@26: Q_OBJECT nuclear@26: nuclear@26: protected: nuclear@26: void initializeGL(); nuclear@26: void resizeGL(int xsz, int ysz); nuclear@26: void paintGL(); nuclear@26: nuclear@26: void mousePressEvent(QMouseEvent *ev); nuclear@26: void mouseReleaseEvent(QMouseEvent *ev); nuclear@26: void mouseMoveEvent(QMouseEvent *ev); nuclear@26: nuclear@26: public: nuclear@26: MainGLView(); nuclear@26: nuclear@26: QSize minimumSizeHint() const; nuclear@26: QSize sizeHint() const; nuclear@26: }; nuclear@27: nuclear@27: #endif // UI_MAINGL_H_