forked from abcvincent/OpencvDevelop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variatedialog.h
94 lines (70 loc) · 1.97 KB
/
variatedialog.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
#ifndef VARIATEDIALOG_H
#define VARIATEDIALOG_H
#include <QDialog>
#include <QComboBox>
#include <QLabel>
#include <QLayout>
#include <QFormLayout>
#include <QFrame>
#include <QPushButton>
#include <QGridLayout>
#include <QLineEdit>
#include <math.h>
#include <QWheelEvent>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#pragma execution_character_set("utf-8")
//namespace Ui {
//class VariateDialog;
//}
class VariateDialog : public QDialog
{
Q_OBJECT
public:
//dialog初始化函数,窗口标题,输入变量列表,算子解释,算子变量数量,算子变量列表,
VariateDialog(QString title,
QList<QString> ListVariateDlg,
QString text,
int VariaeCount,
QList<QString> ListCV_CodeDlg1,
QList<QString> ListCV_CodeDlg2,
QList<QString> ListCV_CodeDlg3);
QString m_title;
QString m_text;
QList<QString> m_listVatiate;
QList<QString> m_listCV_Code1;
QList<QString> m_listCV_Code2;
QList<QString> m_listCV_Code3;
QString comboxStr;
QString lineEditStr;
// QString comboxVarStr1;
// QString comboxVarStr2;
// QString comboxVarStr3;
QComboBox *combox;
QComboBox *comboxVar1;
QComboBox *comboxVar2;
QComboBox *comboxVar3;
QLineEdit *lineEditVar1;
QLineEdit *lineEditVar2;
QLineEdit *lineEditVar3;
QString lineEditStr1;
QString lineEditStr2;
QString lineEditStr3;
int cancelDlg;
private slots:
// void getVarDlg1(QString);
// void getVarDlg2(QString);
// void getVarDlg3(QString);
// void getVarDlg4(QString);
void sendDlg(bool);
void getLineEdit(QString);
void getLineEdit1(QString);
void getLineEdit2(QString);
void getLineEdit3(QString);
//signals:
// void sendVarDlg(QString,QString,int,int);
};
#endif // VARIATEDIALOG_H