Newer
Older
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
55
56
57
58
59
60
61
62
63
64
#ifndef PAINT_H
#define PAINT_H
#include <QWidget>
#include <QGroupBox>
class QPushButton;
class QComboBox;
class QLabel;
class QCheckBox;
class Canvas;
class Scene;
class Paint : public QWidget {
Q_OBJECT
public:
Paint(QWidget *parent = 0);
~Paint();
private slots:
void clearBtnPressed();
void deleteBtnPressed();
void colorBtnPressed();
void primModeChanged();
void trafoModeChanged();
void showOutlineOnly(bool);
void scene1Pressed();
void scene2Pressed();
private:
Canvas *viewport;
QPushButton *btnClearCanvas;
QPushButton *btnScene1;
QPushButton *btnScene2;
QPushButton *btnScene3;
QComboBox *cobPrimModes;
QComboBox *cobTrafoModes;
QLabel *lblPrimModes;
QPushButton *btnDeleteObj;
QPushButton *btnChangeCol;
QCheckBox *cbOutline;
void changeScene(int index);
};
#endif // PAINT_H