-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconnecteditui.h
More file actions
48 lines (32 loc) · 824 Bytes
/
connecteditui.h
File metadata and controls
48 lines (32 loc) · 824 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
#ifndef CONNECTEDITUI_H
#define CONNECTEDITUI_H
#include <QDialog>
#include <connectinfo.h>
#ifdef WIN32
#pragma execution_character_set("utf-8")
#endif
namespace Ui {
class ConnectEditUI;
}
class ConnectEditUI : public QDialog
{
Q_OBJECT
public:
ConnectEditUI(QWidget *parent = nullptr,QString title="");
~ConnectEditUI();
ConnectInfo info;
void refreshPage();
void setConnectInfo(ConnectInfo info);
private slots:
void on_authType_currentIndexChanged(int index);
void on_selectPrivateKeyFileButton_clicked();
void on_save_clicked();
void on_selectPublicKeyFileButton_clicked();
void on_cancel_clicked();
private:
Ui::ConnectEditUI *ui;
signals:
void addSuccess(ConnectInfo info);
void updateSuccess(ConnectInfo info);
};
#endif // CONNECTEDITUI_H