玉兔远程控制 0.1.0-bate4
载入中...
搜索中...
未找到
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)
用户名与验证方式。此类仅在插件内有效。它的界面是 CParameterUserUI