Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ParameterUI.cpp
1#include "ParameterUI.h"
2
3CParameterUI::CParameterUI(QWidget *parent)
4 : QWidget{parent}
5{}
6
7bool CParameterUI::CheckValidity(bool validity)
8{
9 Q_UNUSED(validity)
10 return true;
11}
12
13void CParameterUI::slotSetParameter(CParameter *pParameter)
14{
15 SetParameter(pParameter);
16}
17
18void CParameterUI::slotAccept()
19{
20 Accept();
21}
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