Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ParameterUI.h
1#ifndef PARAMETERUI_H
2#define PARAMETERUI_H
3
4#include <QWidget>
5#include "Parameter.h"
6
14class CLIENT_EXPORT CParameterUI : public QWidget
15{
16 Q_OBJECT
17public:
18 explicit CParameterUI(QWidget *parent = nullptr);
19
24 virtual int SetParameter(CParameter* pParameter) = 0;
35 virtual bool CheckValidity(bool validity = false);
42 virtual int Accept() = 0;
43
44public Q_SLOTS:
45 virtual void slotSetParameter(CParameter* pParameter);
46 virtual void slotAccept();
47};
48
49#endif // PARAMETERUI_H
The parameter UI interface.
Definition ParameterUI.h:15
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