KiCad PCB EDA Suite
|
Class PANEL_ELECTRICAL_SPACING_BASE. More...
#include <panel_electrical_spacing_base.h>
Public Member Functions | |
PANEL_ELECTRICAL_SPACING_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~PANEL_ELECTRICAL_SPACING_BASE () | |
virtual void | LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0 |
Load the settings into the panel. More... | |
virtual void | SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0 |
Save the settings from the panel. More... | |
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. More... | |
Protected Member Functions | |
virtual void | OnElectricalSpacingUnitsSelection (wxCommandEvent &event) |
virtual void | OnElectricalSpacingRefresh (wxCommandEvent &event) |
Protected Attributes | |
UNIT_SELECTOR_LEN * | m_ElectricalSpacingUnitsSelector |
wxStaticLine * | m_staticline2 |
wxStaticText * | m_staticText891 |
wxTextCtrl * | m_ElectricalSpacingVoltage |
wxButton * | m_buttonElectSpacingRefresh |
wxBoxSizer * | m_electricalSpacingSizer |
wxStaticText * | m_staticTextElectricalSpacing |
wxGrid * | m_gridElectricalSpacingValues |
wxStaticText * | m_staticText88 |
Class PANEL_ELECTRICAL_SPACING_BASE.
Definition at line 39 of file panel_electrical_spacing_base.h.
PANEL_ELECTRICAL_SPACING_BASE::PANEL_ELECTRICAL_SPACING_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( 500,300 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 14 of file panel_electrical_spacing_base.cpp.
References _, m_buttonElectSpacingRefresh, m_electricalSpacingSizer, m_ElectricalSpacingUnitsSelector, m_ElectricalSpacingVoltage, m_gridElectricalSpacingValues, m_staticline2, m_staticText88, m_staticText891, m_staticTextElectricalSpacing, OnElectricalSpacingRefresh(), and OnElectricalSpacingUnitsSelection().
PANEL_ELECTRICAL_SPACING_BASE::~PANEL_ELECTRICAL_SPACING_BASE | ( | ) |
Definition at line 129 of file panel_electrical_spacing_base.cpp.
References m_buttonElectSpacingRefresh, m_ElectricalSpacingUnitsSelector, OnElectricalSpacingRefresh(), and OnElectricalSpacingUnitsSelection().
|
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_E_SERIES, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
|
inlineprotectedvirtual |
Reimplemented in PANEL_ELECTRICAL_SPACING.
Definition at line 56 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE(), and ~PANEL_ELECTRICAL_SPACING_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_ELECTRICAL_SPACING.
Definition at line 55 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE(), and ~PANEL_ELECTRICAL_SPACING_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_E_SERIES, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, 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_E_SERIES, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
|
protected |
Definition at line 48 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE(), and ~PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 49 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 44 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING::LoadSettings(), PANEL_ELECTRICAL_SPACING::OnElectricalSpacingRefresh(), PANEL_ELECTRICAL_SPACING::OnElectricalSpacingUnitsSelection(), PANEL_ELECTRICAL_SPACING_BASE(), PANEL_ELECTRICAL_SPACING::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 47 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING::ElectricalSpacingUpdateData(), PANEL_ELECTRICAL_SPACING::LoadSettings(), PANEL_ELECTRICAL_SPACING_BASE(), and PANEL_ELECTRICAL_SPACING::SaveSettings().
|
protected |
Definition at line 51 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING::ElectricalSpacingUpdateData(), PANEL_ELECTRICAL_SPACING::PANEL_ELECTRICAL_SPACING(), and PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 45 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 52 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 46 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE().
|
protected |
Definition at line 50 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE().