Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
DlgInputPassword.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef DLGINPUTPASSWORD_H
4#define DLGINPUTPASSWORD_H
5
6#include <QDialog>
7
8namespace Ui {
10}
11
12class CDlgInputPassword : public QDialog
13{
14 Q_OBJECT
15
16public:
17 explicit CDlgInputPassword(bool bShow = false,
18 QString szTitle = QString(),
19 QWidget *parent = nullptr);
20 virtual ~CDlgInputPassword();
21
22 enum InputType{
23 Encrypt,
24 Password
25 };
26
27 int GetValue(InputType &t, QString &password);
28
29private slots:
30 void on_pbNo_clicked();
31 void on_pbYes_clicked();
32 void on_pbShow_clicked();
33
34private:
35 Ui::CDlgInputPassword *ui;
36};
37
38#endif // DLGINPUTPASSWORD_H