-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialogStart.h
108 lines (81 loc) · 2.47 KB
/
dialogStart.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#ifndef DIALOGSTART_H
#define DIALOGSTART_H
#include "mfile.h"
#include "project.h"
#include "dialogrohteilkontrolle.h"
#include <QCheckBox>
#include <QComboBox>
#include <QDialog>
#include <QDoubleSpinBox>
#include <QDir>
#include <QGroupBox>
#include <QLineEdit>
#include <QRadioButton>
#include <QSettings>
#include <QVBoxLayout>
namespace Ui {
class DialogStart;
}
class DialogStart : public QDialog
{
Q_OBJECT
private:
Ui::DialogStart *ui;
//bool firstStart = true;
DialogRohteilkontrolle* dialogRohteilkontrolle;
Project* project;
MFile* mfile_ZeroPoint;
MFile* mfile_Material;
QPalette* paletteInValid;
QPalette* paletteValid;
QSettings* settings;
QStringList stringList_ZeroPoint;
QList<QString> list_Keys;
public:
explicit DialogStart(QWidget *parent = nullptr);
~DialogStart();
/*QLineEdit* lineEdit_ProjectName;
QLineEdit* lineEdit_ProjectStatus;
QLineEdit* lineEdit_RohteilX;
QLineEdit* lineEdit_RohteilY;
QLineEdit* lineEdit_RohteilZ;
QLineEdit* lineEdit_BauteilX;
QLineEdit* lineEdit_BauteilY;
QLineEdit* lineEdit_BauteilZ;
QDoubleSpinBox* doubleSpinBox_Aufmass_Xplus_Max;
QDoubleSpinBox* doubleSpinBox_Aufmass_Xminus_Max;
QDoubleSpinBox* doubleSpinBox_Aufmass_Yplus_Max;
QDoubleSpinBox* doubleSpinBox_Aufmass_Yminus_Max;
QDoubleSpinBox* doubleSpinBox_Aufmass_Zplus_Max;
QDoubleSpinBox* doubleSpinBox_Aufmass_Xplus_Min;
QDoubleSpinBox* doubleSpinBox_Aufmass_Xminus_Min;
QDoubleSpinBox* doubleSpinBox_Aufmass_Yplus_Min;
QDoubleSpinBox* doubleSpinBox_Aufmass_Yminus_Min;
QDoubleSpinBox* doubleSpinBox_Aufmass_Zplus_Min;
QGroupBox* groupBox_AufmassMaxRT;
QComboBox* comboBox_Material;
QComboBox* comboBox_NP;
QLineEdit* lineEdit_NP;
QDoubleSpinBox* doubleSpinBox_ZRohTeil;*/
QMap<QString, QString> map_NP;
QString string_Line;
//void setSettings(QSettings* s);
void setProject(Project*);
void setProjectData();
bool load_Material();
bool load_ZeroPoint();
signals:
void allValid();
void sig_Log(QString);
void sig_Err(QString);
public slots:
//void showDialog();
void slot_CheckInput();
void slot_checkBox_RT_AufmassEinzel_stateChanged(int);
void slot_checkBox_FT_AufmassEinzel_stateChanged(int);
void slot_comboBox_NP_indexChanged(int);
void slot_Rejected();
void slot_ShowRohteilkontrolle();
void slot_New_RohteilKontrolle(QString);
};
#endif // DIALOGSTART_H