KiCad PCB EDA Suite
|
Class PANEL_BOARD_CLASS_BASE. More...
#include <panel_board_class_base.h>
Public Member Functions | |
PANEL_BOARD_CLASS_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_BOARD_CLASS_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 | OnBoardClassesUnitsSelection (wxCommandEvent &event) |
Protected Attributes | |
UNIT_SELECTOR_LEN * | m_BoardClassesUnitsSelector |
wxStaticText * | m_staticTextBrdClass |
wxGrid * | m_gridClassesValuesDisplay |
wxPanel * | m_panelShowClassPrms |
Class PANEL_BOARD_CLASS_BASE.
Definition at line 33 of file panel_board_class_base.h.
PANEL_BOARD_CLASS_BASE::PANEL_BOARD_CLASS_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_board_class_base.cpp.
References _, m_BoardClassesUnitsSelector, m_gridClassesValuesDisplay, m_panelShowClassPrms, m_staticTextBrdClass, and OnBoardClassesUnitsSelection().
PANEL_BOARD_CLASS_BASE::~PANEL_BOARD_CLASS_BASE | ( | ) |
Definition at line 102 of file panel_board_class_base.cpp.
References m_BoardClassesUnitsSelector, and OnBoardClassesUnitsSelection().
|
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_BOARD_CLASS.
Definition at line 44 of file panel_board_class_base.h.
Referenced by PANEL_BOARD_CLASS_BASE(), and ~PANEL_BOARD_CLASS_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 38 of file panel_board_class_base.h.
Referenced by PANEL_BOARD_CLASS::LoadSettings(), PANEL_BOARD_CLASS::OnBoardClassesUnitsSelection(), PANEL_BOARD_CLASS_BASE(), PANEL_BOARD_CLASS::SaveSettings(), and ~PANEL_BOARD_CLASS_BASE().
|
protected |
Definition at line 40 of file panel_board_class_base.h.
Referenced by PANEL_BOARD_CLASS::BoardClassesUpdateData(), PANEL_BOARD_CLASS::PANEL_BOARD_CLASS(), and PANEL_BOARD_CLASS_BASE().
|
protected |
Definition at line 41 of file panel_board_class_base.h.
Referenced by PANEL_BOARD_CLASS_BASE().
|
protected |
Definition at line 39 of file panel_board_class_base.h.
Referenced by PANEL_BOARD_CLASS_BASE().