Rabbit Remote Control 0.0.37
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
12#include "ParameterProxyUI.h"
13#include "ParameterRecordUI.h"
14#include "ParameterFreeRDP.h"
15
16namespace Ui {
17class CDlgSetFreeRDP;
18}
19
20class CDlgSetFreeRDP : public QDialog
21{
22 Q_OBJECT
23
24public:
25 explicit CDlgSetFreeRDP(CParameterFreeRDP* pSettings, QWidget *parent = nullptr);
27
28private slots:
29 void on_pbOk_clicked();
30 void on_pbCancel_clicked();
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
49private:
50 QRect GetScreenGeometry();
51 int UpdateDesktopSize();
52 int InsertDesktopSize(QString szSize);
53 int InsertDesktopSize(int width, int height);
54 bool HasAudioOutput();
55 bool HasAudioInput();
56 int ShowDriveSelected(int counts);
57
58private:
59 Ui::CDlgSetFreeRDP *ui;
60 CParameterFreeRDP* m_pSettings;
61 QFileSystemModel* m_pFileModel;
62
63 CParameterProxyUI* m_pProxyUI;
64 CParameterRecordUI* m_pRecordUI;
65
66 QButtonGroup* m_pButtonGroup;
67
68 UINT32 m_vPerformanceFlags[CONNECTION_TYPE_AUTODETECT];
69};
70
71#endif // DLGSETFREERDP_H
[Declare CParameterFreeRDP]
The proxy parameter UI.