KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_ELECTRICAL_SPACING Class Reference

#include <panel_electrical_spacing.h>

Inheritance diagram for PANEL_ELECTRICAL_SPACING:
PANEL_ELECTRICAL_SPACING_BASE CALCULATOR_PANEL

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_IPC2221m_IPC2221
 
PANEL_ELECTRICAL_SPACING_IEC60664m_IEC60664
 

Detailed Description

Definition at line 28 of file panel_electrical_spacing.h.

Constructor & Destructor Documentation

◆ PANEL_ELECTRICAL_SPACING()

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::~PANEL_ELECTRICAL_SPACING ( )

Definition at line 39 of file panel_electrical_spacing.cpp.

Member Function Documentation

◆ LoadSettings()

void PANEL_ELECTRICAL_SPACING::LoadSettings ( PCB_CALCULATOR_SETTINGS aCfg)
overridevirtual

Load the settings into the panel.

Parameters
aCfgis 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().

◆ SaveSettings()

void PANEL_ELECTRICAL_SPACING::SaveSettings ( PCB_CALCULATOR_SETTINGS aCfg)
overridevirtual

Save the settings from the panel.

Parameters
aCfgis 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().

◆ ThemeChanged()

void PANEL_ELECTRICAL_SPACING::ThemeChanged ( )
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().

Member Data Documentation

◆ m_IEC60664

PANEL_ELECTRICAL_SPACING_IEC60664* PANEL_ELECTRICAL_SPACING_BASE::m_IEC60664
protectedinherited

◆ m_IPC2221

PANEL_ELECTRICAL_SPACING_IPC2221* PANEL_ELECTRICAL_SPACING_BASE::m_IPC2221
protectedinherited

◆ m_notebook1

wxNotebook* PANEL_ELECTRICAL_SPACING_BASE::m_notebook1
protectedinherited

The documentation for this class was generated from the following files: