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

The net parameter UI. More...

#include <ParameterNetUI.h>

Inheritance diagram for CParameterNetUI:
CParameterUI

Signals

void sigHostChanged (const QString &szHost)
 [Parameter commone functions]
 

Public Member Functions

 CParameterNetUI (QWidget *parent=nullptr)
 
int SetParameter (CParameter *pParameter)
 [Parameter commone functions]
 
int Accept ()
 Accept parameters.
 
bool CheckValidity (bool validity=false)
 [Set Parameter]
 
- Public Member Functions inherited from CParameterUI
 CParameterUI (QWidget *parent=nullptr)
 

Private Slots

void on_leHost_editingFinished ()
 [Accept]
 

Private Attributes

Ui::CParameterNetUI * ui
 
CParameterNetm_pNet
 

Additional Inherited Members

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

Detailed Description

The net parameter UI.

See also
CParameterNet

Definition at line 17 of file ParameterNetUI.h.

Constructor & Destructor Documentation

◆ ~CParameterNetUI()

CParameterNetUI::~CParameterNetUI ( )

Definition at line 19 of file ParameterNetUI.cpp.

Member Function Documentation

◆ Accept()

int CParameterNetUI::Accept ( )
virtual

Accept parameters.

[Check validity]

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

[Accept]

Implements CParameterUI.

Definition at line 56 of file ParameterNetUI.cpp.

◆ CheckValidity()

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

[Set Parameter]

[Check validity]

Reimplemented from CParameterUI.

Definition at line 42 of file ParameterNetUI.cpp.

◆ on_leHost_editingFinished

void CParameterNetUI::on_leHost_editingFinished ( )
privateslot

[Accept]

Definition at line 69 of file ParameterNetUI.cpp.

◆ SetParameter()

int CParameterNetUI::SetParameter ( CParameter pParameter)
virtual

[Parameter commone functions]

[Set Parameter]

Set the parameters and initialize the user interface

Implements CParameterUI.

Definition at line 25 of file ParameterNetUI.cpp.

Member Data Documentation

◆ m_pNet

CParameterNet* CParameterNetUI::m_pNet
private

Definition at line 55 of file ParameterNetUI.h.

◆ ui

Ui::CParameterNetUI* CParameterNetUI::ui
private

Definition at line 54 of file ParameterNetUI.h.


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