-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwin.h
104 lines (73 loc) · 2.28 KB
/
mainwin.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
#ifndef MAINWIN_H
#define MAINWIN_H
#include <QMainWindow>
#include<QStandardItemModel>
#include<QButtonGroup>
#include<QTimer>
#include<QGroupBox>
#include<QDate>
#include<QStringListModel>
#include "setting.h"
#include"devicesystem.h"
#include"chartswidgt.h"
#include<QProcess>
#include"calibration.h"
class Login;
namespace Ui {
class MainWin;
}
class MainWin : public QMainWindow
{
Q_OBJECT
public:
explicit MainWin(QWidget *parent = nullptr);
~MainWin();
Setting *settingui =nullptr;
DeviceSystem *device_system = nullptr;
chartswidgt *chart_widget = nullptr;
QStandardItemModel *standard_model = nullptr;
QItemSelectionModel *standard_selection = nullptr;
QStandardItemModel *standard_model_2 = nullptr;
QItemSelectionModel *standard_selection_2 = nullptr;
bool deltablerow = false;
void on_MovePointdata();
QButtonGroup *online_group;
QButtonGroup *enable_group;
Login *login_widget = nullptr;
private slots:
void UpdataTestName(QString);
void UpdataTestTime(QString);
void UpdataTestDeep(QString);
void on_action_4_triggered();
void on_action_5_triggered(bool checked);
void on_action_triggered();
void on_action_3_triggered();
void on_action_6_toggled(bool checked);
void on_action_8_triggered();
void on_action_7_triggered(bool checked);
void on_pushButton_clicked();
void on_AddPointData(QString time, QColor color, QString name, QString point);
void on_DeviceStatus();
void on_UpdataDocsnames(QList<QString> name,QList<QString> time);
void on_SelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
void on_action_9_triggered();
void on_action_10_triggered();
void on_action_2_triggered();
void on_action_13_triggered();
void on_action_15_triggered();
void on_action_11_triggered();
void on_action_12_triggered();
void on_action_16_triggered();
void on_testconfigureshow(QString str);
void on_action_14_triggered(bool checked);
private:
Ui::MainWin *ui;
QTimer *timer = nullptr;
QProcess *help_process = nullptr;
Calibration *calibration_dialog = nullptr;
signals:
void DeviceSystemThread();
void FindDocsNames(QDate,QDate);
void FindDocs(int index);
};
#endif // MAINWIN_H