forked from changfeng1050/SerialWizard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConvertDataDialog.h
More file actions
49 lines (29 loc) · 805 Bytes
/
ConvertDataDialog.h
File metadata and controls
49 lines (29 loc) · 805 Bytes
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
//
// Created by chang on 2017-07-31.
//
#ifndef SERIALWIZARD_CALCULATECHECKSUMDIALOG_H
#define SERIALWIZARD_CALCULATECHECKSUMDIALOG_H
#include <QtWidgets/QDialog>
class QLineEdit;
class QLabel;
class QPushButton;
class QCheckBox;
class QComboBox;
class QTextEdit;
class ConvertDataDialog : public QDialog {
Q_OBJECT
public:
explicit ConvertDataDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
private:
void createUi();
void createConnect();
QTextEdit *inputTextEdit;
QTextEdit *resultTextEdit;
QCheckBox *hexCheckBox;
QComboBox *fromCodecComboBox;
QComboBox *toCodecComboBox;
QPushButton *exchangeCodecButton;
QPushButton *parseButton;
QPushButton *convertButton;
};
#endif //SERIALWIZARD_CALCULATECHECKSUMDIALOG_H