Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ParameterProxyUI.h
1#ifndef CPARAMETERPROXYUI_H
2#define CPARAMETERPROXYUI_H
3
4#include <QLabel>
5#include <QComboBox>
6#include "ParameterProxy.h"
7#include "ParameterNetUI.h"
8
14class CLIENT_EXPORT CParameterProxyUI : public CParameterUI
15{
16 Q_OBJECT
17public:
18 explicit CParameterProxyUI(QWidget *parent = nullptr);
19
24 int SetParameter(CParameter* pParameter);
25 bool CheckValidity(bool validity = false);
38 int Accept();
39
40private Q_SLOTS:
41 void slotTypeChanged(int nIndex);
42
43private:
44 QLabel* m_lbType;
45 QComboBox* m_cbType;
46
47 CParameterNetUI* m_uiSockesV5;
48 CParameterNetUI* m_uiSSH;
49
50 CParameterProxy* m_Proxy;
51};
52
53#endif // CPARAMETERPROXYUI_H
The net parameter UI.
The proxy parameter UI.
The proxy parameters.
The parameter UI interface.
Definition ParameterUI.h:15
virtual bool CheckValidity(bool validity=false)
Check parameters validity.
virtual int Accept()=0
Accept parameters.
virtual int SetParameter(CParameter *pParameter)=0
Set the parameters and initialize the user interface.
Parameter interface.
Definition Parameter.h:169