玉兔远程控制
0.1.0-bate11
Toggle main menu visibility
载入中...
搜索中...
未找到
Plugins
FreeRDP
Client
DlgSetFreeRDP.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef DLGSETFREERDP_H
4
#define DLGSETFREERDP_H
5
6
#include <QFileSystemModel>
7
#include <QItemSelection>
8
#include <QDialog>
9
#include <QButtonGroup>
10
#include "freerdp/freerdp.h"
11
12
#include "ParameterProxyUI.h"
13
#include "ParameterRecordUI.h"
14
#include "ParameterFreeRDP.h"
15
16
namespace
Ui
{
17
class
CDlgSetFreeRDP;
18
}
19
20
class
CDlgSetFreeRDP :
public
QDialog
21
{
22
Q_OBJECT
23
24
public
:
25
explicit
CDlgSetFreeRDP(
CParameterFreeRDP
* pSettings, QWidget *parent =
nullptr
);
26
~CDlgSetFreeRDP();
27
28
public
Q_SLOTS:
29
// QDialog interface
30
virtual
void
accept()
override
;
31
void
on_rbLocalScreen_clicked(
bool
checked);
32
33
void
on_rbAudioDisable_toggled(
bool
checked);
34
void
on_rbAudioLocal_toggled(
bool
checked);
35
void
on_rbAudioRemote_toggled(
bool
checked);
36
37
void
on_pbSizeEdit_clicked();
38
39
void
on_pbDriveClearAll_clicked();
40
void
slotSelectionChanged(
const
QItemSelection &selected,
41
const
QItemSelection &deselected);
42
43
void
on_cbAllMonitor_stateChanged(
int
arg1);
44
45
void
on_cbConnectType_currentIndexChanged(
int
index);
46
47
void
on_cbSecurityEnable_stateChanged(
int
arg1);
48
49
private
:
50
void
InsertView(QWidget *p,
int
pos);
51
void
AddViewers(
const
QList<QWidget*> &wViewer);
52
QRect GetScreenGeometry();
53
int
UpdateDesktopSize();
54
int
InsertDesktopSize(QString szSize);
55
int
InsertDesktopSize(
int
width,
int
height);
56
bool
HasAudioOutput();
57
bool
HasAudioInput();
58
int
ShowDriveSelected(
int
counts);
59
60
private
:
61
Ui::CDlgSetFreeRDP *ui;
62
CParameterFreeRDP
* m_pSettings;
63
QFileSystemModel* m_pFileModel;
64
65
CParameterProxyUI
* m_pProxyUI;
66
CParameterRecordUI
* m_pRecordUI;
67
68
QButtonGroup* m_pButtonGroup;
69
70
UINT32 m_vPerformanceFlags[CONNECTION_TYPE_AUTODETECT];
71
};
72
73
#endif
// DLGSETFREERDP_H
CParameterFreeRDP
[Declare CParameterFreeRDP]
定义
ParameterFreeRDP.h:12
CParameterProxyUI
The proxy parameter UI
定义
ParameterProxyUI.h:17
CParameterRecordUI
定义
ParameterRecordUI.h:13
Ui
定义
FrmFullScreenToolBar.h:14
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力