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