-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviewerUI.h
81 lines (61 loc) · 1.47 KB
/
viewerUI.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#ifndef VIEWERUI_H
#define VIEWERUI_H
#include"simpleViewer.h"
#include<QtGui>
#include<dataStructures.h>
class viewerUI : public QMainWindow
{
Q_OBJECT
public:
Viewer *viewer;
viewerUI();
void createPopup();
void createPopup2();
private slots:
void open();
void save();
void quit();
void dummy();
void wireFrameOn();
void flatShadeOn();
void smoothShadeOn();
void wireShadeOn();
void simplification();
void segmentation();
void loadSegments();
void refreshColors();
void buttonn();
void segmentButton();
// void deletePopup();
private:
// QTextEdit *textEdit;
QAction *openAction;
QAction *saveAction;
QAction *exitAction;
QAction *flatShadedAction;
QAction *smoothShadedAction;
QAction *wireFrameAction;
QAction *catmullAction;
QAction *butterflyAction;
QAction *wireShadeAction;
QAction *simplifyAction;
QAction *refreshColorsAction;
QAction *segmentAction;
//QAction *okButtonAction;
QAction *loadSegmentsAction;
QMenu *fileMenu;
QMenu *subdivisionMenu;
QMenu *operationsMenu;
QLabel *integerLabel1;
QLabel *integerLabel2;
QLabel *integerLabel3;
QSpinBox *integerSpinBox1;
QSpinBox *integerSpinBox2;
QDoubleSpinBox *integerSpinBox3;
QDoubleSpinBox *integerSpinBox4;
QSpinBox *integerSpinBox5;
QPushButton * okButton;
QVBoxLayout *spinBoxLayout;
QWidget* popupWidget;
};
#endif // VIEWERUI_H