Rabbit Remote Control 0.1.0-bate4
Loading...
Searching...
No Matches
DlgUserPassword.h
1// Author: Kang Lin <kl222@126.com>
2
3#pragma once
4
5#include <QDialog>
6#include "ParameterNet.h"
7
8namespace Ui {
10}
11
12class PLUGIN_EXPORT CDlgUserPassword : public QDialog
13{
14 Q_OBJECT
15
16public:
17 explicit CDlgUserPassword(QWidget *parent = nullptr);
20
21 Q_INVOKABLE void SetContext(void* pContext);
22 int SetUser(const QString &szPrompt, CParameterUser* pUser);
23
24private:
25 Ui::CDlgUserPassword *ui;
26 CParameterUser* m_pUser;
27
28 // QDialog interface
29public slots:
30 virtual void accept() override;
31};
32
33Q_DECLARE_METATYPE(CDlgUserPassword)
It contains user and password It only valid in plugin.