Rabbit Remote Control 0.0.35
Loading...
Searching...
No Matches
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#include "ConnecterFreeRDP.h"
12#include "ParameterProxyUI.h"
13#include "ParameterRecordUI.h"
14
15namespace Ui {
16class CDlgSetFreeRDP;
17}
18
19class CDlgSetFreeRDP : public QDialog
20{
21 Q_OBJECT
22
23public:
24 explicit CDlgSetFreeRDP(CParameterFreeRDP* pSettings, QWidget *parent = nullptr);
26
27private slots:
28 void on_pbOk_clicked();
29 void on_pbCancel_clicked();
30 void on_rbLocalScreen_clicked(bool checked);
31
32 void on_rbAudioDisable_toggled(bool checked);
33 void on_rbAudioLocal_toggled(bool checked);
34 void on_rbAudioRemote_toggled(bool checked);
35
36 void on_pbSizeEdit_clicked();
37
38 void on_pbDriveClearAll_clicked();
39 void slotSelectionChanged(const QItemSelection &selected,
40 const QItemSelection &deselected);
41
42 void on_cbAllMonitor_stateChanged(int arg1);
43
44 void on_cbConnectType_currentIndexChanged(int index);
45
46 void on_cbSecurityEnable_stateChanged(int arg1);
47
48private:
49 QRect GetScreenGeometry();
50 int UpdateDesktopSize();
51 int InsertDesktopSize(QString szSize);
52 int InsertDesktopSize(int width, int height);
53 bool HasAudioOutput();
54 bool HasAudioInput();
55 int ShowDriveSelected(int counts);
56
57private:
58 Ui::CDlgSetFreeRDP *ui;
59 CParameterFreeRDP* m_pSettings;
60 QFileSystemModel* m_pFileModel;
61
62 CParameterProxyUI* m_pProxyUI;
63 CParameterRecordUI* m_pRecordUI;
64
65 QButtonGroup* m_pButtonGroup;
66
67 UINT32 m_vPerformanceFlags[CONNECTION_TYPE_AUTODETECT];
68};
69
70#endif // DLGSETFREERDP_H
[Declare CParameterFreeRDP]
The proxy parameter UI.