KiCad PCB EDA Suite
|
Class PANEL_RF_ATTENUATORS_BASE. More...
#include <panel_rf_attenuators_base.h>
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_BUTTON * | m_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_WINDOW * | m_Attenuator_Messages |
HTML_WINDOW * | m_panelAttFormula |
Class PANEL_RF_ATTENUATORS_BASE.
Definition at line 43 of file panel_rf_attenuators_base.h.
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 |
||
) |
Definition at line 15 of file panel_rf_attenuators_base.cpp.
References _, m_Att_R1_Value, m_Att_R2_Value, m_Att_R3_Value, m_attenuationLabel, m_attenuationZinLabel, m_Attenuator_Messages, m_attenuatorBitmap, m_attenuatorR1Label, m_attenuatorR2Label, m_attenuatorR3Label, m_AttenuatorsSelection, m_attR1Unit, m_attR2Unit, m_attR3Unit, m_attUnit, m_AttValueCtrl, m_attZinUnit, m_attZoutUnit, m_bpButtonCalcAtt, m_buttonAlcAtt, m_panelAttFormula, m_staticTextAttMsg, m_ZinValueCtrl, m_ZoutLabel, m_ZoutValueCtrl, OnAttenuatorSelection(), and OnCalculateAttenuator().
PANEL_RF_ATTENUATORS_BASE::~PANEL_RF_ATTENUATORS_BASE | ( | ) |
Definition at line 208 of file panel_rf_attenuators_base.cpp.
References m_AttenuatorsSelection, m_bpButtonCalcAtt, m_buttonAlcAtt, OnAttenuatorSelection(), and OnCalculateAttenuator().
|
pure virtualinherited |
Load the settings into the panel.
aCfg | is the settings structure to load from |
Implemented in PANEL_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_ELECTRICAL_SPACING, PANEL_ELECTRICAL_SPACING_IEC60664, PANEL_ELECTRICAL_SPACING_IPC2221, PANEL_ESERIES_DISPLAY, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_R_CALCULATOR, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
|
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().
|
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().
|
pure virtualinherited |
Save the settings from the panel.
aCfg | is the settings structure to save to |
Implemented in PANEL_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_ELECTRICAL_SPACING, PANEL_ELECTRICAL_SPACING_IEC60664, PANEL_ELECTRICAL_SPACING_IPC2221, PANEL_ESERIES_DISPLAY, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_R_CALCULATOR, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
|
pure virtualinherited |
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme.
Implemented in PANEL_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_ELECTRICAL_SPACING, PANEL_ELECTRICAL_SPACING_IEC60664, PANEL_ELECTRICAL_SPACING_IPC2221, PANEL_ESERIES_DISPLAY, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_R_CALCULATOR, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
|
protected |
Definition at line 62 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::SetAttenuator(), and PANEL_RF_ATTENUATORS::TransfAttenuatorResultsToPanel().
|
protected |
Definition at line 65 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::SetAttenuator(), and PANEL_RF_ATTENUATORS::TransfAttenuatorResultsToPanel().
|
protected |
Definition at line 68 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::SetAttenuator(), and PANEL_RF_ATTENUATORS::TransfAttenuatorResultsToPanel().
|
protected |
Definition at line 50 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 53 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 71 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::SetAttenuator(), PANEL_RF_ATTENUATORS::ThemeChanged(), and PANEL_RF_ATTENUATORS::TransfAttenuatorResultsToPanel().
|
protected |
Definition at line 49 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::ThemeChanged(), PANEL_RF_ATTENUATORS::TransfAttenuatorDataToPanel(), and PANEL_RF_ATTENUATORS::UpdateUI().
|
protected |
Definition at line 61 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 64 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 67 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), and PANEL_RF_ATTENUATORS::SetAttenuator().
|
protected |
Definition at line 48 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::GetAttenuatorsSelector(), PANEL_RF_ATTENUATORS::LoadSettings(), PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::SaveSettings(), and ~PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 63 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), and PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 66 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), and PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 69 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), PANEL_RF_ATTENUATORS_BASE(), and PANEL_RF_ATTENUATORS::SetAttenuator().
|
protected |
Definition at line 52 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 51 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::TransfAttenuatorDataToPanel(), and PANEL_RF_ATTENUATORS::TransfPanelDataToAttenuator().
|
protected |
Definition at line 55 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), and PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 58 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), and PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 60 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::ThemeChanged(), and ~PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 59 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), and ~PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 72 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::ThemeChanged(), and PANEL_RF_ATTENUATORS::TransfAttenuatorDataToPanel().
|
protected |
Definition at line 70 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS::PANEL_RF_ATTENUATORS(), PANEL_RF_ATTENUATORS_BASE(), and PANEL_RF_ATTENUATORS::ThemeChanged().
|
protected |
Definition at line 54 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::TransfAttenuatorDataToPanel(), and PANEL_RF_ATTENUATORS::TransfPanelDataToAttenuator().
|
protected |
Definition at line 56 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE().
|
protected |
Definition at line 57 of file panel_rf_attenuators_base.h.
Referenced by PANEL_RF_ATTENUATORS_BASE(), PANEL_RF_ATTENUATORS::TransfAttenuatorDataToPanel(), and PANEL_RF_ATTENUATORS::TransfPanelDataToAttenuator().