Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members

The parameter UI interface. More...

#include <ParameterUI.h>

Inheritance diagram for CParameterUI:
CFrmParameterClient CParameterNetUI CParameterProxyUI CParameterRecordUI CParameterUserUI

Public Slots

virtual void slotSetParameter (CParameter *pParameter)
 
virtual void slotAccept ()
 

Public Member Functions

 CParameterUI (QWidget *parent=nullptr)
 
virtual int SetParameter (CParameter *pParameter)=0
 Set the parameters and initialize the user interface.
 
virtual bool CheckValidity (bool validity=false)
 Check parameters validity.
 
virtual int Accept ()=0
 Accept parameters.
 

Detailed Description

The parameter UI interface.

See also
CParameter

Definition at line 14 of file ParameterUI.h.

Constructor & Destructor Documentation

◆ CParameterUI()

CParameterUI::CParameterUI ( QWidget *  parent = nullptr)
explicit

Definition at line 3 of file ParameterUI.cpp.

Member Function Documentation

◆ Accept()

virtual int CParameterUI::Accept ( )
pure virtual

Accept parameters.

Returns
0 is success. otherwise is fail

Implemented in CParameterNetUI, CParameterProxyUI, CParameterUserUI, and CFrmParameterClient.

◆ CheckValidity()

bool CParameterUI::CheckValidity ( bool  validity = false)
virtual

Check parameters validity.

Parameters
validity
  • true: Check parameters
  • false: Not check parameters

Reimplemented in CParameterNetUI, and CParameterProxyUI.

Definition at line 7 of file ParameterUI.cpp.

◆ SetParameter()

virtual int CParameterUI::SetParameter ( CParameter pParameter)
pure virtual

Set the parameters and initialize the user interface.

Implemented in CParameterNetUI, CParameterProxyUI, CParameterUserUI, and CFrmParameterClient.

◆ slotAccept

void CParameterUI::slotAccept ( )
virtualslot

Definition at line 18 of file ParameterUI.cpp.

◆ slotSetParameter

void CParameterUI::slotSetParameter ( CParameter pParameter)
virtualslot

Definition at line 13 of file ParameterUI.cpp.


The documentation for this class was generated from the following files: