goat3d
view goatview/src/goatview.h @ 74:ab66cdabf6f2
loading scene files (no vis yet)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 06 May 2014 13:26:52 +0300 |
parents | 9862541fdcf5 |
children | 76dea247f75c |
line source
1 #ifndef GOATVIEW_H_
2 #define GOATVIEW_H_
4 #include <QtWidgets/QtWidgets>
5 #include <QtOpenGL/QGLWidget>
6 #include "goat3d.h"
8 extern goat3d *scene;
10 class GoatView : public QMainWindow {
11 Q_OBJECT
12 private:
13 bool make_menu();
14 bool make_dock();
15 bool make_center();
17 private slots:
18 void open_scene();
19 void open_anim();
21 public:
22 GoatView();
23 ~GoatView();
24 };
26 class GoatViewport : public QGLWidget {
27 Q_OBJECT
28 public:
29 GoatViewport();
30 ~GoatViewport();
32 QSize sizeHint() const;
34 void initializeGL();
35 void resizeGL(int xsz, int ysz);
36 void paintGL();
37 };
39 #endif // GOATVIEW_H_