-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.h
More file actions
43 lines (36 loc) · 912 Bytes
/
window.h
File metadata and controls
43 lines (36 loc) · 912 Bytes
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
#ifndef WINDOW_H
#define WINDOW_H
#include <QWidget>
#include <qspinbox.h>
#include <qpushbutton.h>
class QSlider;
class QSpinBox;
class QDoubleSpinBox;
class QPushButton;
//class GLWidget;
class MainWidget;
class Window : public QWidget
{
Q_OBJECT
public:
Window();
protected:
void keyPressEvent(QKeyEvent *event);
private:
QSlider *createSlider(float min, float max, float step);
QSpinBox *createSpinBox(float min, float max);
QDoubleSpinBox *createDoubleSpinBox(float min, float max, float step);
QPushButton *createButton(const QString& buttonname);
//GLWidget *glWidget;
MainWidget *mainWidget;
QSlider *xSlider;
QSlider *ySlider;
QSlider *zSlider;
QSlider *RefIndSlider;
QSpinBox *KaBoxR, *KaBoxG, *KaBoxB;
QSpinBox *KdBoxR, *KdBoxG, *KdBoxB;
QSpinBox *KsBoxR, *KsBoxG, *KsBoxB;
QDoubleSpinBox *KdMaterial, *KsMaterial;
QPushButton *exportButton;
};
#endif