KiCad PCB EDA Suite
|
#include <panel_electrical_spacing.h>
Public Member Functions | |
PANEL_ELECTRICAL_SPACING (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~PANEL_ELECTRICAL_SPACING () | |
void | LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg) override |
Load the settings into the panel. | |
void | SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg) override |
Save the settings from the panel. | |
void | ThemeChanged () override |
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme. | |
Protected Attributes | |
wxNotebook * | m_notebook1 |
PANEL_ELECTRICAL_SPACING_IPC2221 * | m_IPC2221 |
PANEL_ELECTRICAL_SPACING_IEC60664 * | m_IEC60664 |
Definition at line 28 of file panel_electrical_spacing.h.
PANEL_ELECTRICAL_SPACING::PANEL_ELECTRICAL_SPACING | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 31 of file panel_electrical_spacing.cpp.
PANEL_ELECTRICAL_SPACING::~PANEL_ELECTRICAL_SPACING | ( | ) |
Definition at line 39 of file panel_electrical_spacing.cpp.
|
overridevirtual |
Load the settings into the panel.
aCfg | is the settings structure to load from |
Implements CALCULATOR_PANEL.
Definition at line 58 of file panel_electrical_spacing.cpp.
References LoadSettings(), and PANEL_ELECTRICAL_SPACING_BASE::m_notebook1.
Referenced by LoadSettings().
|
overridevirtual |
Save the settings from the panel.
aCfg | is the settings structure to save to |
Implements CALCULATOR_PANEL.
Definition at line 51 of file panel_electrical_spacing.cpp.
References PANEL_ELECTRICAL_SPACING_BASE::m_notebook1, and SaveSettings().
Referenced by SaveSettings().
|
overridevirtual |
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme.
Implements CALCULATOR_PANEL.
Definition at line 44 of file panel_electrical_spacing.cpp.
References PANEL_ELECTRICAL_SPACING_BASE::m_notebook1, and ThemeChanged().
Referenced by ThemeChanged().
|
protectedinherited |
Definition at line 41 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE::PANEL_ELECTRICAL_SPACING_BASE().
|
protectedinherited |
Definition at line 40 of file panel_electrical_spacing_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_BASE::PANEL_ELECTRICAL_SPACING_BASE().
|
protectedinherited |
Definition at line 39 of file panel_electrical_spacing_base.h.
Referenced by LoadSettings(), PANEL_ELECTRICAL_SPACING_BASE::PANEL_ELECTRICAL_SPACING_BASE(), SaveSettings(), and ThemeChanged().