Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ParameterNetUI.h
1#ifndef PARAMETERNETUI_H
2#define PARAMETERNETUI_H
3
4#include <QWidget>
5#include "ParameterNet.h"
6#include "ParameterUI.h"
7
8namespace Ui {
10}
11
17class CLIENT_EXPORT CParameterNetUI : public CParameterUI
18{
19 Q_OBJECT
20
21public:
22 explicit CParameterNetUI(QWidget *parent = nullptr);
24
26
30 int SetParameter(CParameter* pParameter);
43 int Accept();
44 bool CheckValidity(bool validity = false);
46
47Q_SIGNALS:
48 void sigHostChanged(const QString& szHost);
49
50private slots:
51 void on_leHost_editingFinished();
52
53private:
54 Ui::CParameterNetUI *ui;
55 CParameterNet* m_pNet;
56};
57
58#endif // PARAMETERNETUI_H
The net parameter UI.
void sigHostChanged(const QString &szHost)
[Parameter commone functions]
Basic network 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