Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Attributes | List of all members
CParameterProxyUI Class Reference

The proxy parameter UI. More...

#include <ParameterProxyUI.h>

Inheritance diagram for CParameterProxyUI:
CParameterUI

Public Member Functions

 CParameterProxyUI (QWidget *parent=nullptr)
 
int SetParameter (CParameter *pParameter)
 Set the parameters and initialize the user interface.
 
bool CheckValidity (bool validity=false)
 Check parameters validity.
 
int Accept ()
 Accept parameters.
 
- Public Member Functions inherited from CParameterUI
 CParameterUI (QWidget *parent=nullptr)
 

Private Slots

void slotTypeChanged (int nIndex)
 

Private Attributes

QLabel * m_lbType
 
QComboBox * m_cbType
 
CParameterNetUIm_uiSockesV5
 
CParameterNetUIm_uiSSH
 
CParameterProxym_Proxy
 

Additional Inherited Members

- Public Slots inherited from CParameterUI
virtual void slotSetParameter (CParameter *pParameter)
 
virtual void slotAccept ()
 

Detailed Description

The proxy parameter UI.

See also
CParameterProxy Parameter compone

Definition at line 14 of file ParameterProxyUI.h.

Constructor & Destructor Documentation

◆ CParameterProxyUI()

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

Definition at line 5 of file ParameterProxyUI.cpp.

Member Function Documentation

◆ Accept()

int CParameterProxyUI::Accept ( )
virtual

Accept parameters.

Parameters
validity
  • true: Check parameters
  • false: Not check parameters
Returns
0 is success. otherwise is fail

Implements CParameterUI.

Definition at line 94 of file ParameterProxyUI.cpp.

◆ CheckValidity()

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

Check parameters validity.

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

Reimplemented from CParameterUI.

Definition at line 71 of file ParameterProxyUI.cpp.

◆ SetParameter()

int CParameterProxyUI::SetParameter ( CParameter pParameter)
virtual

Set the parameters and initialize the user interface.

Implements CParameterUI.

Definition at line 52 of file ParameterProxyUI.cpp.

◆ slotTypeChanged

void CParameterProxyUI::slotTypeChanged ( int  nIndex)
privateslot

Definition at line 40 of file ParameterProxyUI.cpp.

Member Data Documentation

◆ m_cbType

QComboBox* CParameterProxyUI::m_cbType
private

Definition at line 45 of file ParameterProxyUI.h.

◆ m_lbType

QLabel* CParameterProxyUI::m_lbType
private

Definition at line 44 of file ParameterProxyUI.h.

◆ m_Proxy

CParameterProxy* CParameterProxyUI::m_Proxy
private

Definition at line 50 of file ParameterProxyUI.h.

◆ m_uiSockesV5

CParameterNetUI* CParameterProxyUI::m_uiSockesV5
private

Definition at line 47 of file ParameterProxyUI.h.

◆ m_uiSSH

CParameterNetUI* CParameterProxyUI::m_uiSSH
private

Definition at line 48 of file ParameterProxyUI.h.


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