KiCad PCB EDA Suite
|
Class PANEL_TRACK_WIDTH_BASE. More...
#include <panel_track_width_base.h>
Public Member Functions | |
PANEL_TRACK_WIDTH_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_TRACK_WIDTH_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 | OnTWCalculateFromCurrent (wxCommandEvent &event) |
virtual void | OnTWParametersChanged (wxCommandEvent &event) |
virtual void | OnTWCalculateFromExtWidth (wxCommandEvent &event) |
virtual void | OnTWCalculateFromIntWidth (wxCommandEvent &event) |
virtual void | OnTWResetButtonClick (wxCommandEvent &event) |
Class PANEL_TRACK_WIDTH_BASE.
Definition at line 42 of file panel_track_width_base.h.
PANEL_TRACK_WIDTH_BASE::PANEL_TRACK_WIDTH_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_track_width_base.cpp.
References _, m_buttonTrackWidthReset, m_extTrackAreaUnitLabel, m_ExtTrackAreaValue, m_ExtTrackLossValue, m_ExtTrackResistValue, m_extTrackResUnits, m_ExtTrackThicknessUnit, m_ExtTrackThicknessValue, m_ExtTrackVDropValue, m_ExtTrackWidthValue, m_htmlWinFormulas, m_intTrackAreaUnitLabel, m_IntTrackAreaValue, m_IntTrackLossValue, m_IntTrackResistValue, m_intTrackResUnits, m_IntTrackThicknessUnit, m_IntTrackThicknessValue, m_IntTrackVDropValue, m_IntTrackWidthValue, m_resistivityUnits, m_staticline10, m_staticline3, m_staticline4, m_staticline5, m_staticline8, m_staticline9, m_staticText103, m_staticText62, m_staticText63, m_staticText65, m_staticText651, m_staticText6511, m_staticText652, m_staticText66, m_staticText661, m_staticText6611, m_staticText79, m_staticText791, m_staticText7911, m_staticText792, m_staticText83, m_staticText831, m_staticTextArea, m_staticTextArea1, m_staticTextCurrent, m_staticTextExtWidth, m_staticTextIntWidth, m_TrackCurrentValue, m_TrackDeltaTValue, m_TrackLengthValue, m_trackTempUnits, m_TW_CuLength_choiceUnit, m_TW_ExtTrackWidth_choiceUnit, m_TW_IntTrackWidth_choiceUnit, m_TWResistivity, OnTWCalculateFromCurrent(), OnTWCalculateFromExtWidth(), OnTWCalculateFromIntWidth(), OnTWParametersChanged(), and OnTWResetButtonClick().
PANEL_TRACK_WIDTH_BASE::~PANEL_TRACK_WIDTH_BASE | ( | ) |
Definition at line 316 of file panel_track_width_base.cpp.
References m_buttonTrackWidthReset, m_ExtTrackThicknessUnit, m_ExtTrackThicknessValue, m_ExtTrackWidthValue, m_IntTrackThicknessUnit, m_IntTrackThicknessValue, m_IntTrackWidthValue, m_TrackCurrentValue, m_TrackDeltaTValue, m_TrackLengthValue, m_TW_CuLength_choiceUnit, m_TW_ExtTrackWidth_choiceUnit, m_TW_IntTrackWidth_choiceUnit, m_TWResistivity, OnTWCalculateFromCurrent(), OnTWCalculateFromExtWidth(), OnTWCalculateFromIntWidth(), OnTWParametersChanged(), and OnTWResetButtonClick().
|
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_TRACK_WIDTH.
Definition at line 105 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and ~PANEL_TRACK_WIDTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_TRACK_WIDTH.
Definition at line 107 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and ~PANEL_TRACK_WIDTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_TRACK_WIDTH.
Definition at line 108 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and ~PANEL_TRACK_WIDTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_TRACK_WIDTH.
Definition at line 106 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and ~PANEL_TRACK_WIDTH_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_TRACK_WIDTH.
Definition at line 109 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and ~PANEL_TRACK_WIDTH_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 102 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 71 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 70 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 79 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 73 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 74 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::PANEL_TRACK_WIDTH(), and PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 65 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 64 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 76 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 61 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), PANEL_TRACK_WIDTH::TWUpdateModeDisplay(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 59 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::ThemeChanged().
|
protected |
Definition at line 92 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 91 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 100 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 94 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 95 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::PANEL_TRACK_WIDTH(), and PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 86 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 85 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 97 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWDisplayValues().
|
protected |
Definition at line 82 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), PANEL_TRACK_WIDTH::TWUpdateModeDisplay(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 58 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::PANEL_TRACK_WIDTH(), and PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 89 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 66 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 67 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 68 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 87 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 88 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 56 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 49 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 50 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::PANEL_TRACK_WIDTH(), and PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 63 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 72 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 93 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 84 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 53 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 75 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 96 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 78 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 80 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 101 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 99 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 77 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 98 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 69 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 90 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 47 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWUpdateModeDisplay().
|
protected |
Definition at line 60 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWUpdateModeDisplay().
|
protected |
Definition at line 81 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH_BASE(), and PANEL_TRACK_WIDTH::TWUpdateModeDisplay().
|
protected |
Definition at line 48 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), PANEL_TRACK_WIDTH::TWUpdateModeDisplay(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 51 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 54 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 52 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::PANEL_TRACK_WIDTH(), and PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 55 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 62 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 83 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), and ~PANEL_TRACK_WIDTH_BASE().
|
protected |
Definition at line 57 of file panel_track_width_base.h.
Referenced by PANEL_TRACK_WIDTH::LoadSettings(), PANEL_TRACK_WIDTH::OnTWResetButtonClick(), PANEL_TRACK_WIDTH_BASE(), PANEL_TRACK_WIDTH::SaveSettings(), PANEL_TRACK_WIDTH::TWDisplayValues(), and ~PANEL_TRACK_WIDTH_BASE().