KiCad PCB EDA Suite
|
Class PANEL_GALVANIC_CORROSION_BASE. More...
#include <panel_galvanic_corrosion_base.h>
Public Member Functions | |
PANEL_GALVANIC_CORROSION_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(509, 245), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~PANEL_GALVANIC_CORROSION_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 | OnCorFilterChange (wxCommandEvent &event) |
virtual void | OnNomenclatureChange (wxCommandEvent &event) |
Protected Attributes | |
wxBoxSizer * | bSizerMain |
wxScrolledWindow * | m_scrolledWindow1 |
wxGrid * | m_table |
HTML_WINDOW * | m_helpText |
wxStaticText * | m_staticText2 |
wxTextCtrl * | m_corFilterCtrl |
wxStaticText * | m_staticText3 |
wxStaticLine * | m_staticline |
wxStaticText * | m_stOpts |
wxRadioButton * | m_radioBtnSymbol |
wxRadioButton * | m_radioBtnName |
Class PANEL_GALVANIC_CORROSION_BASE.
Definition at line 36 of file panel_galvanic_corrosion_base.h.
PANEL_GALVANIC_CORROSION_BASE::PANEL_GALVANIC_CORROSION_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( 509,245 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 12 of file panel_galvanic_corrosion_base.cpp.
References _, bSizerMain, m_corFilterCtrl, m_helpText, m_radioBtnName, m_radioBtnSymbol, m_scrolledWindow1, m_staticline, m_staticText2, m_staticText3, m_stOpts, m_table, OnCorFilterChange(), and OnNomenclatureChange().
PANEL_GALVANIC_CORROSION_BASE::~PANEL_GALVANIC_CORROSION_BASE | ( | ) |
Definition at line 114 of file panel_galvanic_corrosion_base.cpp.
References m_corFilterCtrl, m_radioBtnName, m_radioBtnSymbol, OnCorFilterChange(), and OnNomenclatureChange().
|
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_GALVANIC_CORROSION.
Definition at line 54 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE(), and ~PANEL_GALVANIC_CORROSION_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GALVANIC_CORROSION.
Definition at line 55 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE(), and ~PANEL_GALVANIC_CORROSION_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 41 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 46 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION::LoadSettings(), PANEL_GALVANIC_CORROSION::OnCorFilterChange(), PANEL_GALVANIC_CORROSION_BASE(), and ~PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 44 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION::PANEL_GALVANIC_CORROSION(), PANEL_GALVANIC_CORROSION_BASE(), and PANEL_GALVANIC_CORROSION::ThemeChanged().
|
protected |
Definition at line 51 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION::LoadSettings(), PANEL_GALVANIC_CORROSION::OnNomenclatureChange(), PANEL_GALVANIC_CORROSION_BASE(), and ~PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 50 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION::LoadSettings(), PANEL_GALVANIC_CORROSION::OnNomenclatureChange(), PANEL_GALVANIC_CORROSION_BASE(), and ~PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 42 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 48 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 45 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 47 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 49 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION_BASE().
|
protected |
Definition at line 43 of file panel_galvanic_corrosion_base.h.
Referenced by PANEL_GALVANIC_CORROSION::fillTable(), PANEL_GALVANIC_CORROSION::PANEL_GALVANIC_CORROSION(), and PANEL_GALVANIC_CORROSION_BASE().