KiCad PCB EDA Suite
PANEL_E_SERIES_BASE Class Referenceabstract

Class PANEL_E_SERIES_BASE. More...

#include <panel_eseries_base.h>

Inheritance diagram for PANEL_E_SERIES_BASE:
CALCULATOR_PANEL PANEL_E_SERIES

Public Member Functions

 PANEL_E_SERIES_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_E_SERIES_BASE ()
 
virtual void LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0
 Load the settings into the panel. More...
 
virtual void SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0
 Save the settings from the panel. More...
 
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. More...
 

Protected Member Functions

virtual void OnESeriesSelection (wxCommandEvent &event)
 
virtual void OnCalculateESeries (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_ESrequired
 
wxTextCtrl * m_ResRequired
 
wxStaticText * m_reqResUnits
 
wxStaticText * m_ESrequired1
 
wxTextCtrl * m_ResExclude1
 
wxStaticText * m_exclude1Units
 
wxStaticText * m_ESrequired11
 
wxTextCtrl * m_ResExclude2
 
wxStaticText * m_exclude2Units
 
wxStaticLine * m_staticline6
 
wxRadioButton * m_e1
 
wxRadioButton * m_e3
 
wxRadioButton * m_e6
 
wxRadioButton * m_e12
 
wxRadioButton * m_e24
 
wxStaticText * m_ESeriesSimpleSolution
 
wxTextCtrl * m_ESeries_Sol2R
 
wxStaticText * m_ESeriesSimpleErr
 
wxTextCtrl * m_ESeriesError2R
 
wxStaticText * m_ESeriesSimplePercent
 
wxStaticText * m_ESeries3RSolution1
 
wxTextCtrl * m_ESeries_Sol3R
 
wxStaticText * m_ESeriesAltErr
 
wxTextCtrl * m_ESeriesError3R
 
wxStaticText * m_ESeriesAltPercent
 
wxStaticText * m_ESeries4RSolution
 
wxTextCtrl * m_ESeries_Sol4R
 
wxStaticText * m_ESeriesAltErr1
 
wxTextCtrl * m_ESeriesError4R
 
wxStaticText * m_ESeriesAltPercent1
 
wxStaticLine * m_staticline7
 
wxButton * m_buttonEScalculate
 
HTML_WINDOWm_panelESeriesHelp
 

Detailed Description

Class PANEL_E_SERIES_BASE.

Definition at line 39 of file panel_eseries_base.h.

Constructor & Destructor Documentation

◆ PANEL_E_SERIES_BASE()

PANEL_E_SERIES_BASE::PANEL_E_SERIES_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 12 of file panel_eseries_base.cpp.

12 : CALCULATOR_PANEL( parent, id, pos, size, style, name )
13{
14 wxBoxSizer* bSizerESeries;
15 bSizerESeries = new wxBoxSizer( wxVERTICAL );
16
17 wxBoxSizer* bMiddleSizerESeries;
18 bMiddleSizerESeries = new wxBoxSizer( wxHORIZONTAL );
19
20 wxStaticBoxSizer* sbSizerESeriesInput;
21 sbSizerESeriesInput = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Inputs") ), wxVERTICAL );
22
23 wxFlexGridSizer* fgSizerAttPrms1;
24 fgSizerAttPrms1 = new wxFlexGridSizer( 4, 3, 3, 0 );
25 fgSizerAttPrms1->AddGrowableCol( 1 );
26 fgSizerAttPrms1->SetFlexibleDirection( wxHORIZONTAL );
27 fgSizerAttPrms1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
28
29 m_ESrequired = new wxStaticText( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("Required resistance:"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_ESrequired->Wrap( -1 );
31 fgSizerAttPrms1->Add( m_ESrequired, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
32
33 m_ResRequired = new wxTextCtrl( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
34 fgSizerAttPrms1->Add( m_ResRequired, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 );
35
36 m_reqResUnits = new wxStaticText( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("kOhm"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_reqResUnits->Wrap( -1 );
38 fgSizerAttPrms1->Add( m_reqResUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
39
40 m_ESrequired1 = new wxStaticText( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("Exclude value 1:"), wxDefaultPosition, wxDefaultSize, 0 );
41 m_ESrequired1->Wrap( -1 );
42 fgSizerAttPrms1->Add( m_ESrequired1, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
43
44 m_ResExclude1 = new wxTextCtrl( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
45 fgSizerAttPrms1->Add( m_ResExclude1, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 );
46
47 m_exclude1Units = new wxStaticText( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("kOhm"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_exclude1Units->Wrap( -1 );
49 fgSizerAttPrms1->Add( m_exclude1Units, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
50
51 m_ESrequired11 = new wxStaticText( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("Exclude value 2:"), wxDefaultPosition, wxDefaultSize, 0 );
52 m_ESrequired11->Wrap( -1 );
53 fgSizerAttPrms1->Add( m_ESrequired11, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
54
55 m_ResExclude2 = new wxTextCtrl( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
56 fgSizerAttPrms1->Add( m_ResExclude2, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
57
58 m_exclude2Units = new wxStaticText( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("kOhm"), wxDefaultPosition, wxDefaultSize, 0 );
59 m_exclude2Units->Wrap( -1 );
60 fgSizerAttPrms1->Add( m_exclude2Units, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
61
62
63 sbSizerESeriesInput->Add( fgSizerAttPrms1, 0, wxEXPAND|wxBOTTOM, 5 );
64
65 m_staticline6 = new wxStaticLine( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
66 sbSizerESeriesInput->Add( m_staticline6, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
67
68 wxBoxSizer* bSizer40;
69 bSizer40 = new wxBoxSizer( wxHORIZONTAL );
70
71 m_e1 = new wxRadioButton( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("E1"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
72 bSizer40->Add( m_e1, 1, wxALL, 5 );
73
74 m_e3 = new wxRadioButton( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("E3"), wxDefaultPosition, wxDefaultSize, 0 );
75 bSizer40->Add( m_e3, 1, wxALL, 5 );
76
77 m_e6 = new wxRadioButton( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("E6"), wxDefaultPosition, wxDefaultSize, 0 );
78 m_e6->SetValue( true );
79 bSizer40->Add( m_e6, 1, wxALL, 5 );
80
81 m_e12 = new wxRadioButton( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("E12"), wxDefaultPosition, wxDefaultSize, 0 );
82 bSizer40->Add( m_e12, 1, wxALL, 5 );
83
84 m_e24 = new wxRadioButton( sbSizerESeriesInput->GetStaticBox(), wxID_ANY, _("E24"), wxDefaultPosition, wxDefaultSize, 0 );
85 bSizer40->Add( m_e24, 0, wxALL, 5 );
86
87
88 sbSizerESeriesInput->Add( bSizer40, 1, wxEXPAND, 5 );
89
90
91 bMiddleSizerESeries->Add( sbSizerESeriesInput, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 5 );
92
93 wxStaticBoxSizer* sbSizerESeriesSolutions;
94 sbSizerESeriesSolutions = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Solutions") ), wxVERTICAL );
95
96 wxFlexGridSizer* fgSizerESeriesResults;
97 fgSizerESeriesResults = new wxFlexGridSizer( 6, 5, 3, 0 );
98 fgSizerESeriesResults->AddGrowableCol( 1 );
99 fgSizerESeriesResults->SetFlexibleDirection( wxBOTH );
100 fgSizerESeriesResults->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
101
102 m_ESeriesSimpleSolution = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("Simple solution:"), wxDefaultPosition, wxDefaultSize, 0 );
103 m_ESeriesSimpleSolution->Wrap( -1 );
104 fgSizerESeriesResults->Add( m_ESeriesSimpleSolution, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
105
106 m_ESeries_Sol2R = new wxTextCtrl( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
107 m_ESeries_Sol2R->SetMinSize( wxSize( 200,-1 ) );
108
109 fgSizerESeriesResults->Add( m_ESeries_Sol2R, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 );
110
111 m_ESeriesSimpleErr = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("Approximation:"), wxDefaultPosition, wxDefaultSize, 0 );
112 m_ESeriesSimpleErr->Wrap( -1 );
113 fgSizerESeriesResults->Add( m_ESeriesSimpleErr, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
114
115 m_ESeriesError2R = new wxTextCtrl( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
116 fgSizerESeriesResults->Add( m_ESeriesError2R, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 3 );
117
118 m_ESeriesSimplePercent = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("%"), wxDefaultPosition, wxDefaultSize, 0 );
119 m_ESeriesSimplePercent->Wrap( -1 );
120 fgSizerESeriesResults->Add( m_ESeriesSimplePercent, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
121
122 m_ESeries3RSolution1 = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("3R solution:"), wxDefaultPosition, wxDefaultSize, 0 );
123 m_ESeries3RSolution1->Wrap( -1 );
124 fgSizerESeriesResults->Add( m_ESeries3RSolution1, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
125
126 m_ESeries_Sol3R = new wxTextCtrl( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
127 m_ESeries_Sol3R->SetMinSize( wxSize( 200,-1 ) );
128
129 fgSizerESeriesResults->Add( m_ESeries_Sol3R, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 );
130
131 m_ESeriesAltErr = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("Approximation:"), wxDefaultPosition, wxDefaultSize, 0 );
132 m_ESeriesAltErr->Wrap( -1 );
133 fgSizerESeriesResults->Add( m_ESeriesAltErr, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
134
135 m_ESeriesError3R = new wxTextCtrl( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
136 fgSizerESeriesResults->Add( m_ESeriesError3R, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 3 );
137
138 m_ESeriesAltPercent = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("%"), wxDefaultPosition, wxDefaultSize, 0 );
139 m_ESeriesAltPercent->Wrap( -1 );
140 fgSizerESeriesResults->Add( m_ESeriesAltPercent, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
141
142 m_ESeries4RSolution = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("4R solution:"), wxDefaultPosition, wxDefaultSize, 0 );
143 m_ESeries4RSolution->Wrap( -1 );
144 fgSizerESeriesResults->Add( m_ESeries4RSolution, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
145
146 m_ESeries_Sol4R = new wxTextCtrl( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
147 m_ESeries_Sol4R->SetMinSize( wxSize( 200,-1 ) );
148
149 fgSizerESeriesResults->Add( m_ESeries_Sol4R, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxEXPAND, 5 );
150
151 m_ESeriesAltErr1 = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("Approximation:"), wxDefaultPosition, wxDefaultSize, 0 );
152 m_ESeriesAltErr1->Wrap( -1 );
153 fgSizerESeriesResults->Add( m_ESeriesAltErr1, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
154
155 m_ESeriesError4R = new wxTextCtrl( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
156 fgSizerESeriesResults->Add( m_ESeriesError4R, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 3 );
157
158 m_ESeriesAltPercent1 = new wxStaticText( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("%"), wxDefaultPosition, wxDefaultSize, 0 );
159 m_ESeriesAltPercent1->Wrap( -1 );
160 fgSizerESeriesResults->Add( m_ESeriesAltPercent1, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
161
162
163 sbSizerESeriesSolutions->Add( fgSizerESeriesResults, 0, wxBOTTOM|wxEXPAND, 5 );
164
165 m_staticline7 = new wxStaticLine( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
166 sbSizerESeriesSolutions->Add( m_staticline7, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
167
168 m_buttonEScalculate = new wxButton( sbSizerESeriesSolutions->GetStaticBox(), wxID_ANY, _("Calculate"), wxDefaultPosition, wxDefaultSize, 0 );
169 sbSizerESeriesSolutions->Add( m_buttonEScalculate, 0, wxALL, 5 );
170
171
172 bMiddleSizerESeries->Add( sbSizerESeriesSolutions, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
173
174 wxBoxSizer* bSizer47;
175 bSizer47 = new wxBoxSizer( wxVERTICAL );
176
177
178 bMiddleSizerESeries->Add( bSizer47, 1, wxALIGN_BOTTOM, 5 );
179
180
181 bSizerESeries->Add( bMiddleSizerESeries, 0, wxEXPAND|wxTOP|wxRIGHT, 5 );
182
183 wxBoxSizer* bLowerESeries;
184 bLowerESeries = new wxBoxSizer( wxHORIZONTAL );
185
186 wxStaticBoxSizer* sbLowerSizerEseriesHelp;
187 sbLowerSizerEseriesHelp = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Help") ), wxVERTICAL );
188
189 m_panelESeriesHelp = new HTML_WINDOW( sbLowerSizerEseriesHelp->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
190 m_panelESeriesHelp->SetMinSize( wxSize( -1,100 ) );
191
192 sbLowerSizerEseriesHelp->Add( m_panelESeriesHelp, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
193
194
195 bLowerESeries->Add( sbLowerSizerEseriesHelp, 1, wxEXPAND|wxALL, 5 );
196
197
198 bSizerESeries->Add( bLowerESeries, 1, wxEXPAND|wxBOTTOM|wxRIGHT, 5 );
199
200
201 this->SetSizer( bSizerESeries );
202 this->Layout();
203 bSizerESeries->Fit( this );
204
205 // Connect Events
206 m_e1->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
207 m_e3->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
208 m_e6->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
209 m_e12->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
210 m_e24->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
211 m_buttonEScalculate->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnCalculateESeries ), NULL, this );
212}
const char * name
Definition: DXF_plotter.cpp:56
CALCULATOR_PANEL(wxWindow *aParent, wxWindowID aId, const wxPoint &aPos, const wxSize &aSize, long aStyle, const wxString &aName)
Add dark theme support to wxHtmlWindow.
Definition: html_window.h:34
wxStaticText * m_ESrequired11
wxTextCtrl * m_ESeries_Sol2R
wxStaticText * m_ESrequired
wxTextCtrl * m_ESeriesError4R
wxTextCtrl * m_ESeriesError3R
virtual void OnCalculateESeries(wxCommandEvent &event)
wxRadioButton * m_e6
wxStaticText * m_ESeriesAltErr
wxStaticText * m_ESeriesSimpleErr
wxTextCtrl * m_ESeries_Sol3R
HTML_WINDOW * m_panelESeriesHelp
wxRadioButton * m_e12
virtual void OnESeriesSelection(wxCommandEvent &event)
wxRadioButton * m_e24
wxStaticLine * m_staticline7
wxStaticText * m_ESeriesAltErr1
wxStaticText * m_ESeries3RSolution1
wxStaticLine * m_staticline6
wxStaticText * m_ESrequired1
wxTextCtrl * m_ResExclude1
wxTextCtrl * m_ESeries_Sol4R
wxTextCtrl * m_ResExclude2
wxStaticText * m_ESeries4RSolution
wxRadioButton * m_e1
wxStaticText * m_exclude2Units
wxRadioButton * m_e3
wxStaticText * m_ESeriesSimpleSolution
wxButton * m_buttonEScalculate
wxStaticText * m_reqResUnits
wxStaticText * m_ESeriesSimplePercent
wxStaticText * m_ESeriesAltPercent1
wxStaticText * m_ESeriesAltPercent
wxStaticText * m_exclude1Units
wxTextCtrl * m_ResRequired
wxTextCtrl * m_ESeriesError2R
#define _(s)

References _, m_buttonEScalculate, m_e1, m_e12, m_e24, m_e3, m_e6, m_ESeries3RSolution1, m_ESeries4RSolution, m_ESeries_Sol2R, m_ESeries_Sol3R, m_ESeries_Sol4R, m_ESeriesAltErr, m_ESeriesAltErr1, m_ESeriesAltPercent, m_ESeriesAltPercent1, m_ESeriesError2R, m_ESeriesError3R, m_ESeriesError4R, m_ESeriesSimpleErr, m_ESeriesSimplePercent, m_ESeriesSimpleSolution, m_ESrequired, m_ESrequired1, m_ESrequired11, m_exclude1Units, m_exclude2Units, m_panelESeriesHelp, m_reqResUnits, m_ResExclude1, m_ResExclude2, m_ResRequired, m_staticline6, m_staticline7, OnCalculateESeries(), and OnESeriesSelection().

◆ ~PANEL_E_SERIES_BASE()

PANEL_E_SERIES_BASE::~PANEL_E_SERIES_BASE ( )

Definition at line 214 of file panel_eseries_base.cpp.

215{
216 // Disconnect Events
217 m_e1->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
218 m_e3->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
219 m_e6->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
220 m_e12->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
221 m_e24->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnESeriesSelection ), NULL, this );
222 m_buttonEScalculate->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_E_SERIES_BASE::OnCalculateESeries ), NULL, this );
223
224}

References m_buttonEScalculate, m_e1, m_e12, m_e24, m_e3, m_e6, OnCalculateESeries(), and OnESeriesSelection().

Member Function Documentation

◆ LoadSettings()

virtual void CALCULATOR_PANEL::LoadSettings ( PCB_CALCULATOR_SETTINGS aCfg)
pure virtualinherited

◆ OnCalculateESeries()

virtual void PANEL_E_SERIES_BASE::OnCalculateESeries ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_E_SERIES.

Definition at line 80 of file panel_eseries_base.h.

80{ event.Skip(); }

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

◆ OnESeriesSelection()

virtual void PANEL_E_SERIES_BASE::OnESeriesSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_E_SERIES.

Definition at line 79 of file panel_eseries_base.h.

79{ event.Skip(); }

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

◆ SaveSettings()

virtual void CALCULATOR_PANEL::SaveSettings ( PCB_CALCULATOR_SETTINGS aCfg)
pure virtualinherited

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
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_E_SERIES, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.

Member Data Documentation

◆ m_buttonEScalculate

wxButton* PANEL_E_SERIES_BASE::m_buttonEScalculate
protected

Definition at line 75 of file panel_eseries_base.h.

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

◆ m_e1

wxRadioButton* PANEL_E_SERIES_BASE::m_e1
protected

◆ m_e12

wxRadioButton* PANEL_E_SERIES_BASE::m_e12
protected

◆ m_e24

wxRadioButton* PANEL_E_SERIES_BASE::m_e24
protected

◆ m_e3

wxRadioButton* PANEL_E_SERIES_BASE::m_e3
protected

◆ m_e6

wxRadioButton* PANEL_E_SERIES_BASE::m_e6
protected

Definition at line 56 of file panel_eseries_base.h.

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

◆ m_ESeries3RSolution1

wxStaticText* PANEL_E_SERIES_BASE::m_ESeries3RSolution1
protected

Definition at line 64 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeries4RSolution

wxStaticText* PANEL_E_SERIES_BASE::m_ESeries4RSolution
protected

Definition at line 69 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeries_Sol2R

wxTextCtrl* PANEL_E_SERIES_BASE::m_ESeries_Sol2R
protected

Definition at line 60 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES::OnCalculateESeries(), and PANEL_E_SERIES_BASE().

◆ m_ESeries_Sol3R

wxTextCtrl* PANEL_E_SERIES_BASE::m_ESeries_Sol3R
protected

Definition at line 65 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES::OnCalculateESeries(), and PANEL_E_SERIES_BASE().

◆ m_ESeries_Sol4R

wxTextCtrl* PANEL_E_SERIES_BASE::m_ESeries_Sol4R
protected

Definition at line 70 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES::OnCalculateESeries(), and PANEL_E_SERIES_BASE().

◆ m_ESeriesAltErr

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesAltErr
protected

Definition at line 66 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeriesAltErr1

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesAltErr1
protected

Definition at line 71 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeriesAltPercent

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesAltPercent
protected

Definition at line 68 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeriesAltPercent1

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesAltPercent1
protected

Definition at line 73 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeriesError2R

wxTextCtrl* PANEL_E_SERIES_BASE::m_ESeriesError2R
protected

◆ m_ESeriesError3R

wxTextCtrl* PANEL_E_SERIES_BASE::m_ESeriesError3R
protected

◆ m_ESeriesError4R

wxTextCtrl* PANEL_E_SERIES_BASE::m_ESeriesError4R
protected

◆ m_ESeriesSimpleErr

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesSimpleErr
protected

Definition at line 61 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeriesSimplePercent

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesSimplePercent
protected

Definition at line 63 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESeriesSimpleSolution

wxStaticText* PANEL_E_SERIES_BASE::m_ESeriesSimpleSolution
protected

Definition at line 59 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESrequired

wxStaticText* PANEL_E_SERIES_BASE::m_ESrequired
protected

Definition at line 44 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESrequired1

wxStaticText* PANEL_E_SERIES_BASE::m_ESrequired1
protected

Definition at line 47 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_ESrequired11

wxStaticText* PANEL_E_SERIES_BASE::m_ESrequired11
protected

Definition at line 50 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_exclude1Units

wxStaticText* PANEL_E_SERIES_BASE::m_exclude1Units
protected

Definition at line 49 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES::PANEL_E_SERIES(), and PANEL_E_SERIES_BASE().

◆ m_exclude2Units

wxStaticText* PANEL_E_SERIES_BASE::m_exclude2Units
protected

Definition at line 52 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES::PANEL_E_SERIES(), and PANEL_E_SERIES_BASE().

◆ m_panelESeriesHelp

HTML_WINDOW* PANEL_E_SERIES_BASE::m_panelESeriesHelp
protected

◆ m_reqResUnits

wxStaticText* PANEL_E_SERIES_BASE::m_reqResUnits
protected

Definition at line 46 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES::PANEL_E_SERIES(), and PANEL_E_SERIES_BASE().

◆ m_ResExclude1

wxTextCtrl* PANEL_E_SERIES_BASE::m_ResExclude1
protected

◆ m_ResExclude2

wxTextCtrl* PANEL_E_SERIES_BASE::m_ResExclude2
protected

◆ m_ResRequired

wxTextCtrl* PANEL_E_SERIES_BASE::m_ResRequired
protected

◆ m_staticline6

wxStaticLine* PANEL_E_SERIES_BASE::m_staticline6
protected

Definition at line 53 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().

◆ m_staticline7

wxStaticLine* PANEL_E_SERIES_BASE::m_staticline7
protected

Definition at line 74 of file panel_eseries_base.h.

Referenced by PANEL_E_SERIES_BASE().


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