KiCad PCB EDA Suite
|
Class PANEL_CABLE_SIZE_BASE. More...
#include <panel_cable_size_base.h>
Public Member Functions | |
PANEL_CABLE_SIZE_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_CABLE_SIZE_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 | OnCableSizeChange (wxCommandEvent &event) |
virtual void | OnDiameterChange (wxCommandEvent &event) |
virtual void | OnUpdateUnit (wxCommandEvent &event) |
virtual void | OnAreaChange (wxCommandEvent &event) |
virtual void | OnConductorResistivityChange (wxCommandEvent &event) |
virtual void | OnConductorResistivity_Button (wxCommandEvent &event) |
virtual void | OnConductorThermCoefChange (wxCommandEvent &event) |
virtual void | OnConductorThermCoefChange_Button (wxCommandEvent &event) |
virtual void | OnLinResistanceChange (wxCommandEvent &event) |
virtual void | OnFrequencyChange (wxCommandEvent &event) |
virtual void | OnAmpacityChange (wxCommandEvent &event) |
virtual void | onUpdateCurrentDensity (wxScrollEvent &event) |
virtual void | OnConductorTempChange (wxCommandEvent &event) |
virtual void | OnCurrentChange (wxCommandEvent &event) |
virtual void | OnLengthChange (wxCommandEvent &event) |
virtual void | OnResistanceDcChange (wxCommandEvent &event) |
virtual void | OnVDropChange (wxCommandEvent &event) |
virtual void | OnPowerChange (wxCommandEvent &event) |
Class PANEL_CABLE_SIZE_BASE.
Definition at line 44 of file panel_cable_size_base.h.
PANEL_CABLE_SIZE_BASE::PANEL_CABLE_SIZE_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 14 of file panel_cable_size_base.cpp.
References _, m_AmpacityCtrl, m_areaCtrl, m_button_ResistivityConductor, m_button_Temp_Coef_Conductor, m_conductorTempCtrl, m_currentCtrl, m_diameterCtrl, m_diameterUnit, m_frequencyCtrl, m_frequencyUnit, m_lengthCtrl, m_lengthUnit, m_linResistanceCtrl, m_linResistanceUnit, m_powerCtrl, m_powerUnit, m_resistanceDcCtrl, m_sizeChoice, m_slCurrentDensity, m_staticText, m_staticText16421, m_staticTextAmpacity, m_staticTextArea, m_staticTextCableTemp, m_staticTextCurrent, m_staticTextDensity, m_staticTextDiameter, m_staticTextDrop, m_staticTextLen, m_staticTextLinRes, m_staticTextPower, m_staticTextResDC, m_staticTextResitivity, m_staticTextSize, m_staticTextSkin, m_staticTextTempCoeff, m_stUnitAmp_mmSq, m_stUnitDegC, m_stUnitmmSq, m_stUnitOhm, m_stUnitOhmMeter, m_textCtrlConductorResistivity, m_textCtrlConductorThermCoef, m_vDropCtrl, m_vDropUnit, OnAmpacityChange(), OnAreaChange(), OnCableSizeChange(), OnConductorResistivity_Button(), OnConductorResistivityChange(), OnConductorTempChange(), OnConductorThermCoefChange(), OnConductorThermCoefChange_Button(), OnCurrentChange(), OnDiameterChange(), OnFrequencyChange(), OnLengthChange(), OnLinResistanceChange(), OnPowerChange(), OnResistanceDcChange(), onUpdateCurrentDensity(), OnUpdateUnit(), and OnVDropChange().
PANEL_CABLE_SIZE_BASE::~PANEL_CABLE_SIZE_BASE | ( | ) |
Definition at line 303 of file panel_cable_size_base.cpp.
References m_AmpacityCtrl, m_areaCtrl, m_button_ResistivityConductor, m_button_Temp_Coef_Conductor, m_conductorTempCtrl, m_currentCtrl, m_diameterCtrl, m_diameterUnit, m_frequencyCtrl, m_frequencyUnit, m_lengthCtrl, m_lengthUnit, m_linResistanceCtrl, m_linResistanceUnit, m_powerCtrl, m_powerUnit, m_resistanceDcCtrl, m_sizeChoice, m_slCurrentDensity, m_textCtrlConductorResistivity, m_textCtrlConductorThermCoef, m_vDropCtrl, m_vDropUnit, OnAmpacityChange(), OnAreaChange(), OnCableSizeChange(), OnConductorResistivity_Button(), OnConductorResistivityChange(), OnConductorTempChange(), OnConductorThermCoefChange(), OnConductorThermCoefChange_Button(), OnCurrentChange(), OnDiameterChange(), OnFrequencyChange(), OnLengthChange(), OnLinResistanceChange(), OnPowerChange(), OnResistanceDcChange(), onUpdateCurrentDensity(), OnUpdateUnit(), and OnVDropChange().
|
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_CABLE_SIZE.
Definition at line 106 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 99 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 96 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 101 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 100 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 108 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 102 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 103 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 109 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 97 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 105 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 110 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 104 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 113 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 111 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 107 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 98 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_CABLE_SIZE.
Definition at line 112 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_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 71 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnAmpacityChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 55 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnAreaChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 59 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 63 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 77 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnConductorTempChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 80 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnCurrentChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 52 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnDiameterChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 53 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnDiameterChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 68 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnFrequencyChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 69 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnFrequencyChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 83 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnLengthChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 84 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnLengthChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 65 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnLinResistanceChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 66 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnLinResistanceChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 92 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnPowerChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 93 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnPowerChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 86 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnResistanceDcChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 50 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::buildCableList(), PANEL_CABLE_SIZE::OnAmpacityChange(), PANEL_CABLE_SIZE::OnAreaChange(), PANEL_CABLE_SIZE::OnCableSizeChange(), PANEL_CABLE_SIZE::OnDiameterChange(), PANEL_CABLE_SIZE::OnFrequencyChange(), PANEL_CABLE_SIZE::OnLinResistanceChange(), PANEL_CABLE_SIZE::OnPowerChange(), PANEL_CABLE_SIZE::OnResistanceDcChange(), PANEL_CABLE_SIZE::OnVDropChange(), PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 74 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::onUpdateCurrentDensity(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 81 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 72 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 70 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 54 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 76 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 79 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 73 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 51 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 88 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 82 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 64 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 91 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 85 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 57 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 49 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 67 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 61 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 75 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::PANEL_CABLE_SIZE(), and PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 78 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::PANEL_CABLE_SIZE(), and PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 56 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::PANEL_CABLE_SIZE(), and PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 87 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::PANEL_CABLE_SIZE(), and PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 60 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::PANEL_CABLE_SIZE(), and PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 58 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnConductorResistivity_Button(), PANEL_CABLE_SIZE::OnConductorResistivityChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 62 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::LoadSettings(), PANEL_CABLE_SIZE::OnConductorThermCoefChange(), PANEL_CABLE_SIZE::OnConductorThermCoefChange_Button(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::SaveSettings(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 89 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnVDropChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().
|
protected |
Definition at line 90 of file panel_cable_size_base.h.
Referenced by PANEL_CABLE_SIZE::OnVDropChange(), PANEL_CABLE_SIZE_BASE(), PANEL_CABLE_SIZE::printAll(), and ~PANEL_CABLE_SIZE_BASE().