-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialog.h
101 lines (73 loc) · 1.91 KB
/
dialog.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
#ifndef DIALOG_H
#define DIALOG_H
#include "modelproce.h"
#include <QDialog>
#include <QProgressBar>
#include <QWidget>
#include <QLabel>
#include <QtCore/QVector>
#include <QList>
#include <QLineEdit>
#include <QPushButton>
#include <QGridLayout>
#include <qfiledialog>
#include "qlibrary.h"
#include "qmessagebox.h"
#include <QLibrary>
#include <QDebug>
#include <QString>
#include <QtCharts/QChartView>
#include <QtCharts/QLineSeries>
#include <QtCharts/QSplineSeries>
#include <QtCharts/QValueAxis>
//extern QString test_wyk;
QT_BEGIN_NAMESPACE
class QStringListModel;
class QStringList;
QT_END_NAMESPACE
QT_CHARTS_BEGIN_NAMESPACE
class QChart;
QT_CHARTS_END_NAMESPACE
QT_CHARTS_USE_NAMESPACE
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
QString tempstr,combb1,combb2,combb3,lvbolow,lvbohigh,batch,filepath,modelpath,
parfilepath,data_save_path;
QStringListModel *typeModel;
int runpy();
static QSplineSeries *series;
QChart *chart;
QChartView *chartView;
QValueAxis *axis;
modelproce *model;
messeproce *messe_wyk;
dispproce *display_wyk;
static QString test_wyk;
int batchsize;
QVector<QPointF> display_vec;
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
void receiveloadmodelstate(QString);
void receiveepochstate(QString);
void on_pushButton_5_clicked();
void receivetempstate(QString);
void receiveseriesdata(QVector<QPointF>);
signals:
void sendfilestate(QString);
private:
Ui::Dialog *ui;
QLabel *label1,*label2;
// QLineEdit *inedit1,*inedit2,*outedit1,*outedit2;
// QPushButton *okbutton;
};
#endif // DIALOG_H