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

#include <panel_electrical_spacing_ipc2221.h>

Inheritance diagram for PANEL_ELECTRICAL_SPACING_IPC2221:
PANEL_ELECTRICAL_SPACING_IPC2221_BASE CALCULATOR_PANEL

Public Member Functions

 PANEL_ELECTRICAL_SPACING_IPC2221 (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_IPC2221 ()
 
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.
 
void OnElectricalSpacingUnitsSelection (wxCommandEvent &event) override
 
void OnElectricalSpacingRefresh (wxCommandEvent &event) override
 
void ElectricalSpacingUpdateData (double aUnitScale)
 

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

Definition at line 28 of file panel_electrical_spacing_ipc2221.h.

Constructor & Destructor Documentation

◆ PANEL_ELECTRICAL_SPACING_IPC2221()

PANEL_ELECTRICAL_SPACING_IPC2221::PANEL_ELECTRICAL_SPACING_IPC2221 ( 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_IPC2221()

PANEL_ELECTRICAL_SPACING_IPC2221::~PANEL_ELECTRICAL_SPACING_IPC2221 ( )

Definition at line 124 of file panel_electrical_spacing_ipc2221.cpp.

Member Function Documentation

◆ ElectricalSpacingUpdateData()

◆ LoadSettings()

◆ OnElectricalSpacingRefresh()

void PANEL_ELECTRICAL_SPACING_IPC2221::OnElectricalSpacingRefresh ( wxCommandEvent &  event)
overridevirtual

◆ OnElectricalSpacingUnitsSelection()

void PANEL_ELECTRICAL_SPACING_IPC2221::OnElectricalSpacingUnitsSelection ( wxCommandEvent &  event)
overridevirtual

◆ SaveSettings()

void PANEL_ELECTRICAL_SPACING_IPC2221::SaveSettings ( PCB_CALCULATOR_SETTINGS aCfg)
overridevirtual

◆ ThemeChanged()

void PANEL_ELECTRICAL_SPACING_IPC2221::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 129 of file panel_electrical_spacing_ipc2221.cpp.

Member Data Documentation

◆ m_buttonElectSpacingRefresh

wxButton* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_buttonElectSpacingRefresh
protectedinherited

◆ m_electricalSpacingSizer

wxBoxSizer* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_electricalSpacingSizer
protectedinherited

◆ m_ElectricalSpacingUnitsSelector

◆ m_ElectricalSpacingVoltage

wxTextCtrl* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_ElectricalSpacingVoltage
protectedinherited

◆ m_gridElectricalSpacingValues

wxGrid* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_gridElectricalSpacingValues
protectedinherited

◆ m_staticline2

wxStaticLine* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_staticline2
protectedinherited

◆ m_staticTextElectricalSpacing

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_staticTextElectricalSpacing
protectedinherited

◆ m_stHelp

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_stHelp
protectedinherited

◆ m_stSpacingUnit

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_stSpacingUnit
protectedinherited

◆ m_stVoltage

wxStaticText* PANEL_ELECTRICAL_SPACING_IPC2221_BASE::m_stVoltage
protectedinherited

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