goat3d

view goatview/src/goatview.h @ 73:9862541fdcf5

- build qt goatview on linux - fixed line endings in a bunch of files
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 06 May 2014 03:57:11 +0300
parents 36e39632db75
children ab66cdabf6f2
line source
1 #ifndef GOATVIEW_H_
2 #define GOATVIEW_H_
4 #include <QtWidgets/QtWidgets>
5 #include <QtOpenGL/QGLWidget>
7 class GoatView : public QMainWindow {
8 Q_OBJECT
9 private:
10 bool make_menu();
11 bool make_dock();
12 bool make_center();
14 private slots:
15 void open_scene();
16 void open_anim();
18 public:
19 GoatView();
20 ~GoatView();
21 };
23 class GoatViewport : public QGLWidget {
24 Q_OBJECT
25 public:
26 GoatViewport();
27 ~GoatViewport();
29 QSize sizeHint() const;
31 void initializeGL();
32 void resizeGL(int xsz, int ysz);
33 void paintGL();
34 };
36 #endif // GOATVIEW_H_