KiCad PCB EDA Suite
|
Class PANEL_WAVELENGTH_BASE. More...
#include <panel_wavelength_base.h>
Public Member Functions | |
PANEL_WAVELENGTH_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(538, 453), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~PANEL_WAVELENGTH_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 | OnFrequencyChange (wxCommandEvent &event) |
virtual void | updateUnits (wxCommandEvent &event) |
virtual void | OnPeriodChange (wxCommandEvent &event) |
virtual void | OnWavelengthVacuumChange (wxCommandEvent &event) |
virtual void | OnWavelengthMediumChange (wxCommandEvent &event) |
virtual void | OnPermittivityChange (wxCommandEvent &event) |
virtual void | OnButtonPermittivity (wxCommandEvent &event) |
virtual void | OnPermeabilityChange (wxCommandEvent &event) |
Protected Attributes | |
wxStaticText * | m_staticText18 |
wxTextCtrl * | m_frequencyCtrl |
UNIT_SELECTOR_FREQUENCY * | m_frequencyUnit |
wxStaticText * | m_staticText181 |
wxTextCtrl * | m_periodCtrl |
UNIT_SELECTOR_TIME * | m_periodUnit |
wxStaticText * | m_staticText1811 |
wxTextCtrl * | m_wavelengthVacuumCtrl |
UNIT_SELECTOR_LEN_CABLE * | m_wavelengthVacuumUnit |
wxStaticText * | m_staticText18111 |
wxTextCtrl * | m_wavelengthMediumCtrl |
UNIT_SELECTOR_LEN_CABLE * | m_wavelengthMediumUnit |
wxStaticText * | m_staticText181112 |
wxTextCtrl * | m_speedCtrl |
UNIT_SELECTOR_SPEED * | m_speedUnit |
wxStaticText * | m_staticText181111 |
wxTextCtrl * | m_permittivityCtrl |
wxButton * | m_button1 |
wxStaticText * | m_staticText42 |
wxTextCtrl * | m_permeabilityCtrl |
Class PANEL_WAVELENGTH_BASE.
Definition at line 40 of file panel_wavelength_base.h.
PANEL_WAVELENGTH_BASE::PANEL_WAVELENGTH_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( 538,453 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 14 of file panel_wavelength_base.cpp.
References _, m_button1, m_frequencyCtrl, m_frequencyUnit, m_periodCtrl, m_periodUnit, m_permeabilityCtrl, m_permittivityCtrl, m_speedCtrl, m_speedUnit, m_staticText18, m_staticText181, m_staticText1811, m_staticText18111, m_staticText181111, m_staticText181112, m_staticText42, m_wavelengthMediumCtrl, m_wavelengthMediumUnit, m_wavelengthVacuumCtrl, m_wavelengthVacuumUnit, OnButtonPermittivity(), OnFrequencyChange(), OnPeriodChange(), OnPermeabilityChange(), OnPermittivityChange(), OnWavelengthMediumChange(), OnWavelengthVacuumChange(), and updateUnits().
PANEL_WAVELENGTH_BASE::~PANEL_WAVELENGTH_BASE | ( | ) |
Definition at line 133 of file panel_wavelength_base.cpp.
References m_button1, m_frequencyCtrl, m_frequencyUnit, m_periodCtrl, m_periodUnit, m_permeabilityCtrl, m_permittivityCtrl, m_speedUnit, m_wavelengthMediumCtrl, m_wavelengthMediumUnit, m_wavelengthVacuumCtrl, m_wavelengthVacuumUnit, OnButtonPermittivity(), OnFrequencyChange(), OnPeriodChange(), OnPermeabilityChange(), OnPermittivityChange(), OnWavelengthMediumChange(), OnWavelengthVacuumChange(), and updateUnits().
|
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_WAVELENGTH.
Definition at line 73 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 67 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 69 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 74 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 72 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 71 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 70 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_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.
|
inlineprotectedvirtual |
Reimplemented in PANEL_WAVELENGTH.
Definition at line 68 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 62 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 46 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::OnFrequencyChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 47 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH::OnFrequencyChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::SaveSettings(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 49 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::OnPeriodChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 50 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH::OnPeriodChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::SaveSettings(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 64 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH::OnPermeabilityChange(), PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 61 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH::OnButtonPermittivity(), PANEL_WAVELENGTH::OnPermittivityChange(), PANEL_WAVELENGTH_BASE(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 58 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::PANEL_WAVELENGTH(), PANEL_WAVELENGTH_BASE(), and PANEL_WAVELENGTH::update().
|
protected |
Definition at line 59 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::SaveSettings(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 45 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 48 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 51 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 54 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 60 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 57 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 63 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 55 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::OnWavelengthMediumChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 56 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH::OnWavelengthMediumChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::SaveSettings(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 52 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::OnWavelengthVacuumChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().
|
protected |
Definition at line 53 of file panel_wavelength_base.h.
Referenced by PANEL_WAVELENGTH::LoadSettings(), PANEL_WAVELENGTH::OnWavelengthVacuumChange(), PANEL_WAVELENGTH_BASE(), PANEL_WAVELENGTH::SaveSettings(), PANEL_WAVELENGTH::update(), and ~PANEL_WAVELENGTH_BASE().