KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_ELECTRICAL_SPACING_IPC2221_BASE Class Referenceabstract

Class PANEL_ELECTRICAL_SPACING_IPC2221_BASE. More...

#include <panel_electrical_spacing_ipc2221_base.h>

Inheritance diagram for PANEL_ELECTRICAL_SPACING_IPC2221_BASE:
CALCULATOR_PANEL PANEL_ELECTRICAL_SPACING_IPC2221

Public Member Functions

 PANEL_ELECTRICAL_SPACING_IPC2221_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(551, 450), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_ELECTRICAL_SPACING_IPC2221_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 OnElectricalSpacingUnitsSelection (wxCommandEvent &event)
 
virtual void OnElectricalSpacingRefresh (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_stSpacingUnit
 
UNIT_SELECTOR_LENm_ElectricalSpacingUnitsSelector
 
wxStaticLine * m_staticline2
 
wxStaticText * m_stVoltage
 
wxTextCtrl * m_ElectricalSpacingVoltage
 
wxButton * m_buttonElectSpacingRefresh
 
wxBoxSizer * m_electricalSpacingSizer
 
wxStaticText * m_staticTextElectricalSpacing
 
wxGrid * m_gridElectricalSpacingValues
 
wxStaticText * m_stHelp
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_ELECTRICAL_SPACING_IPC2221_BASE()

PANEL_ELECTRICAL_SPACING_IPC2221_BASE::PANEL_ELECTRICAL_SPACING_IPC2221_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( 551,450 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_ELECTRICAL_SPACING_IPC2221_BASE()

PANEL_ELECTRICAL_SPACING_IPC2221_BASE::~PANEL_ELECTRICAL_SPACING_IPC2221_BASE ( )

Member Function Documentation

◆ LoadSettings()

◆ OnElectricalSpacingRefresh()

virtual void PANEL_ELECTRICAL_SPACING_IPC2221_BASE::OnElectricalSpacingRefresh ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ OnElectricalSpacingUnitsSelection()

virtual void PANEL_ELECTRICAL_SPACING_IPC2221_BASE::OnElectricalSpacingUnitsSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

Member Data Documentation

◆ m_buttonElectSpacingRefresh

wxButton* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_buttonElectSpacingRefresh
protected

◆ m_electricalSpacingSizer

wxBoxSizer* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_electricalSpacingSizer
protected

◆ m_ElectricalSpacingUnitsSelector

◆ m_ElectricalSpacingVoltage

◆ m_gridElectricalSpacingValues

wxGrid* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_gridElectricalSpacingValues
protected

◆ m_staticline2

wxStaticLine* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_staticline2
protected

◆ m_staticTextElectricalSpacing

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_staticTextElectricalSpacing
protected

◆ m_stHelp

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_stHelp
protected

◆ m_stSpacingUnit

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_stSpacingUnit
protected

◆ m_stVoltage

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_stVoltage
protected

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