-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathwidget.h
More file actions
41 lines (29 loc) · 748 Bytes
/
widget.h
File metadata and controls
41 lines (29 loc) · 748 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
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = nullptr);
~Widget();
private slots:
void on_btn_encode_clicked();
void on_btn_hex_clicked();
void on_btn_url_clicked();
void on_btn_base64_clicked();
void on_btn_uni_clicked();
void on_btn_md5_clicked();
void on_cb_cl_stateChanged(int arg1);
void on_cb_sha_currentTextChanged(const QString &arg1);
private:
QTextCodec* get_select_charset();
//获取输入的数据
QByteArray get_input_data();
private:
Ui::Widget *ui;
};
#endif // WIDGET_H