-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglsettings.h
56 lines (44 loc) · 1.16 KB
/
glsettings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef GLSETTINGS_H
#define GLSETTINGS_H
#include <QWidget>
#include <QVBoxLayout>
#include <QGroupBox>
#include <QTabWidget>
#include "glgeneraltab.h"
#include "objecttab.h"
#include "glbuffertab.h"
#include "texturetab.h"
#include "controltab.h"
#include "object.h"
#include "cuglbuffer.h"
#include "texture.h"
class GLSettings : public QWidget
{
Q_OBJECT
public:
explicit GLSettings(QWidget* parent = 0);
~GLSettings();
void AddTexture(Texture *texList);
void AddBuffer(CUGLBuffer *bufList);
void AddObject(Object *objList);
void AddTextures(std::vector<Texture*> *texList);
void AddBuffers(std::vector<CUGLBuffer*> *bufList);
void AddObjects(std::vector<Object*> *objList);
virtual QSize minimumSizeHint() const override;
virtual QSize sizeHint() const override;
static std::vector<Object*> ObjectList;
static std::vector<CUGLBuffer*> BufferList;
static std::vector<Texture*> TextureList;
private:
QVBoxLayout *mainLayout, *settingsLayout;
QGroupBox* settingsGroup;
QTabWidget* tabs;
GLGeneralTab *genTab;
ObjectTab *objTab;
GLBufferTab *bufTab;
TextureTab *texTab;
//move control to bottom bar
signals:
public slots:
};
#endif // GLSETTINGS_H