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

Class PANEL_CABLE_SIZE_BASE. More...

#include <panel_cable_size_base.h>

Inheritance diagram for PANEL_CABLE_SIZE_BASE:
CALCULATOR_PANEL PANEL_CABLE_SIZE

Public Member Functions

 PANEL_CABLE_SIZE_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_CABLE_SIZE_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 OnCableSizeChange (wxCommandEvent &event)
 
virtual void OnDiameterChange (wxCommandEvent &event)
 
virtual void OnUpdateUnit (wxCommandEvent &event)
 
virtual void OnAreaChange (wxCommandEvent &event)
 
virtual void OnConductorResistivityChange (wxCommandEvent &event)
 
virtual void OnConductorResistivity_Button (wxCommandEvent &event)
 
virtual void OnConductorThermCoefChange (wxCommandEvent &event)
 
virtual void OnConductorThermCoefChange_Button (wxCommandEvent &event)
 
virtual void OnLinResistanceChange (wxCommandEvent &event)
 
virtual void OnFrequencyChange (wxCommandEvent &event)
 
virtual void OnAmpacityChange (wxCommandEvent &event)
 
virtual void onUpdateCurrentDensity (wxScrollEvent &event)
 
virtual void OnConductorTempChange (wxCommandEvent &event)
 
virtual void OnCurrentChange (wxCommandEvent &event)
 
virtual void OnLengthChange (wxCommandEvent &event)
 
virtual void OnResistanceDcChange (wxCommandEvent &event)
 
virtual void OnVDropChange (wxCommandEvent &event)
 
virtual void OnPowerChange (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_staticTextSize
 
wxChoice * m_sizeChoice
 
wxStaticText * m_staticTextDiameter
 
wxTextCtrl * m_diameterCtrl
 
UNIT_SELECTOR_LENm_diameterUnit
 
wxStaticText * m_staticTextArea
 
wxTextCtrl * m_areaCtrl
 
wxStaticText * m_stUnitmmSq
 
wxStaticText * m_staticTextResitivity
 
wxTextCtrl * m_textCtrlConductorResistivity
 
wxButton * m_button_ResistivityConductor
 
wxStaticText * m_stUnitOhmMeter
 
wxStaticText * m_staticTextTempCoeff
 
wxTextCtrl * m_textCtrlConductorThermCoef
 
wxButton * m_button_Temp_Coef_Conductor
 
wxStaticText * m_staticTextLinRes
 
wxTextCtrl * m_linResistanceCtrl
 
UNIT_SELECTOR_LINEAR_RESISTANCEm_linResistanceUnit
 
wxStaticText * m_staticTextSkin
 
wxTextCtrl * m_frequencyCtrl
 
UNIT_SELECTOR_FREQUENCYm_frequencyUnit
 
wxStaticText * m_staticTextAmpacity
 
wxTextCtrl * m_AmpacityCtrl
 
wxStaticText * m_staticText16421
 
wxStaticText * m_staticTextDensity
 
wxSlider * m_slCurrentDensity
 
wxStaticText * m_stUnitAmp_mmSq
 
wxStaticText * m_staticTextCableTemp
 
wxTextCtrl * m_conductorTempCtrl
 
wxStaticText * m_stUnitDegC
 
wxStaticText * m_staticTextCurrent
 
wxTextCtrl * m_currentCtrl
 
wxStaticText * m_staticText
 
wxStaticText * m_staticTextLen
 
wxTextCtrl * m_lengthCtrl
 
UNIT_SELECTOR_LEN_CABLEm_lengthUnit
 
wxStaticText * m_staticTextResDC
 
wxTextCtrl * m_resistanceDcCtrl
 
wxStaticText * m_stUnitOhm
 
wxStaticText * m_staticTextDrop
 
wxTextCtrl * m_vDropCtrl
 
UNIT_SELECTOR_VOLTAGEm_vDropUnit
 
wxStaticText * m_staticTextPower
 
wxTextCtrl * m_powerCtrl
 
UNIT_SELECTOR_POWERm_powerUnit
 

Detailed Description

Class PANEL_CABLE_SIZE_BASE.

Definition at line 44 of file panel_cable_size_base.h.

Constructor & Destructor Documentation

◆ PANEL_CABLE_SIZE_BASE()

PANEL_CABLE_SIZE_BASE::PANEL_CABLE_SIZE_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_CABLE_SIZE_BASE()

Member Function Documentation

◆ LoadSettings()

◆ OnAmpacityChange()

virtual void PANEL_CABLE_SIZE_BASE::OnAmpacityChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 106 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnAreaChange()

virtual void PANEL_CABLE_SIZE_BASE::OnAreaChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 99 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnCableSizeChange()

virtual void PANEL_CABLE_SIZE_BASE::OnCableSizeChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 96 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnConductorResistivity_Button()

virtual void PANEL_CABLE_SIZE_BASE::OnConductorResistivity_Button ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 101 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnConductorResistivityChange()

virtual void PANEL_CABLE_SIZE_BASE::OnConductorResistivityChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 100 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnConductorTempChange()

virtual void PANEL_CABLE_SIZE_BASE::OnConductorTempChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 108 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnConductorThermCoefChange()

virtual void PANEL_CABLE_SIZE_BASE::OnConductorThermCoefChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 102 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnConductorThermCoefChange_Button()

virtual void PANEL_CABLE_SIZE_BASE::OnConductorThermCoefChange_Button ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 103 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnCurrentChange()

virtual void PANEL_CABLE_SIZE_BASE::OnCurrentChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 109 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnDiameterChange()

virtual void PANEL_CABLE_SIZE_BASE::OnDiameterChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 97 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnFrequencyChange()

virtual void PANEL_CABLE_SIZE_BASE::OnFrequencyChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 105 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnLengthChange()

virtual void PANEL_CABLE_SIZE_BASE::OnLengthChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 110 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnLinResistanceChange()

virtual void PANEL_CABLE_SIZE_BASE::OnLinResistanceChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 104 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnPowerChange()

virtual void PANEL_CABLE_SIZE_BASE::OnPowerChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 113 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnResistanceDcChange()

virtual void PANEL_CABLE_SIZE_BASE::OnResistanceDcChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 111 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ onUpdateCurrentDensity()

virtual void PANEL_CABLE_SIZE_BASE::onUpdateCurrentDensity ( wxScrollEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 107 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnUpdateUnit()

virtual void PANEL_CABLE_SIZE_BASE::OnUpdateUnit ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 98 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ OnVDropChange()

virtual void PANEL_CABLE_SIZE_BASE::OnVDropChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_CABLE_SIZE.

Definition at line 112 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

Member Data Documentation

◆ m_AmpacityCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_AmpacityCtrl
protected

◆ m_areaCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_areaCtrl
protected

◆ m_button_ResistivityConductor

wxButton* PANEL_CABLE_SIZE_BASE::m_button_ResistivityConductor
protected

Definition at line 59 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ m_button_Temp_Coef_Conductor

wxButton* PANEL_CABLE_SIZE_BASE::m_button_Temp_Coef_Conductor
protected

Definition at line 63 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE(), and ~PANEL_CABLE_SIZE_BASE().

◆ m_conductorTempCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_conductorTempCtrl
protected

◆ m_currentCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_currentCtrl
protected

◆ m_diameterCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_diameterCtrl
protected

◆ m_diameterUnit

◆ m_frequencyCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_frequencyCtrl
protected

◆ m_frequencyUnit

◆ m_lengthCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_lengthCtrl
protected

◆ m_lengthUnit

◆ m_linResistanceCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_linResistanceCtrl
protected

◆ m_linResistanceUnit

◆ m_powerCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_powerCtrl
protected

◆ m_powerUnit

UNIT_SELECTOR_POWER* PANEL_CABLE_SIZE_BASE::m_powerUnit
protected

◆ m_resistanceDcCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_resistanceDcCtrl
protected

◆ m_sizeChoice

◆ m_slCurrentDensity

wxSlider* PANEL_CABLE_SIZE_BASE::m_slCurrentDensity
protected

◆ m_staticText

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticText
protected

Definition at line 81 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticText16421

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticText16421
protected

Definition at line 72 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextAmpacity

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextAmpacity
protected

Definition at line 70 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextArea

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextArea
protected

Definition at line 54 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextCableTemp

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextCableTemp
protected

Definition at line 76 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextCurrent

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextCurrent
protected

Definition at line 79 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextDensity

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextDensity
protected

Definition at line 73 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextDiameter

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextDiameter
protected

Definition at line 51 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextDrop

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextDrop
protected

Definition at line 88 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextLen

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextLen
protected

Definition at line 82 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextLinRes

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextLinRes
protected

Definition at line 64 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextPower

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextPower
protected

Definition at line 91 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextResDC

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextResDC
protected

Definition at line 85 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextResitivity

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextResitivity
protected

Definition at line 57 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextSize

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextSize
protected

Definition at line 49 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextSkin

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextSkin
protected

Definition at line 67 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_staticTextTempCoeff

wxStaticText* PANEL_CABLE_SIZE_BASE::m_staticTextTempCoeff
protected

Definition at line 61 of file panel_cable_size_base.h.

Referenced by PANEL_CABLE_SIZE_BASE().

◆ m_stUnitAmp_mmSq

wxStaticText* PANEL_CABLE_SIZE_BASE::m_stUnitAmp_mmSq
protected

◆ m_stUnitDegC

wxStaticText* PANEL_CABLE_SIZE_BASE::m_stUnitDegC
protected

◆ m_stUnitmmSq

wxStaticText* PANEL_CABLE_SIZE_BASE::m_stUnitmmSq
protected

◆ m_stUnitOhm

wxStaticText* PANEL_CABLE_SIZE_BASE::m_stUnitOhm
protected

◆ m_stUnitOhmMeter

wxStaticText* PANEL_CABLE_SIZE_BASE::m_stUnitOhmMeter
protected

◆ m_textCtrlConductorResistivity

◆ m_textCtrlConductorThermCoef

◆ m_vDropCtrl

wxTextCtrl* PANEL_CABLE_SIZE_BASE::m_vDropCtrl
protected

◆ m_vDropUnit

UNIT_SELECTOR_VOLTAGE* PANEL_CABLE_SIZE_BASE::m_vDropUnit
protected

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