KiCad PCB EDA Suite
|
Class PANEL_ELECTRICAL_SPACING_IEC60664_BASE. More...
#include <panel_electrical_spacing_iec60664_base.h>
Public Member Functions | |
PANEL_ELECTRICAL_SPACING_IEC60664_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~PANEL_ELECTRICAL_SPACING_IEC60664_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 | UpdateTransientImpulse (wxCommandEvent &event) |
virtual void | UpdateClearanceCreepage (wxCommandEvent &event) |
Class PANEL_ELECTRICAL_SPACING_IEC60664_BASE.
Definition at line 41 of file panel_electrical_spacing_iec60664_base.h.
PANEL_ELECTRICAL_SPACING_IEC60664_BASE::PANEL_ELECTRICAL_SPACING_IEC60664_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( -1,-1 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 14 of file panel_electrical_spacing_iec60664_base.cpp.
References _, m_altitude, m_clearance, m_creepage, m_creepageclearanceBitmap, m_impulseVotlage1TxtCtrl, m_insulationType, m_materialGroup, m_materialGroupTxt, m_minGrooveWidth, m_OVCchoice, m_panelHelp, m_pcbMaterial, m_peakVoltage, m_pollutionDegree, m_ratedVoltage, m_RMSVoltage, m_scrolledWindow, m_staticText11, m_staticText111, m_staticText1111, m_staticText11111, m_staticText111111, m_staticText1112, m_staticText1112121, m_staticText11121211, m_staticText112, m_staticText1121, m_staticText11211, m_staticText11212, m_staticText113, m_staticText114, m_staticText52, m_staticText5211, m_staticText52111, m_staticText52112, m_staticText711, m_staticText7111, m_staticText71111, m_stBitmapLegend, m_stTitle, m_transientOvervoltage, static_textkV, UpdateClearanceCreepage(), and UpdateTransientImpulse().
PANEL_ELECTRICAL_SPACING_IEC60664_BASE::~PANEL_ELECTRICAL_SPACING_IEC60664_BASE | ( | ) |
Definition at line 362 of file panel_electrical_spacing_iec60664_base.cpp.
References m_altitude, m_insulationType, m_materialGroup, m_OVCchoice, m_pcbMaterial, m_peakVoltage, m_pollutionDegree, m_ratedVoltage, m_RMSVoltage, m_transientOvervoltage, UpdateClearanceCreepage(), and UpdateTransientImpulse().
|
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.
|
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.
|
inlineprotectedvirtual |
Reimplemented in PANEL_ELECTRICAL_SPACING_IEC60664.
Definition at line 91 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_ELECTRICAL_SPACING_IEC60664.
Definition at line 90 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 74 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 77 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), and PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 80 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), and PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 85 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), and PANEL_ELECTRICAL_SPACING_IEC60664::ThemeChanged().
|
protected |
Definition at line 54 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateTransientImpulse(), and PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 66 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 70 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 69 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 83 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), and PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 52 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateTransientImpulse(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 87 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), and PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 72 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 63 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 68 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 49 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateTransientImpulse(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 57 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 46 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 56 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 82 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 79 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 76 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 53 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 71 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 73 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 75 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 65 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 61 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 64 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 58 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 62 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 59 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 67 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 48 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 51 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 50 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 84 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 81 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 78 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 86 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 47 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 60 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664::CalculateClearanceCreepage(), PANEL_ELECTRICAL_SPACING_IEC60664::LoadSettings(), PANEL_ELECTRICAL_SPACING_IEC60664_BASE(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), and ~PANEL_ELECTRICAL_SPACING_IEC60664_BASE().
|
protected |
Definition at line 55 of file panel_electrical_spacing_iec60664_base.h.
Referenced by PANEL_ELECTRICAL_SPACING_IEC60664_BASE().