-
Notifications
You must be signed in to change notification settings - Fork 0
/
enterdata.h
79 lines (67 loc) · 1.7 KB
/
enterdata.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
#ifndef ENTERDATA_H
#define ENTERDATA_H
#include <QDialog>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QTableWidget>
#include <QLabel>
#include <QComboBox>
#include <QTableWidget>
#include <QHeaderView>
#include <QFileDialog>
#include <QRadioButton>
#include <QButtonGroup>
#include <QLineEdit>
#include "QPushButton"
#include <QGroupBox>
#include <projectdom.h>
class tableVLayout : public QVBoxLayout
{
Q_OBJECT
public:
tableVLayout(ProjectDom *tmpdompoint, int type);
QTableWidget * inTableWidget;
ProjectDom * projectdompoint;
QComboBox * comboxArray[5];
int tabletype;
private slots:
void addRowSlot();
void searchSlot();
void addSearchItemSlot();
void removeRowSlot();
};
class EnterData : public QDialog
{
Q_OBJECT
public:
EnterData(ProjectDom * tmpdompoint ,QWidget *parent = 0);
void browse();
void addLineData();
void submit();
bool readExcel();
bool readAndCheckTable();
tableVLayout * zuanjuzuheTable;
tableVLayout * taoguanTable;
QGridLayout * KaiLayout;
QGridLayout * CiLayout;
QVBoxLayout * layout;
QLineEdit * readzjDbLineEdit;
ProjectDom * projectdompoint;
QLineEdit * KaiD0Edit;
QLineEdit * KaiD1Edit;
QLineEdit * KaiD2Edit;
QLineEdit * KaiD3Edit;
QLineEdit * KaiD4Edit;
QLineEdit * KaiD5Edit;
QLineEdit * KaiD6Edit;
QLineEdit * CiD0Edit;
QLineEdit * CiD1Edit;
QLineEdit * CiD2Edit;
QLabel * timeInfoLabel;
QRadioButton * newKaiButton;
QRadioButton * newCiButton;
QPushButton * confirmNewButton;
private slots:
void selKaiCi();
};
#endif // ENTERDATA_H