KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_RF_ATTENUATORS_BASE Class Referenceabstract

Class PANEL_RF_ATTENUATORS_BASE. More...

#include <panel_rf_attenuators_base.h>

Inheritance diagram for PANEL_RF_ATTENUATORS_BASE:
CALCULATOR_PANEL PANEL_RF_ATTENUATORS

Public Member Functions

 PANEL_RF_ATTENUATORS_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_RF_ATTENUATORS_BASE ()
 
virtual void LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0
 Load the settings into the panel.
 
virtual void SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0
 Save the settings from the panel.
 
virtual void ThemeChanged ()=0
 Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme.
 

Protected Member Functions

virtual void OnAttenuatorSelection (wxCommandEvent &event)
 
virtual void OnCalculateAttenuator (wxCommandEvent &event)
 

Protected Attributes

wxRadioBox * m_AttenuatorsSelection
 
wxStaticBitmap * m_attenuatorBitmap
 
wxStaticText * m_attenuationLabel
 
wxTextCtrl * m_AttValueCtrl
 
wxStaticText * m_attUnit
 
wxStaticText * m_attenuationZinLabel
 
wxTextCtrl * m_ZinValueCtrl
 
wxStaticText * m_attZinUnit
 
wxStaticText * m_ZoutLabel
 
wxTextCtrl * m_ZoutValueCtrl
 
wxStaticText * m_attZoutUnit
 
wxButton * m_buttonAlcAtt
 
STD_BITMAP_BUTTONm_bpButtonCalcAtt
 
wxStaticText * m_attenuatorR1Label
 
wxTextCtrl * m_Att_R1_Value
 
wxStaticText * m_attR1Unit
 
wxStaticText * m_attenuatorR2Label
 
wxTextCtrl * m_Att_R2_Value
 
wxStaticText * m_attR2Unit
 
wxStaticText * m_attenuatorR3Label
 
wxTextCtrl * m_Att_R3_Value
 
wxStaticText * m_attR3Unit
 
wxStaticText * m_staticTextAttMsg
 
HTML_WINDOWm_Attenuator_Messages
 
HTML_WINDOWm_panelAttFormula
 

Detailed Description

Class PANEL_RF_ATTENUATORS_BASE.

Definition at line 43 of file panel_rf_attenuators_base.h.

Constructor & Destructor Documentation

◆ PANEL_RF_ATTENUATORS_BASE()

PANEL_RF_ATTENUATORS_BASE::PANEL_RF_ATTENUATORS_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_RF_ATTENUATORS_BASE()

PANEL_RF_ATTENUATORS_BASE::~PANEL_RF_ATTENUATORS_BASE ( )

Member Function Documentation

◆ LoadSettings()

◆ OnAttenuatorSelection()

virtual void PANEL_RF_ATTENUATORS_BASE::OnAttenuatorSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_RF_ATTENUATORS.

Definition at line 75 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE(), and ~PANEL_RF_ATTENUATORS_BASE().

◆ OnCalculateAttenuator()

virtual void PANEL_RF_ATTENUATORS_BASE::OnCalculateAttenuator ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_RF_ATTENUATORS.

Definition at line 76 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE(), and ~PANEL_RF_ATTENUATORS_BASE().

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

Member Data Documentation

◆ m_Att_R1_Value

wxTextCtrl* PANEL_RF_ATTENUATORS_BASE::m_Att_R1_Value
protected

◆ m_Att_R2_Value

wxTextCtrl* PANEL_RF_ATTENUATORS_BASE::m_Att_R2_Value
protected

◆ m_Att_R3_Value

wxTextCtrl* PANEL_RF_ATTENUATORS_BASE::m_Att_R3_Value
protected

◆ m_attenuationLabel

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attenuationLabel
protected

Definition at line 50 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE().

◆ m_attenuationZinLabel

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attenuationZinLabel
protected

Definition at line 53 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE().

◆ m_Attenuator_Messages

◆ m_attenuatorBitmap

wxStaticBitmap* PANEL_RF_ATTENUATORS_BASE::m_attenuatorBitmap
protected

◆ m_attenuatorR1Label

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attenuatorR1Label
protected

Definition at line 61 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE().

◆ m_attenuatorR2Label

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attenuatorR2Label
protected

Definition at line 64 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE().

◆ m_attenuatorR3Label

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attenuatorR3Label
protected

◆ m_AttenuatorsSelection

◆ m_attR1Unit

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attR1Unit
protected

◆ m_attR2Unit

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attR2Unit
protected

◆ m_attR3Unit

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attR3Unit
protected

◆ m_attUnit

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attUnit
protected

Definition at line 52 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE().

◆ m_AttValueCtrl

wxTextCtrl* PANEL_RF_ATTENUATORS_BASE::m_AttValueCtrl
protected

◆ m_attZinUnit

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attZinUnit
protected

◆ m_attZoutUnit

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_attZoutUnit
protected

◆ m_bpButtonCalcAtt

◆ m_buttonAlcAtt

wxButton* PANEL_RF_ATTENUATORS_BASE::m_buttonAlcAtt
protected

◆ m_panelAttFormula

HTML_WINDOW* PANEL_RF_ATTENUATORS_BASE::m_panelAttFormula
protected

◆ m_staticTextAttMsg

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_staticTextAttMsg
protected

◆ m_ZinValueCtrl

wxTextCtrl* PANEL_RF_ATTENUATORS_BASE::m_ZinValueCtrl
protected

◆ m_ZoutLabel

wxStaticText* PANEL_RF_ATTENUATORS_BASE::m_ZoutLabel
protected

Definition at line 56 of file panel_rf_attenuators_base.h.

Referenced by PANEL_RF_ATTENUATORS_BASE().

◆ m_ZoutValueCtrl

wxTextCtrl* PANEL_RF_ATTENUATORS_BASE::m_ZoutValueCtrl
protected

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