KiCad PCB EDA Suite
DIALOG_SPICE_MODEL_BASE Class Reference

Class DIALOG_SPICE_MODEL_BASE. More...

#include <dialog_spice_model_base.h>

Inheritance diagram for DIALOG_SPICE_MODEL_BASE:
DIALOG_SHIM KIWAY_HOLDER DIALOG_SPICE_MODEL

Public Types

enum  HOLDER_TYPE { DIALOG, FRAME, PANEL }
 

Public Member Functions

 DIALOG_SPICE_MODEL_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Spice Model Editor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
 ~DIALOG_SPICE_MODEL_BASE ()
 
void SetInitialFocus (wxWindow *aWindow)
 Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown. More...
 
int ShowQuasiModal ()
 
void EndQuasiModal (int retCode)
 
bool IsQuasiModal () const
 
bool Show (bool show) override
 
bool Enable (bool enable) override
 
void OnPaint (wxPaintEvent &event)
 
void OnModify ()
 
void SetPosition (const wxPoint &aNewPosition)
 Force the position of the dialog to a new position. More...
 
EDA_UNITS GetUserUnits () const
 
HOLDER_TYPE GetType () const
 
KIWAYKiway () const
 Return a reference to the KIWAY that this object has an opportunity to participate in. More...
 
PROJECTPrj () const
 Return a reference to the PROJECT associated with this KIWAY. More...
 
void SetKiway (wxWindow *aDest, KIWAY *aKiway)
 It is only used for debugging, since "this" is not a wxWindow*. More...
 

Static Public Member Functions

static bool IsCtrl (int aChar, const wxKeyEvent &e)
 
static bool IsShiftCtrl (int aChar, const wxKeyEvent &e)
 

Protected Member Functions

virtual void onInitDlg (wxInitDialogEvent &event)
 
virtual void onSelectLibrary (wxCommandEvent &event)
 
virtual void onModelSelected (wxCommandEvent &event)
 
virtual void onTypeSelected (wxCommandEvent &event)
 
virtual void onPwlAdd (wxCommandEvent &event)
 
virtual void onPwlRemove (wxCommandEvent &event)
 
virtual void onRandomSourceType (wxCommandEvent &event)
 
void finishDialogSettings ()
 In all dialogs, we must call the same functions to fix minimal dlg size, the default position and perhaps some others to fix a few issues depending on Windows Managers this helper function does these calls. More...
 
void setSizeInDU (int x, int y)
 Set the dialog to the given dimensions in "dialog units". More...
 
int horizPixelsFromDU (int x) const
 Convert an integer number of dialog units to pixels, horizontally. More...
 
int vertPixelsFromDU (int y) const
 Convert an integer number of dialog units to pixels, vertically. More...
 
void resetSize ()
 Clear the existing dialog size and position. More...
 
virtual void OnCharHook (wxKeyEvent &aEvt)
 

Protected Attributes

wxNotebook * m_notebook
 
wxPanel * m_passive
 
wxStaticText * m_staticTextPtype
 
wxComboBox * m_pasType
 
wxStaticText * m_staticText62
 
wxStaticText * m_staticTextPvalue
 
wxTextCtrl * m_pasValue
 
wxStaticText * m_staticTextSpVal
 
wxStaticLine * m_staticline1
 
wxStaticText * m_staticText32
 
wxStaticText * m_staticText321
 
wxStaticText * m_staticTextF1
 
wxStaticText * m_staticTextF2
 
wxStaticText * m_staticTextF3
 
wxStaticText * m_staticTextP1
 
wxStaticText * m_staticTextP2
 
wxStaticText * m_staticTextP3
 
wxStaticText * m_staticTextN1
 
wxStaticText * m_staticTextN2
 
wxStaticText * m_staticTextN3
 
wxStaticText * m_staticTextU1
 
wxStaticText * m_staticTextU2
 
wxStaticText * m_staticTextU3
 
wxStaticText * m_staticTextM1
 
wxStaticText * m_staticTextM2
 
wxStaticText * m_staticTextM3
 
wxStaticText * m_staticTextK1
 
wxStaticText * m_staticTextK2
 
wxStaticText * m_staticTextK3
 
wxStaticText * m_staticTextMeg1
 
wxStaticText * m_staticTextMeg2
 
wxStaticText * m_staticTextMeg3
 
wxStaticText * m_staticTextG1
 
wxStaticText * m_staticTextG2
 
wxStaticText * m_staticTextG3
 
wxStaticText * m_staticTextT1
 
wxStaticText * m_staticTextT2
 
wxStaticText * m_staticTextT3
 
wxPanel * m_model
 
wxStaticText * m_staticText7
 
wxTextCtrl * m_modelLibrary
 
wxButton * m_selectLibrary
 
wxStaticText * m_staticText5
 
wxComboBox * m_modelName
 
wxStaticText * m_staticText4
 
wxComboBox * m_modelType
 
wxStaticText * m_staticTextNote
 
wxStaticText * m_stInfoNote
 
wxStyledTextCtrl * m_libraryContents
 
wxPanel * m_power
 
wxStaticText * m_staticText10
 
wxTextCtrl * m_genDc
 
wxStaticText * m_staticText113
 
wxStaticText * m_staticText11
 
wxTextCtrl * m_genAcMag
 
wxStaticText * m_staticText111
 
wxStaticText * m_staticText12
 
wxTextCtrl * m_genAcPhase
 
wxStaticText * m_staticText112
 
wxNotebook * m_powerNotebook
 
wxPanel * m_pwrPulse
 
wxStaticText * m_staticText13
 
wxTextCtrl * m_pulseInit
 
wxStaticText * m_staticText131
 
wxStaticText * m_staticText14
 
wxTextCtrl * m_pulseNominal
 
wxStaticText * m_staticText132
 
wxStaticText * m_staticText15
 
wxTextCtrl * m_pulseDelay
 
wxStaticText * m_staticText133
 
wxStaticText * m_staticText16
 
wxTextCtrl * m_pulseRise
 
wxStaticText * m_staticText134
 
wxStaticText * m_staticText17
 
wxTextCtrl * m_pulseFall
 
wxStaticText * m_staticText135
 
wxStaticText * m_staticText18
 
wxTextCtrl * m_pulseWidth
 
wxStaticText * m_staticText136
 
wxStaticText * m_staticText20
 
wxTextCtrl * m_pulsePeriod
 
wxStaticText * m_staticText137
 
wxPanel * m_pwrSin
 
wxStaticText * m_staticText21
 
wxTextCtrl * m_sinOffset
 
wxStaticText * m_staticText211
 
wxStaticText * m_staticText22
 
wxTextCtrl * m_sinAmplitude
 
wxStaticText * m_staticText212
 
wxStaticText * m_staticText23
 
wxTextCtrl * m_sinFreq
 
wxStaticText * m_staticText213
 
wxStaticText * m_staticText24
 
wxTextCtrl * m_sinDelay
 
wxStaticText * m_staticText214
 
wxStaticText * m_staticText25
 
wxTextCtrl * m_sinDampFactor
 
wxStaticText * m_staticText215
 
wxPanel * m_pwrExp
 
wxStaticText * m_staticText26
 
wxTextCtrl * m_expInit
 
wxStaticText * m_staticText261
 
wxStaticText * m_staticText27
 
wxTextCtrl * m_expPulsed
 
wxStaticText * m_staticText262
 
wxStaticText * m_staticText28
 
wxTextCtrl * m_expRiseDelay
 
wxStaticText * m_staticText263
 
wxStaticText * m_staticText29
 
wxTextCtrl * m_expRiseConst
 
wxStaticText * m_staticText264
 
wxStaticText * m_staticText30
 
wxTextCtrl * m_expFallDelay
 
wxStaticText * m_staticText265
 
wxStaticText * m_staticText31
 
wxTextCtrl * m_expFallConst
 
wxStaticText * m_staticText266
 
wxPanel * m_pwrPwl
 
wxStaticText * m_staticText34
 
wxTextCtrl * m_pwlTime
 
wxStaticText * m_staticText342
 
wxStaticText * m_staticText35
 
wxTextCtrl * m_pwlValue
 
wxStaticText * m_staticText343
 
wxButton * m_pwlAddButton
 
wxListCtrl * m_pwlValList
 
wxButton * m_pwlRemoveBtn
 
wxPanel * m_pwrFm
 
wxStaticText * m_staticText138
 
wxTextCtrl * m_fmOffset
 
wxStaticText * m_staticText1311
 
wxStaticText * m_staticText141
 
wxTextCtrl * m_fmAmplitude
 
wxStaticText * m_staticText1321
 
wxStaticText * m_staticText151
 
wxTextCtrl * m_fmFcarrier
 
wxStaticText * m_staticText1331
 
wxStaticText * m_staticText161
 
wxTextCtrl * m_fmModIndex
 
wxStaticText * m_staticText1341
 
wxStaticText * m_staticText171
 
wxTextCtrl * m_fmFsignal
 
wxStaticText * m_staticText1351
 
wxStaticText * m_staticText181
 
wxTextCtrl * m_fmPhaseC
 
wxStaticText * m_staticText1361
 
wxStaticText * m_staticText201
 
wxTextCtrl * m_fmPhaseS
 
wxStaticText * m_staticText1371
 
wxPanel * m_pwrAm
 
wxStaticText * m_staticText1381
 
wxTextCtrl * m_amAmplitude
 
wxStaticText * m_staticText13111
 
wxStaticText * m_staticText1411
 
wxTextCtrl * m_amOffset
 
wxStaticText * m_staticText13211
 
wxStaticText * m_staticText1511
 
wxTextCtrl * m_amModulatingFreq
 
wxStaticText * m_staticText13311
 
wxStaticText * m_staticText1611
 
wxTextCtrl * m_amCarrierFreq
 
wxStaticText * m_staticText13411
 
wxStaticText * m_staticText1711
 
wxTextCtrl * m_amSignalDelay
 
wxStaticText * m_staticText13511
 
wxStaticText * m_staticText1811
 
wxTextCtrl * m_amPhase
 
wxStaticText * m_staticText13611
 
wxPanel * m_pwrTransNoise
 
wxPanel * m_pwrRandom
 
wxStaticText * m_staticText27111
 
wxChoice * m_rnType
 
wxStaticText * m_staticText26711
 
wxTextCtrl * m_rnTS
 
wxStaticText * m_staticText262111
 
wxStaticText * m_staticText28111
 
wxTextCtrl * m_rnTD
 
wxStaticText * m_staticText263111
 
wxStaticText * m_rnParam1Text
 
wxTextCtrl * m_rnParam1
 
wxStaticText * m_rnParam2Text
 
wxTextCtrl * m_rnParam2
 
wxPanel * m_pwrExtData
 
wxRadioBox * m_pwrType
 
wxStaticLine * m_staticline2
 
wxCheckBox * m_disabled
 
wxCheckBox * m_nodeSeqCheck
 
wxTextCtrl * m_nodeSeqVal
 
wxStaticLine * m_staticline3
 
wxStdDialogButtonSizer * m_sdbSizer
 
wxButton * m_sdbSizerOK
 
wxButton * m_sdbSizerCancel
 
EDA_UNITS m_units
 
std::string m_hash_key
 
bool m_useCalculatedSize
 
bool m_firstPaintEvent
 
wxWindow * m_initialFocusTarget
 
WX_EVENT_LOOPm_qmodal_loop
 
bool m_qmodal_showing
 
WDO_ENABLE_DISABLEm_qmodal_parent_disabler
 
EDA_BASE_FRAMEm_parentFrame
 
std::vector< wxWindow * > m_tabOrder
 
wxSize m_initialSize
 

Detailed Description

Class DIALOG_SPICE_MODEL_BASE.

Definition at line 44 of file dialog_spice_model_base.h.

Member Enumeration Documentation

◆ HOLDER_TYPE

enum KIWAY_HOLDER::HOLDER_TYPE
inherited
Enumerator
DIALOG 
FRAME 
PANEL 

Definition at line 39 of file kiway_holder.h.

Constructor & Destructor Documentation

◆ DIALOG_SPICE_MODEL_BASE()

DIALOG_SPICE_MODEL_BASE::DIALOG_SPICE_MODEL_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = _("Spice Model Editor"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER 
)

Definition at line 12 of file dialog_spice_model_base.cpp.

12  : DIALOG_SHIM( parent, id, title, pos, size, style )
13 {
14  this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
15 
16  wxBoxSizer* bSizer1;
17  bSizer1 = new wxBoxSizer( wxVERTICAL );
18 
19  m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
20  m_passive = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
21  wxBoxSizer* bSizer41;
22  bSizer41 = new wxBoxSizer( wxVERTICAL );
23 
24  wxFlexGridSizer* fgSizer1;
25  fgSizer1 = new wxFlexGridSizer( 0, 3, 0, 0 );
26  fgSizer1->AddGrowableCol( 1 );
27  fgSizer1->SetFlexibleDirection( wxBOTH );
28  fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
29 
30  m_staticTextPtype = new wxStaticText( m_passive, wxID_ANY, _("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
31  m_staticTextPtype->Wrap( -1 );
32  fgSizer1->Add( m_staticTextPtype, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
33 
34  m_pasType = new wxComboBox( m_passive, wxID_ANY, _("Resistor"), wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_READONLY );
35  m_pasType->Append( _("Resistor") );
36  m_pasType->Append( _("Capacitor") );
37  m_pasType->Append( _("Inductor") );
38  m_pasType->SetSelection( 0 );
39  fgSizer1->Add( m_pasType, 0, wxALL|wxEXPAND, 5 );
40 
41  m_staticText62 = new wxStaticText( m_passive, wxID_ANY, _("Passive type"), wxDefaultPosition, wxDefaultSize, 0 );
42  m_staticText62->Wrap( -1 );
43  fgSizer1->Add( m_staticText62, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
44 
45  m_staticTextPvalue = new wxStaticText( m_passive, wxID_ANY, _("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
46  m_staticTextPvalue->Wrap( -1 );
47  fgSizer1->Add( m_staticTextPvalue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
48 
49  m_pasValue = new wxTextCtrl( m_passive, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
50  m_pasValue->SetMinSize( wxSize( 200,-1 ) );
51 
52  fgSizer1->Add( m_pasValue, 0, wxALL|wxEXPAND, 5 );
53 
54  m_staticTextSpVal = new wxStaticText( m_passive, wxID_ANY, _("Spice value in simulation"), wxDefaultPosition, wxDefaultSize, 0 );
55  m_staticTextSpVal->Wrap( -1 );
56  fgSizer1->Add( m_staticTextSpVal, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
57 
58 
59  bSizer41->Add( fgSizer1, 0, wxEXPAND|wxALL, 5 );
60 
61  m_staticline1 = new wxStaticLine( m_passive, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
62  bSizer41->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
63 
64  wxBoxSizer* bSizerUnits;
65  bSizerUnits = new wxBoxSizer( wxVERTICAL );
66 
67  m_staticText32 = new wxStaticText( m_passive, wxID_ANY, _("In Spice values, the decimal separator is the point.\nValues can use Spice unit symbols."), wxDefaultPosition, wxDefaultSize, 0 );
68  m_staticText32->Wrap( -1 );
69  bSizerUnits->Add( m_staticText32, 0, wxALL, 5 );
70 
71  m_staticText321 = new wxStaticText( m_passive, wxID_ANY, _("Spice unit symbols in values (case insensitive):"), wxDefaultPosition, wxDefaultSize, 0 );
72  m_staticText321->Wrap( -1 );
73  bSizerUnits->Add( m_staticText321, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
74 
75  wxFlexGridSizer* fgSizerUnitSymbols;
76  fgSizerUnitSymbols = new wxFlexGridSizer( 0, 3, 0, 0 );
77  fgSizerUnitSymbols->AddGrowableCol( 1 );
78  fgSizerUnitSymbols->SetFlexibleDirection( wxBOTH );
79  fgSizerUnitSymbols->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
80 
81  m_staticTextF1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
82  m_staticTextF1->Wrap( -1 );
83  fgSizerUnitSymbols->Add( m_staticTextF1, 0, wxALL, 5 );
84 
85  m_staticTextF2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
86  m_staticTextF2->Wrap( -1 );
87  fgSizerUnitSymbols->Add( m_staticTextF2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
88 
89  m_staticTextF3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
90  m_staticTextF3->Wrap( -1 );
91  fgSizerUnitSymbols->Add( m_staticTextF3, 0, wxALL, 5 );
92 
93  m_staticTextP1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
94  m_staticTextP1->Wrap( -1 );
95  fgSizerUnitSymbols->Add( m_staticTextP1, 0, wxALL, 5 );
96 
97  m_staticTextP2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
98  m_staticTextP2->Wrap( -1 );
99  fgSizerUnitSymbols->Add( m_staticTextP2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
100 
101  m_staticTextP3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
102  m_staticTextP3->Wrap( -1 );
103  fgSizerUnitSymbols->Add( m_staticTextP3, 0, wxALL, 5 );
104 
105  m_staticTextN1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
106  m_staticTextN1->Wrap( -1 );
107  fgSizerUnitSymbols->Add( m_staticTextN1, 0, wxALL, 5 );
108 
109  m_staticTextN2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
110  m_staticTextN2->Wrap( -1 );
111  fgSizerUnitSymbols->Add( m_staticTextN2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
112 
113  m_staticTextN3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
114  m_staticTextN3->Wrap( -1 );
115  fgSizerUnitSymbols->Add( m_staticTextN3, 0, wxALL, 5 );
116 
117  m_staticTextU1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
118  m_staticTextU1->Wrap( -1 );
119  fgSizerUnitSymbols->Add( m_staticTextU1, 0, wxALL, 5 );
120 
121  m_staticTextU2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
122  m_staticTextU2->Wrap( -1 );
123  fgSizerUnitSymbols->Add( m_staticTextU2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
124 
125  m_staticTextU3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
126  m_staticTextU3->Wrap( -1 );
127  fgSizerUnitSymbols->Add( m_staticTextU3, 0, wxALL, 5 );
128 
129  m_staticTextM1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
130  m_staticTextM1->Wrap( -1 );
131  fgSizerUnitSymbols->Add( m_staticTextM1, 0, wxALL, 5 );
132 
133  m_staticTextM2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
134  m_staticTextM2->Wrap( -1 );
135  fgSizerUnitSymbols->Add( m_staticTextM2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
136 
137  m_staticTextM3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
138  m_staticTextM3->Wrap( -1 );
139  fgSizerUnitSymbols->Add( m_staticTextM3, 0, wxALL, 5 );
140 
141  m_staticTextK1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
142  m_staticTextK1->Wrap( -1 );
143  fgSizerUnitSymbols->Add( m_staticTextK1, 0, wxALL, 5 );
144 
145  m_staticTextK2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
146  m_staticTextK2->Wrap( -1 );
147  fgSizerUnitSymbols->Add( m_staticTextK2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
148 
149  m_staticTextK3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
150  m_staticTextK3->Wrap( -1 );
151  fgSizerUnitSymbols->Add( m_staticTextK3, 0, wxALL, 5 );
152 
153  m_staticTextMeg1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
154  m_staticTextMeg1->Wrap( -1 );
155  fgSizerUnitSymbols->Add( m_staticTextMeg1, 0, wxALL, 5 );
156 
157  m_staticTextMeg2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
158  m_staticTextMeg2->Wrap( -1 );
159  fgSizerUnitSymbols->Add( m_staticTextMeg2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
160 
161  m_staticTextMeg3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
162  m_staticTextMeg3->Wrap( -1 );
163  fgSizerUnitSymbols->Add( m_staticTextMeg3, 0, wxALL, 5 );
164 
165  m_staticTextG1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
166  m_staticTextG1->Wrap( -1 );
167  fgSizerUnitSymbols->Add( m_staticTextG1, 0, wxALL, 5 );
168 
169  m_staticTextG2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
170  m_staticTextG2->Wrap( -1 );
171  fgSizerUnitSymbols->Add( m_staticTextG2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
172 
173  m_staticTextG3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
174  m_staticTextG3->Wrap( -1 );
175  fgSizerUnitSymbols->Add( m_staticTextG3, 0, wxALL, 5 );
176 
177  m_staticTextT1 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
178  m_staticTextT1->Wrap( -1 );
179  fgSizerUnitSymbols->Add( m_staticTextT1, 0, wxALL, 5 );
180 
181  m_staticTextT2 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
182  m_staticTextT2->Wrap( -1 );
183  fgSizerUnitSymbols->Add( m_staticTextT2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
184 
185  m_staticTextT3 = new wxStaticText( m_passive, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
186  m_staticTextT3->Wrap( -1 );
187  fgSizerUnitSymbols->Add( m_staticTextT3, 0, wxALL, 5 );
188 
189 
190  bSizerUnits->Add( fgSizerUnitSymbols, 1, wxEXPAND, 5 );
191 
192 
193  bSizer41->Add( bSizerUnits, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
194 
195 
196  m_passive->SetSizer( bSizer41 );
197  m_passive->Layout();
198  bSizer41->Fit( m_passive );
199  m_notebook->AddPage( m_passive, _("Passive"), true );
200  m_model = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
201  wxBoxSizer* bSizer6;
202  bSizer6 = new wxBoxSizer( wxVERTICAL );
203 
204  wxFlexGridSizer* fgSizer3;
205  fgSizer3 = new wxFlexGridSizer( 0, 2, 0, 0 );
206  fgSizer3->AddGrowableCol( 1 );
207  fgSizer3->SetFlexibleDirection( wxBOTH );
208  fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
209 
210  m_staticText7 = new wxStaticText( m_model, wxID_ANY, _("Library:"), wxDefaultPosition, wxDefaultSize, 0 );
211  m_staticText7->Wrap( -1 );
212  fgSizer3->Add( m_staticText7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
213 
214  wxBoxSizer* bSizer7;
215  bSizer7 = new wxBoxSizer( wxHORIZONTAL );
216 
217  m_modelLibrary = new wxTextCtrl( m_model, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
218  bSizer7->Add( m_modelLibrary, 1, wxALL|wxEXPAND, 5 );
219 
220  m_selectLibrary = new wxButton( m_model, wxID_ANY, _("Select file..."), wxDefaultPosition, wxDefaultSize, 0 );
221  bSizer7->Add( m_selectLibrary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
222 
223 
224  fgSizer3->Add( bSizer7, 1, wxBOTTOM|wxEXPAND, 5 );
225 
226  m_staticText5 = new wxStaticText( m_model, wxID_ANY, _("Model:"), wxDefaultPosition, wxDefaultSize, 0 );
227  m_staticText5->Wrap( -1 );
228  fgSizer3->Add( m_staticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
229 
230  m_modelName = new wxComboBox( m_model, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_SORT );
231  fgSizer3->Add( m_modelName, 0, wxALL|wxEXPAND, 5 );
232 
233  m_staticText4 = new wxStaticText( m_model, wxID_ANY, _("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
234  m_staticText4->Wrap( -1 );
235  fgSizer3->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
236 
237  m_modelType = new wxComboBox( m_model, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_READONLY );
238  fgSizer3->Add( m_modelType, 0, wxALL|wxEXPAND, 5 );
239 
240  m_staticTextNote = new wxStaticText( m_model, wxID_ANY, _("Note:"), wxDefaultPosition, wxDefaultSize, 0 );
241  m_staticTextNote->Wrap( -1 );
242  fgSizer3->Add( m_staticTextNote, 0, wxALL, 5 );
243 
244  m_stInfoNote = new wxStaticText( m_model, wxID_ANY, _("note"), wxDefaultPosition, wxDefaultSize, 0 );
245  m_stInfoNote->Wrap( -1 );
246  fgSizer3->Add( m_stInfoNote, 0, wxALL, 5 );
247 
248 
249  bSizer6->Add( fgSizer3, 0, wxEXPAND, 5 );
250 
251  m_libraryContents = new wxStyledTextCtrl( m_model, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, wxEmptyString );
252  m_libraryContents->SetUseTabs( false );
253  m_libraryContents->SetTabWidth( 4 );
254  m_libraryContents->SetIndent( 4 );
255  m_libraryContents->SetTabIndents( true );
256  m_libraryContents->SetBackSpaceUnIndents( true );
257  m_libraryContents->SetViewEOL( false );
258  m_libraryContents->SetViewWhiteSpace( false );
259  m_libraryContents->SetMarginWidth( 2, 0 );
260  m_libraryContents->SetIndentationGuides( false );
261  m_libraryContents->SetReadOnly( false );
262  m_libraryContents->SetMarginWidth( 1, 0 );
263  m_libraryContents->SetMarginType( 0, wxSTC_MARGIN_NUMBER );
264  m_libraryContents->SetMarginWidth( 0, m_libraryContents->TextWidth( wxSTC_STYLE_LINENUMBER, wxT("_99999") ) );
265  {
266  wxFont font = wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_TELETYPE, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString );
267  m_libraryContents->StyleSetFont( wxSTC_STYLE_DEFAULT, font );
268  }
269  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDER, wxSTC_MARK_BOXPLUS );
270  m_libraryContents->MarkerSetBackground( wxSTC_MARKNUM_FOLDER, wxColour( wxT("BLACK") ) );
271  m_libraryContents->MarkerSetForeground( wxSTC_MARKNUM_FOLDER, wxColour( wxT("WHITE") ) );
272  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDEROPEN, wxSTC_MARK_BOXMINUS );
273  m_libraryContents->MarkerSetBackground( wxSTC_MARKNUM_FOLDEROPEN, wxColour( wxT("BLACK") ) );
274  m_libraryContents->MarkerSetForeground( wxSTC_MARKNUM_FOLDEROPEN, wxColour( wxT("WHITE") ) );
275  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDERSUB, wxSTC_MARK_EMPTY );
276  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDEREND, wxSTC_MARK_BOXPLUS );
277  m_libraryContents->MarkerSetBackground( wxSTC_MARKNUM_FOLDEREND, wxColour( wxT("BLACK") ) );
278  m_libraryContents->MarkerSetForeground( wxSTC_MARKNUM_FOLDEREND, wxColour( wxT("WHITE") ) );
279  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDEROPENMID, wxSTC_MARK_BOXMINUS );
280  m_libraryContents->MarkerSetBackground( wxSTC_MARKNUM_FOLDEROPENMID, wxColour( wxT("BLACK") ) );
281  m_libraryContents->MarkerSetForeground( wxSTC_MARKNUM_FOLDEROPENMID, wxColour( wxT("WHITE") ) );
282  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDERMIDTAIL, wxSTC_MARK_EMPTY );
283  m_libraryContents->MarkerDefine( wxSTC_MARKNUM_FOLDERTAIL, wxSTC_MARK_EMPTY );
284  m_libraryContents->SetSelBackground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
285  m_libraryContents->SetSelForeground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHTTEXT ) );
286  m_libraryContents->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_TELETYPE, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
287 
288  bSizer6->Add( m_libraryContents, 1, wxEXPAND | wxALL, 5 );
289 
290 
291  m_model->SetSizer( bSizer6 );
292  m_model->Layout();
293  bSizer6->Fit( m_model );
294  m_notebook->AddPage( m_model, _("Model"), false );
295  m_power = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
296  m_power->SetMinSize( wxSize( 650,-1 ) );
297 
298  wxBoxSizer* bSizer4;
299  bSizer4 = new wxBoxSizer( wxVERTICAL );
300 
301  wxStaticBoxSizer* sbSizer1;
302  sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( m_power, wxID_ANY, _("DC/AC Analysis") ), wxVERTICAL );
303 
304  wxFlexGridSizer* fgSizer6;
305  fgSizer6 = new wxFlexGridSizer( 0, 6, 0, 0 );
306  fgSizer6->AddGrowableCol( 1 );
307  fgSizer6->AddGrowableCol( 3 );
308  fgSizer6->SetFlexibleDirection( wxBOTH );
309  fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
310 
311  m_staticText10 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("DC:"), wxDefaultPosition, wxDefaultSize, 0 );
312  m_staticText10->Wrap( -1 );
313  fgSizer6->Add( m_staticText10, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
314 
315  m_genDc = new wxTextCtrl( sbSizer1->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
316  m_genDc->SetMinSize( wxSize( 60,-1 ) );
317 
318  fgSizer6->Add( m_genDc, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
319 
320  m_staticText113 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
321  m_staticText113->Wrap( -1 );
322  fgSizer6->Add( m_staticText113, 0, wxALIGN_CENTER_VERTICAL, 5 );
323 
324 
325  fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
326 
327 
328  fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
329 
330 
331  fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
332 
333  m_staticText11 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("AC magnitude:"), wxDefaultPosition, wxDefaultSize, 0 );
334  m_staticText11->Wrap( -1 );
335  fgSizer6->Add( m_staticText11, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
336 
337  m_genAcMag = new wxTextCtrl( sbSizer1->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
338  m_genAcMag->SetMinSize( wxSize( 60,-1 ) );
339 
340  fgSizer6->Add( m_genAcMag, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
341 
342  m_staticText111 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
343  m_staticText111->Wrap( -1 );
344  fgSizer6->Add( m_staticText111, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
345 
346  m_staticText12 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("AC phase:"), wxDefaultPosition, wxDefaultSize, 0 );
347  m_staticText12->Wrap( -1 );
348  fgSizer6->Add( m_staticText12, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
349 
350  m_genAcPhase = new wxTextCtrl( sbSizer1->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
351  m_genAcPhase->SetMinSize( wxSize( 60,-1 ) );
352 
353  fgSizer6->Add( m_genAcPhase, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxRIGHT, 5 );
354 
355  m_staticText112 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("radians"), wxDefaultPosition, wxDefaultSize, 0 );
356  m_staticText112->Wrap( -1 );
357  fgSizer6->Add( m_staticText112, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
358 
359 
360  sbSizer1->Add( fgSizer6, 1, wxBOTTOM|wxEXPAND, 5 );
361 
362 
363  bSizer4->Add( sbSizer1, 0, wxALL|wxEXPAND, 5 );
364 
365  wxStaticBoxSizer* sbSizer3;
366  sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( m_power, wxID_ANY, _("Transient Analysis") ), wxVERTICAL );
367 
368  m_powerNotebook = new wxNotebook( sbSizer3->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
369  m_pwrPulse = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
370  wxFlexGridSizer* fgSizer7;
371  fgSizer7 = new wxFlexGridSizer( 0, 3, 0, 0 );
372  fgSizer7->AddGrowableCol( 1 );
373  fgSizer7->SetFlexibleDirection( wxBOTH );
374  fgSizer7->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
375 
376  m_staticText13 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Initial value:"), wxDefaultPosition, wxDefaultSize, 0 );
377  m_staticText13->Wrap( -1 );
378  fgSizer7->Add( m_staticText13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
379 
380  m_pulseInit = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
381  m_pulseInit->SetMinSize( wxSize( 100,-1 ) );
382 
383  fgSizer7->Add( m_pulseInit, 0, wxALL|wxEXPAND, 5 );
384 
385  m_staticText131 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
386  m_staticText131->Wrap( -1 );
387  fgSizer7->Add( m_staticText131, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
388 
389  m_staticText14 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Pulsed value:"), wxDefaultPosition, wxDefaultSize, 0 );
390  m_staticText14->Wrap( -1 );
391  fgSizer7->Add( m_staticText14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
392 
393  m_pulseNominal = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
394  fgSizer7->Add( m_pulseNominal, 0, wxALL|wxEXPAND, 5 );
395 
396  m_staticText132 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
397  m_staticText132->Wrap( -1 );
398  fgSizer7->Add( m_staticText132, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
399 
400  m_staticText15 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Delay time:"), wxDefaultPosition, wxDefaultSize, 0 );
401  m_staticText15->Wrap( -1 );
402  fgSizer7->Add( m_staticText15, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
403 
404  m_pulseDelay = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
405  fgSizer7->Add( m_pulseDelay, 0, wxALL|wxEXPAND, 5 );
406 
407  m_staticText133 = new wxStaticText( m_pwrPulse, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
408  m_staticText133->Wrap( -1 );
409  fgSizer7->Add( m_staticText133, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
410 
411  m_staticText16 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Rise time:"), wxDefaultPosition, wxDefaultSize, 0 );
412  m_staticText16->Wrap( -1 );
413  fgSizer7->Add( m_staticText16, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
414 
415  m_pulseRise = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
416  fgSizer7->Add( m_pulseRise, 0, wxALL|wxEXPAND, 5 );
417 
418  m_staticText134 = new wxStaticText( m_pwrPulse, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
419  m_staticText134->Wrap( -1 );
420  fgSizer7->Add( m_staticText134, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
421 
422  m_staticText17 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Fall time:"), wxDefaultPosition, wxDefaultSize, 0 );
423  m_staticText17->Wrap( -1 );
424  fgSizer7->Add( m_staticText17, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
425 
426  m_pulseFall = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
427  fgSizer7->Add( m_pulseFall, 0, wxALL|wxEXPAND, 5 );
428 
429  m_staticText135 = new wxStaticText( m_pwrPulse, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
430  m_staticText135->Wrap( -1 );
431  fgSizer7->Add( m_staticText135, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
432 
433  m_staticText18 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Pulse width:"), wxDefaultPosition, wxDefaultSize, 0 );
434  m_staticText18->Wrap( -1 );
435  fgSizer7->Add( m_staticText18, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
436 
437  m_pulseWidth = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
438  fgSizer7->Add( m_pulseWidth, 0, wxALL|wxEXPAND, 5 );
439 
440  m_staticText136 = new wxStaticText( m_pwrPulse, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
441  m_staticText136->Wrap( -1 );
442  fgSizer7->Add( m_staticText136, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
443 
444  m_staticText20 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Period:"), wxDefaultPosition, wxDefaultSize, 0 );
445  m_staticText20->Wrap( -1 );
446  fgSizer7->Add( m_staticText20, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
447 
448  m_pulsePeriod = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
449  fgSizer7->Add( m_pulsePeriod, 0, wxALL|wxEXPAND, 5 );
450 
451  m_staticText137 = new wxStaticText( m_pwrPulse, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
452  m_staticText137->Wrap( -1 );
453  fgSizer7->Add( m_staticText137, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
454 
455 
456  m_pwrPulse->SetSizer( fgSizer7 );
457  m_pwrPulse->Layout();
458  fgSizer7->Fit( m_pwrPulse );
459  m_powerNotebook->AddPage( m_pwrPulse, _("Pulse"), true );
460  m_pwrSin = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
461  wxFlexGridSizer* fgSizer8;
462  fgSizer8 = new wxFlexGridSizer( 0, 3, 0, 0 );
463  fgSizer8->AddGrowableCol( 1 );
464  fgSizer8->SetFlexibleDirection( wxBOTH );
465  fgSizer8->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
466 
467  m_staticText21 = new wxStaticText( m_pwrSin, wxID_ANY, _("DC offset:"), wxDefaultPosition, wxDefaultSize, 0 );
468  m_staticText21->Wrap( -1 );
469  fgSizer8->Add( m_staticText21, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
470 
471  m_sinOffset = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
472  m_sinOffset->SetMinSize( wxSize( 100,-1 ) );
473 
474  fgSizer8->Add( m_sinOffset, 0, wxALL|wxEXPAND, 5 );
475 
476  m_staticText211 = new wxStaticText( m_pwrSin, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
477  m_staticText211->Wrap( -1 );
478  fgSizer8->Add( m_staticText211, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
479 
480  m_staticText22 = new wxStaticText( m_pwrSin, wxID_ANY, _("Amplitude:"), wxDefaultPosition, wxDefaultSize, 0 );
481  m_staticText22->Wrap( -1 );
482  fgSizer8->Add( m_staticText22, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
483 
484  m_sinAmplitude = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
485  fgSizer8->Add( m_sinAmplitude, 0, wxALL|wxEXPAND, 5 );
486 
487  m_staticText212 = new wxStaticText( m_pwrSin, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
488  m_staticText212->Wrap( -1 );
489  fgSizer8->Add( m_staticText212, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
490 
491  m_staticText23 = new wxStaticText( m_pwrSin, wxID_ANY, _("Frequency:"), wxDefaultPosition, wxDefaultSize, 0 );
492  m_staticText23->Wrap( -1 );
493  fgSizer8->Add( m_staticText23, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
494 
495  m_sinFreq = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
496  fgSizer8->Add( m_sinFreq, 0, wxALL|wxEXPAND, 5 );
497 
498  m_staticText213 = new wxStaticText( m_pwrSin, wxID_ANY, _("Hz"), wxDefaultPosition, wxDefaultSize, 0 );
499  m_staticText213->Wrap( -1 );
500  fgSizer8->Add( m_staticText213, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
501 
502  m_staticText24 = new wxStaticText( m_pwrSin, wxID_ANY, _("Delay:"), wxDefaultPosition, wxDefaultSize, 0 );
503  m_staticText24->Wrap( -1 );
504  fgSizer8->Add( m_staticText24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
505 
506  m_sinDelay = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
507  fgSizer8->Add( m_sinDelay, 0, wxALL|wxEXPAND, 5 );
508 
509  m_staticText214 = new wxStaticText( m_pwrSin, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
510  m_staticText214->Wrap( -1 );
511  fgSizer8->Add( m_staticText214, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
512 
513  m_staticText25 = new wxStaticText( m_pwrSin, wxID_ANY, _("Damping factor:"), wxDefaultPosition, wxDefaultSize, 0 );
514  m_staticText25->Wrap( -1 );
515  fgSizer8->Add( m_staticText25, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
516 
517  m_sinDampFactor = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
518  fgSizer8->Add( m_sinDampFactor, 0, wxALL|wxEXPAND, 5 );
519 
520  m_staticText215 = new wxStaticText( m_pwrSin, wxID_ANY, _("1/seconds"), wxDefaultPosition, wxDefaultSize, 0 );
521  m_staticText215->Wrap( -1 );
522  fgSizer8->Add( m_staticText215, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
523 
524 
525  m_pwrSin->SetSizer( fgSizer8 );
526  m_pwrSin->Layout();
527  fgSizer8->Fit( m_pwrSin );
528  m_powerNotebook->AddPage( m_pwrSin, _("Sinusoidal"), false );
529  m_pwrExp = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
530  wxFlexGridSizer* fgSizer9;
531  fgSizer9 = new wxFlexGridSizer( 0, 3, 0, 0 );
532  fgSizer9->AddGrowableCol( 1 );
533  fgSizer9->SetFlexibleDirection( wxBOTH );
534  fgSizer9->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
535 
536  m_staticText26 = new wxStaticText( m_pwrExp, wxID_ANY, _("Initial value:"), wxDefaultPosition, wxDefaultSize, 0 );
537  m_staticText26->Wrap( -1 );
538  fgSizer9->Add( m_staticText26, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
539 
540  m_expInit = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
541  m_expInit->SetMinSize( wxSize( 100,-1 ) );
542 
543  fgSizer9->Add( m_expInit, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
544 
545  m_staticText261 = new wxStaticText( m_pwrExp, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
546  m_staticText261->Wrap( -1 );
547  fgSizer9->Add( m_staticText261, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
548 
549  m_staticText27 = new wxStaticText( m_pwrExp, wxID_ANY, _("Pulsed value:"), wxDefaultPosition, wxDefaultSize, 0 );
550  m_staticText27->Wrap( -1 );
551  fgSizer9->Add( m_staticText27, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
552 
553  m_expPulsed = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
554  fgSizer9->Add( m_expPulsed, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
555 
556  m_staticText262 = new wxStaticText( m_pwrExp, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
557  m_staticText262->Wrap( -1 );
558  fgSizer9->Add( m_staticText262, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
559 
560  m_staticText28 = new wxStaticText( m_pwrExp, wxID_ANY, _("Rise delay time:"), wxDefaultPosition, wxDefaultSize, 0 );
561  m_staticText28->Wrap( -1 );
562  fgSizer9->Add( m_staticText28, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
563 
564  m_expRiseDelay = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
565  fgSizer9->Add( m_expRiseDelay, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
566 
567  m_staticText263 = new wxStaticText( m_pwrExp, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
568  m_staticText263->Wrap( -1 );
569  fgSizer9->Add( m_staticText263, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
570 
571  m_staticText29 = new wxStaticText( m_pwrExp, wxID_ANY, _("Rise time constant:"), wxDefaultPosition, wxDefaultSize, 0 );
572  m_staticText29->Wrap( -1 );
573  fgSizer9->Add( m_staticText29, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
574 
575  m_expRiseConst = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
576  fgSizer9->Add( m_expRiseConst, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
577 
578  m_staticText264 = new wxStaticText( m_pwrExp, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
579  m_staticText264->Wrap( -1 );
580  fgSizer9->Add( m_staticText264, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
581 
582  m_staticText30 = new wxStaticText( m_pwrExp, wxID_ANY, _("Fall delay time:"), wxDefaultPosition, wxDefaultSize, 0 );
583  m_staticText30->Wrap( -1 );
584  fgSizer9->Add( m_staticText30, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
585 
586  m_expFallDelay = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
587  fgSizer9->Add( m_expFallDelay, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
588 
589  m_staticText265 = new wxStaticText( m_pwrExp, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
590  m_staticText265->Wrap( -1 );
591  fgSizer9->Add( m_staticText265, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
592 
593  m_staticText31 = new wxStaticText( m_pwrExp, wxID_ANY, _("Fall time constant:"), wxDefaultPosition, wxDefaultSize, 0 );
594  m_staticText31->Wrap( -1 );
595  fgSizer9->Add( m_staticText31, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
596 
597  m_expFallConst = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
598  fgSizer9->Add( m_expFallConst, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
599 
600  m_staticText266 = new wxStaticText( m_pwrExp, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
601  m_staticText266->Wrap( -1 );
602  fgSizer9->Add( m_staticText266, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
603 
604 
605  m_pwrExp->SetSizer( fgSizer9 );
606  m_pwrExp->Layout();
607  fgSizer9->Fit( m_pwrExp );
608  m_powerNotebook->AddPage( m_pwrExp, _("Exponential"), false );
609  m_pwrPwl = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
610  m_pwrPwl->SetToolTip( _("Piece-wise linear") );
611 
612  wxFlexGridSizer* fgSizer15;
613  fgSizer15 = new wxFlexGridSizer( 0, 2, 0, 0 );
614  fgSizer15->AddGrowableCol( 0 );
615  fgSizer15->AddGrowableRow( 1 );
616  fgSizer15->SetFlexibleDirection( wxBOTH );
617  fgSizer15->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
618 
619  wxFlexGridSizer* fgSizer10;
620  fgSizer10 = new wxFlexGridSizer( 0, 3, 0, 0 );
621  fgSizer10->AddGrowableCol( 1 );
622  fgSizer10->SetFlexibleDirection( wxBOTH );
623  fgSizer10->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
624 
625  m_staticText34 = new wxStaticText( m_pwrPwl, wxID_ANY, _("Time:"), wxDefaultPosition, wxDefaultSize, 0 );
626  m_staticText34->Wrap( -1 );
627  fgSizer10->Add( m_staticText34, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
628 
629  m_pwlTime = new wxTextCtrl( m_pwrPwl, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
630  m_pwlTime->SetMinSize( wxSize( 100,-1 ) );
631 
632  fgSizer10->Add( m_pwlTime, 0, wxALL|wxEXPAND, 5 );
633 
634  m_staticText342 = new wxStaticText( m_pwrPwl, wxID_ANY, _("second"), wxDefaultPosition, wxDefaultSize, 0 );
635  m_staticText342->Wrap( -1 );
636  fgSizer10->Add( m_staticText342, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
637 
638  m_staticText35 = new wxStaticText( m_pwrPwl, wxID_ANY, _("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
639  m_staticText35->Wrap( -1 );
640  fgSizer10->Add( m_staticText35, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
641 
642  m_pwlValue = new wxTextCtrl( m_pwrPwl, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
643  fgSizer10->Add( m_pwlValue, 0, wxALL|wxEXPAND, 5 );
644 
645  m_staticText343 = new wxStaticText( m_pwrPwl, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
646  m_staticText343->Wrap( -1 );
647  fgSizer10->Add( m_staticText343, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
648 
649 
650  fgSizer15->Add( fgSizer10, 1, wxEXPAND, 5 );
651 
652  m_pwlAddButton = new wxButton( m_pwrPwl, wxID_ANY, _("Add"), wxDefaultPosition, wxDefaultSize, 0 );
653  fgSizer15->Add( m_pwlAddButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
654 
655  m_pwlValList = new wxListCtrl( m_pwrPwl, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
656  m_pwlValList->SetMinSize( wxSize( 200,-1 ) );
657 
658  fgSizer15->Add( m_pwlValList, 0, wxALL|wxEXPAND, 5 );
659 
660  m_pwlRemoveBtn = new wxButton( m_pwrPwl, wxID_ANY, _("Remove"), wxDefaultPosition, wxDefaultSize, 0 );
661  fgSizer15->Add( m_pwlRemoveBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
662 
663 
664  m_pwrPwl->SetSizer( fgSizer15 );
665  m_pwrPwl->Layout();
666  fgSizer15->Fit( m_pwrPwl );
667  m_powerNotebook->AddPage( m_pwrPwl, _("Piece-wise Linear"), false );
668  m_pwrFm = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
669  wxFlexGridSizer* fgSizer11;
670  fgSizer11 = new wxFlexGridSizer( 0, 3, 0, 0 );
671  fgSizer11->AddGrowableCol( 1 );
672  fgSizer11->SetFlexibleDirection( wxBOTH );
673  fgSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
674 
675  m_staticText138 = new wxStaticText( m_pwrFm, wxID_ANY, _("Offset:"), wxDefaultPosition, wxDefaultSize, 0 );
676  m_staticText138->Wrap( -1 );
677  fgSizer11->Add( m_staticText138, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
678 
679  m_fmOffset = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
680  m_fmOffset->SetMinSize( wxSize( 100,-1 ) );
681 
682  fgSizer11->Add( m_fmOffset, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
683 
684  m_staticText1311 = new wxStaticText( m_pwrFm, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
685  m_staticText1311->Wrap( -1 );
686  fgSizer11->Add( m_staticText1311, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
687 
688  m_staticText141 = new wxStaticText( m_pwrFm, wxID_ANY, _("Amplitude:"), wxDefaultPosition, wxDefaultSize, 0 );
689  m_staticText141->Wrap( -1 );
690  fgSizer11->Add( m_staticText141, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
691 
692  m_fmAmplitude = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
693  fgSizer11->Add( m_fmAmplitude, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
694 
695  m_staticText1321 = new wxStaticText( m_pwrFm, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
696  m_staticText1321->Wrap( -1 );
697  fgSizer11->Add( m_staticText1321, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
698 
699  m_staticText151 = new wxStaticText( m_pwrFm, wxID_ANY, _("Carrier frequency:"), wxDefaultPosition, wxDefaultSize, 0 );
700  m_staticText151->Wrap( -1 );
701  fgSizer11->Add( m_staticText151, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
702 
703  m_fmFcarrier = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
704  fgSizer11->Add( m_fmFcarrier, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
705 
706  m_staticText1331 = new wxStaticText( m_pwrFm, wxID_ANY, _("Hertz"), wxDefaultPosition, wxDefaultSize, 0 );
707  m_staticText1331->Wrap( -1 );
708  fgSizer11->Add( m_staticText1331, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
709 
710  m_staticText161 = new wxStaticText( m_pwrFm, wxID_ANY, _("Modulation index:"), wxDefaultPosition, wxDefaultSize, 0 );
711  m_staticText161->Wrap( -1 );
712  fgSizer11->Add( m_staticText161, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
713 
714  m_fmModIndex = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
715  fgSizer11->Add( m_fmModIndex, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
716 
717  m_staticText1341 = new wxStaticText( m_pwrFm, wxID_ANY, _("-"), wxDefaultPosition, wxDefaultSize, 0 );
718  m_staticText1341->Wrap( -1 );
719  fgSizer11->Add( m_staticText1341, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
720 
721  m_staticText171 = new wxStaticText( m_pwrFm, wxID_ANY, _("Signal frequency:"), wxDefaultPosition, wxDefaultSize, 0 );
722  m_staticText171->Wrap( -1 );
723  fgSizer11->Add( m_staticText171, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
724 
725  m_fmFsignal = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
726  fgSizer11->Add( m_fmFsignal, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
727 
728  m_staticText1351 = new wxStaticText( m_pwrFm, wxID_ANY, _("Hertz"), wxDefaultPosition, wxDefaultSize, 0 );
729  m_staticText1351->Wrap( -1 );
730  fgSizer11->Add( m_staticText1351, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
731 
732  m_staticText181 = new wxStaticText( m_pwrFm, wxID_ANY, _("Carrier phase:"), wxDefaultPosition, wxDefaultSize, 0 );
733  m_staticText181->Wrap( -1 );
734  fgSizer11->Add( m_staticText181, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
735 
736  m_fmPhaseC = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
737  fgSizer11->Add( m_fmPhaseC, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
738 
739  m_staticText1361 = new wxStaticText( m_pwrFm, wxID_ANY, _("degrees"), wxDefaultPosition, wxDefaultSize, 0 );
740  m_staticText1361->Wrap( -1 );
741  fgSizer11->Add( m_staticText1361, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
742 
743  m_staticText201 = new wxStaticText( m_pwrFm, wxID_ANY, _("Signal phase:"), wxDefaultPosition, wxDefaultSize, 0 );
744  m_staticText201->Wrap( -1 );
745  fgSizer11->Add( m_staticText201, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
746 
747  m_fmPhaseS = new wxTextCtrl( m_pwrFm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
748  fgSizer11->Add( m_fmPhaseS, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
749 
750  m_staticText1371 = new wxStaticText( m_pwrFm, wxID_ANY, _("degrees"), wxDefaultPosition, wxDefaultSize, 0 );
751  m_staticText1371->Wrap( -1 );
752  fgSizer11->Add( m_staticText1371, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
753 
754 
755  m_pwrFm->SetSizer( fgSizer11 );
756  m_pwrFm->Layout();
757  fgSizer11->Fit( m_pwrFm );
758  m_powerNotebook->AddPage( m_pwrFm, _("FM"), false );
759  m_pwrAm = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
760  wxFlexGridSizer* fgSizer12;
761  fgSizer12 = new wxFlexGridSizer( 0, 3, 0, 0 );
762  fgSizer12->AddGrowableCol( 1 );
763  fgSizer12->SetFlexibleDirection( wxBOTH );
764  fgSizer12->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
765 
766  m_staticText1381 = new wxStaticText( m_pwrAm, wxID_ANY, _("Amplitude:"), wxDefaultPosition, wxDefaultSize, 0 );
767  m_staticText1381->Wrap( -1 );
768  fgSizer12->Add( m_staticText1381, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
769 
770  m_amAmplitude = new wxTextCtrl( m_pwrAm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
771  m_amAmplitude->SetMinSize( wxSize( 100,-1 ) );
772 
773  fgSizer12->Add( m_amAmplitude, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
774 
775  m_staticText13111 = new wxStaticText( m_pwrAm, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
776  m_staticText13111->Wrap( -1 );
777  fgSizer12->Add( m_staticText13111, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
778 
779  m_staticText1411 = new wxStaticText( m_pwrAm, wxID_ANY, _("Offset:"), wxDefaultPosition, wxDefaultSize, 0 );
780  m_staticText1411->Wrap( -1 );
781  fgSizer12->Add( m_staticText1411, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
782 
783  m_amOffset = new wxTextCtrl( m_pwrAm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
784  fgSizer12->Add( m_amOffset, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
785 
786  m_staticText13211 = new wxStaticText( m_pwrAm, wxID_ANY, _("Volts/Amps"), wxDefaultPosition, wxDefaultSize, 0 );
787  m_staticText13211->Wrap( -1 );
788  fgSizer12->Add( m_staticText13211, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
789 
790  m_staticText1511 = new wxStaticText( m_pwrAm, wxID_ANY, _("Modulating frequency:"), wxDefaultPosition, wxDefaultSize, 0 );
791  m_staticText1511->Wrap( -1 );
792  fgSizer12->Add( m_staticText1511, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
793 
794  m_amModulatingFreq = new wxTextCtrl( m_pwrAm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
795  fgSizer12->Add( m_amModulatingFreq, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
796 
797  m_staticText13311 = new wxStaticText( m_pwrAm, wxID_ANY, _("Hertz"), wxDefaultPosition, wxDefaultSize, 0 );
798  m_staticText13311->Wrap( -1 );
799  fgSizer12->Add( m_staticText13311, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
800 
801  m_staticText1611 = new wxStaticText( m_pwrAm, wxID_ANY, _("Carrier frequency:"), wxDefaultPosition, wxDefaultSize, 0 );
802  m_staticText1611->Wrap( -1 );
803  fgSizer12->Add( m_staticText1611, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
804 
805  m_amCarrierFreq = new wxTextCtrl( m_pwrAm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
806  fgSizer12->Add( m_amCarrierFreq, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
807 
808  m_staticText13411 = new wxStaticText( m_pwrAm, wxID_ANY, _("Hertz"), wxDefaultPosition, wxDefaultSize, 0 );
809  m_staticText13411->Wrap( -1 );
810  fgSizer12->Add( m_staticText13411, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
811 
812  m_staticText1711 = new wxStaticText( m_pwrAm, wxID_ANY, _("Signal delay:"), wxDefaultPosition, wxDefaultSize, 0 );
813  m_staticText1711->Wrap( -1 );
814  fgSizer12->Add( m_staticText1711, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
815 
816  m_amSignalDelay = new wxTextCtrl( m_pwrAm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
817  fgSizer12->Add( m_amSignalDelay, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
818 
819  m_staticText13511 = new wxStaticText( m_pwrAm, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
820  m_staticText13511->Wrap( -1 );
821  fgSizer12->Add( m_staticText13511, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
822 
823  m_staticText1811 = new wxStaticText( m_pwrAm, wxID_ANY, _("Carrier phase:"), wxDefaultPosition, wxDefaultSize, 0 );
824  m_staticText1811->Wrap( -1 );
825  fgSizer12->Add( m_staticText1811, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
826 
827  m_amPhase = new wxTextCtrl( m_pwrAm, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
828  fgSizer12->Add( m_amPhase, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
829 
830  m_staticText13611 = new wxStaticText( m_pwrAm, wxID_ANY, _("degrees"), wxDefaultPosition, wxDefaultSize, 0 );
831  m_staticText13611->Wrap( -1 );
832  fgSizer12->Add( m_staticText13611, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
833 
834 
835  m_pwrAm->SetSizer( fgSizer12 );
836  m_pwrAm->Layout();
837  fgSizer12->Fit( m_pwrAm );
838  m_powerNotebook->AddPage( m_pwrAm, _("AM"), false );
839  m_pwrTransNoise = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
840  m_pwrTransNoise->Hide();
841 
842  m_powerNotebook->AddPage( m_pwrTransNoise, _("Transient noise"), false );
843  m_pwrRandom = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
844  wxFlexGridSizer* fgSizer13;
845  fgSizer13 = new wxFlexGridSizer( 0, 3, 0, 0 );
846  fgSizer13->AddGrowableCol( 1 );
847  fgSizer13->SetFlexibleDirection( wxBOTH );
848  fgSizer13->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
849 
850  m_staticText27111 = new wxStaticText( m_pwrRandom, wxID_ANY, _("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
851  m_staticText27111->Wrap( -1 );
852  fgSizer13->Add( m_staticText27111, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
853 
854  wxString m_rnTypeChoices[] = { _("Uniform"), _("Gaussian"), _("Exponential"), _("Poisson") };
855  int m_rnTypeNChoices = sizeof( m_rnTypeChoices ) / sizeof( wxString );
856  m_rnType = new wxChoice( m_pwrRandom, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_rnTypeNChoices, m_rnTypeChoices, 0 );
857  m_rnType->SetSelection( 0 );
858  fgSizer13->Add( m_rnType, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
859 
860 
861  fgSizer13->Add( 0, 0, 1, wxEXPAND, 5 );
862 
863  m_staticText26711 = new wxStaticText( m_pwrRandom, wxID_ANY, _("Individual value duration:"), wxDefaultPosition, wxDefaultSize, 0 );
864  m_staticText26711->Wrap( -1 );
865  fgSizer13->Add( m_staticText26711, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
866 
867  m_rnTS = new wxTextCtrl( m_pwrRandom, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
868  fgSizer13->Add( m_rnTS, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
869 
870  m_staticText262111 = new wxStaticText( m_pwrRandom, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
871  m_staticText262111->Wrap( -1 );
872  fgSizer13->Add( m_staticText262111, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
873 
874  m_staticText28111 = new wxStaticText( m_pwrRandom, wxID_ANY, _("Time delay:"), wxDefaultPosition, wxDefaultSize, 0 );
875  m_staticText28111->Wrap( -1 );
876  fgSizer13->Add( m_staticText28111, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
877 
878  m_rnTD = new wxTextCtrl( m_pwrRandom, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
879  fgSizer13->Add( m_rnTD, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
880 
881  m_staticText263111 = new wxStaticText( m_pwrRandom, wxID_ANY, _("seconds"), wxDefaultPosition, wxDefaultSize, 0 );
882  m_staticText263111->Wrap( -1 );
883  fgSizer13->Add( m_staticText263111, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
884 
885  m_rnParam1Text = new wxStaticText( m_pwrRandom, wxID_ANY, _("Range:"), wxDefaultPosition, wxDefaultSize, 0 );
886  m_rnParam1Text->Wrap( -1 );
887  fgSizer13->Add( m_rnParam1Text, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
888 
889  m_rnParam1 = new wxTextCtrl( m_pwrRandom, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
890  fgSizer13->Add( m_rnParam1, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
891 
892 
893  fgSizer13->Add( 0, 0, 1, wxEXPAND, 5 );
894 
895  m_rnParam2Text = new wxStaticText( m_pwrRandom, wxID_ANY, _("Offset:"), wxDefaultPosition, wxDefaultSize, 0 );
896  m_rnParam2Text->Wrap( -1 );
897  fgSizer13->Add( m_rnParam2Text, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
898 
899  m_rnParam2 = new wxTextCtrl( m_pwrRandom, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
900  fgSizer13->Add( m_rnParam2, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
901 
902 
903  fgSizer13->Add( 0, 0, 1, wxEXPAND, 5 );
904 
905 
906  m_pwrRandom->SetSizer( fgSizer13 );
907  m_pwrRandom->Layout();
908  fgSizer13->Fit( m_pwrRandom );
909  m_powerNotebook->AddPage( m_pwrRandom, _("Random"), false );
910  m_pwrExtData = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
911  m_pwrExtData->Hide();
912 
913  m_powerNotebook->AddPage( m_pwrExtData, _("External data"), false );
914 
915  sbSizer3->Add( m_powerNotebook, 0, wxEXPAND | wxALL, 5 );
916 
917 
918  bSizer4->Add( sbSizer3, 0, wxALL|wxEXPAND, 5 );
919 
920  wxString m_pwrTypeChoices[] = { _("Voltage"), _("Current") };
921  int m_pwrTypeNChoices = sizeof( m_pwrTypeChoices ) / sizeof( wxString );
922  m_pwrType = new wxRadioBox( m_power, wxID_ANY, _("Source Type"), wxDefaultPosition, wxDefaultSize, m_pwrTypeNChoices, m_pwrTypeChoices, 1, wxRA_SPECIFY_ROWS );
923  m_pwrType->SetSelection( 1 );
924  bSizer4->Add( m_pwrType, 0, wxALL|wxEXPAND, 5 );
925 
926 
927  m_power->SetSizer( bSizer4 );
928  m_power->Layout();
929  bSizer4->Fit( m_power );
930  m_notebook->AddPage( m_power, _("Source"), false );
931 
932  bSizer1->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
933 
934  m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
935  bSizer1->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
936 
937  m_disabled = new wxCheckBox( this, wxID_ANY, _("Disable symbol for simulation"), wxDefaultPosition, wxDefaultSize, 0 );
938  bSizer1->Add( m_disabled, 0, wxALL, 5 );
939 
940  wxBoxSizer* bSizer2;
941  bSizer2 = new wxBoxSizer( wxHORIZONTAL );
942 
943  m_nodeSeqCheck = new wxCheckBox( this, wxID_ANY, _("Alternate node sequence:"), wxDefaultPosition, wxDefaultSize, 0 );
944  bSizer2->Add( m_nodeSeqCheck, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
945 
946  m_nodeSeqVal = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
947  m_nodeSeqVal->SetMinSize( wxSize( 200,-1 ) );
948 
949  bSizer2->Add( m_nodeSeqVal, 1, wxALL, 5 );
950 
951 
952  bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );
953 
954  m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
955  bSizer1->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
956 
957  m_sdbSizer = new wxStdDialogButtonSizer();
958  m_sdbSizerOK = new wxButton( this, wxID_OK );
959  m_sdbSizer->AddButton( m_sdbSizerOK );
960  m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
961  m_sdbSizer->AddButton( m_sdbSizerCancel );
962  m_sdbSizer->Realize();
963 
964  bSizer1->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
965 
966 
967  this->SetSizer( bSizer1 );
968  this->Layout();
969  bSizer1->Fit( this );
970 
971  this->Centre( wxBOTH );
972 
973  // Connect Events
974  this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SPICE_MODEL_BASE::onInitDlg ) );
975  m_selectLibrary->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onSelectLibrary ), NULL, this );
976  m_modelName->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onModelSelected ), NULL, this );
977  m_modelName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onModelSelected ), NULL, this );
978  m_modelType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onTypeSelected ), NULL, this );
979  m_pwlAddButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlAdd ), NULL, this );
980  m_pwlRemoveBtn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlRemove ), NULL, this );
981  m_rnType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onRandomSourceType ), NULL, this );
982 }
virtual void onModelSelected(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void onTypeSelected(wxCommandEvent &event)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
Definition: dialog_shim.cpp:77
virtual void onInitDlg(wxInitDialogEvent &event)
wxStyledTextCtrl * m_libraryContents
virtual void onRandomSourceType(wxCommandEvent &event)
#define _(s)
virtual void onPwlAdd(wxCommandEvent &event)
virtual void onSelectLibrary(wxCommandEvent &event)
virtual void onPwlRemove(wxCommandEvent &event)

References _, m_amAmplitude, m_amCarrierFreq, m_amModulatingFreq, m_amOffset, m_amPhase, m_amSignalDelay, m_disabled, m_expFallConst, m_expFallDelay, m_expInit, m_expPulsed, m_expRiseConst, m_expRiseDelay, m_fmAmplitude, m_fmFcarrier, m_fmFsignal, m_fmModIndex, m_fmOffset, m_fmPhaseC, m_fmPhaseS, m_genAcMag, m_genAcPhase, m_genDc, m_libraryContents, m_model, m_modelLibrary, m_modelName, m_modelType, m_nodeSeqCheck, m_nodeSeqVal, m_notebook, m_passive, m_pasType, m_pasValue, m_power, m_powerNotebook, m_pulseDelay, m_pulseFall, m_pulseInit, m_pulseNominal, m_pulsePeriod, m_pulseRise, m_pulseWidth, m_pwlAddButton, m_pwlRemoveBtn, m_pwlTime, m_pwlValList, m_pwlValue, m_pwrAm, m_pwrExp, m_pwrExtData, m_pwrFm, m_pwrPulse, m_pwrPwl, m_pwrRandom, m_pwrSin, m_pwrTransNoise, m_pwrType, m_rnParam1, m_rnParam1Text, m_rnParam2, m_rnParam2Text, m_rnTD, m_rnTS, m_rnType, m_sdbSizer, m_sdbSizerCancel, m_sdbSizerOK, m_selectLibrary, m_sinAmplitude, m_sinDampFactor, m_sinDelay, m_sinFreq, m_sinOffset, m_staticline1, m_staticline2, m_staticline3, m_staticText10, m_staticText11, m_staticText111, m_staticText112, m_staticText113, m_staticText12, m_staticText13, m_staticText131, m_staticText1311, m_staticText13111, m_staticText132, m_staticText1321, m_staticText13211, m_staticText133, m_staticText1331, m_staticText13311, m_staticText134, m_staticText1341, m_staticText13411, m_staticText135, m_staticText1351, m_staticText13511, m_staticText136, m_staticText1361, m_staticText13611, m_staticText137, m_staticText1371, m_staticText138, m_staticText1381, m_staticText14, m_staticText141, m_staticText1411, m_staticText15, m_staticText151, m_staticText1511, m_staticText16, m_staticText161, m_staticText1611, m_staticText17, m_staticText171, m_staticText1711, m_staticText18, m_staticText181, m_staticText1811, m_staticText20, m_staticText201, m_staticText21, m_staticText211, m_staticText212, m_staticText213, m_staticText214, m_staticText215, m_staticText22, m_staticText23, m_staticText24, m_staticText25, m_staticText26, m_staticText261, m_staticText262, m_staticText262111, m_staticText263, m_staticText263111, m_staticText264, m_staticText265, m_staticText266, m_staticText26711, m_staticText27, m_staticText27111, m_staticText28, m_staticText28111, m_staticText29, m_staticText30, m_staticText31, m_staticText32, m_staticText321, m_staticText34, m_staticText342, m_staticText343, m_staticText35, m_staticText4, m_staticText5, m_staticText62, m_staticText7, m_staticTextF1, m_staticTextF2, m_staticTextF3, m_staticTextG1, m_staticTextG2, m_staticTextG3, m_staticTextK1, m_staticTextK2, m_staticTextK3, m_staticTextM1, m_staticTextM2, m_staticTextM3, m_staticTextMeg1, m_staticTextMeg2, m_staticTextMeg3, m_staticTextN1, m_staticTextN2, m_staticTextN3, m_staticTextNote, m_staticTextP1, m_staticTextP2, m_staticTextP3, m_staticTextPtype, m_staticTextPvalue, m_staticTextSpVal, m_staticTextT1, m_staticTextT2, m_staticTextT3, m_staticTextU1, m_staticTextU2, m_staticTextU3, m_stInfoNote, onInitDlg(), onModelSelected(), onPwlAdd(), onPwlRemove(), onRandomSourceType(), onSelectLibrary(), and onTypeSelected().

◆ ~DIALOG_SPICE_MODEL_BASE()

DIALOG_SPICE_MODEL_BASE::~DIALOG_SPICE_MODEL_BASE ( )

Definition at line 984 of file dialog_spice_model_base.cpp.

985 {
986  // Disconnect Events
987  this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SPICE_MODEL_BASE::onInitDlg ) );
988  m_selectLibrary->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onSelectLibrary ), NULL, this );
989  m_modelName->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onModelSelected ), NULL, this );
990  m_modelName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onModelSelected ), NULL, this );
991  m_modelType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onTypeSelected ), NULL, this );
992  m_pwlAddButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlAdd ), NULL, this );
993  m_pwlRemoveBtn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlRemove ), NULL, this );
994  m_rnType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onRandomSourceType ), NULL, this );
995 
996 }
virtual void onModelSelected(wxCommandEvent &event)
virtual void onTypeSelected(wxCommandEvent &event)
virtual void onInitDlg(wxInitDialogEvent &event)
virtual void onRandomSourceType(wxCommandEvent &event)
virtual void onPwlAdd(wxCommandEvent &event)
virtual void onSelectLibrary(wxCommandEvent &event)
virtual void onPwlRemove(wxCommandEvent &event)

References m_modelName, m_modelType, m_pwlAddButton, m_pwlRemoveBtn, m_rnType, m_selectLibrary, onInitDlg(), onModelSelected(), onPwlAdd(), onPwlRemove(), onRandomSourceType(), onSelectLibrary(), and onTypeSelected().

Member Function Documentation

◆ Enable()

bool DIALOG_SHIM::Enable ( bool  enable)
overrideinherited

Definition at line 312 of file dialog_shim.cpp.

313 {
314  // so we can do logging of this state change:
315  return wxDialog::Enable( enable );
316 }

◆ EndQuasiModal()

void DIALOG_SHIM::EndQuasiModal ( int  retCode)
inherited

Definition at line 480 of file dialog_shim.cpp.

481 {
482  // Hook up validator and transfer data from controls handling so quasi-modal dialogs
483  // handle validation in the same way as other dialogs.
484  if( ( retCode == wxID_OK ) && ( !Validate() || !TransferDataFromWindow() ) )
485  return;
486 
487  SetReturnCode( retCode );
488 
489  if( !IsQuasiModal() )
490  {
491  wxFAIL_MSG( "either DIALOG_SHIM::EndQuasiModal called twice or ShowQuasiModal"
492  "wasn't called" );
493  return;
494  }
495 
496  if( m_qmodal_loop )
497  {
498  if( m_qmodal_loop->IsRunning() )
499  m_qmodal_loop->Exit( 0 );
500  else
501  m_qmodal_loop->ScheduleExit( 0 );
502 
503  m_qmodal_loop = nullptr;
504  }
505 
507  m_qmodal_parent_disabler = nullptr;
508 
509  Show( false );
510 }
bool IsQuasiModal() const
Definition: dialog_shim.h:106
WX_EVENT_LOOP * m_qmodal_loop
Definition: dialog_shim.h:213
bool Show(bool show) override
WDO_ENABLE_DISABLE * m_qmodal_parent_disabler
Definition: dialog_shim.h:216

References DIALOG_SHIM::IsQuasiModal(), DIALOG_SHIM::m_qmodal_loop, DIALOG_SHIM::m_qmodal_parent_disabler, and DIALOG_SHIM::Show().

Referenced by NETLIST_DIALOG::OnAddGenerator(), DIALOG_SHIM::OnButton(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_LIB_EDIT_PIN_TABLE::OnClose(), DIALOG_CHOOSE_FOOTPRINT::OnCloseTimer(), DIALOG_SHIM::OnCloseWindow(), NETLIST_DIALOG::OnDelGenerator(), DIALOG_SYMBOL_PROPERTIES::OnEditLibrarySymbol(), DIALOG_SYMBOL_PROPERTIES::OnEditSymbol(), DIALOG_SYMBOL_PROPERTIES::OnExchangeSymbol(), PCB_ONE_LAYER_SELECTOR::OnLeftGridCellClick(), PCB_ONE_LAYER_SELECTOR::OnRightGridCellClick(), DIALOG_SYMBOL_PROPERTIES::OnUpdateSymbol(), DIALOG_CHOOSE_FOOTPRINT::OnUseBrowser(), DIALOG_PUSH_PAD_PROPERTIES::PadPropertiesAccept(), and DIALOG_SHIM::~DIALOG_SHIM().

◆ finishDialogSettings()

void DIALOG_SHIM::finishDialogSettings ( )
protectedinherited

In all dialogs, we must call the same functions to fix minimal dlg size, the default position and perhaps some others to fix a few issues depending on Windows Managers this helper function does these calls.

finishDialogSettings must be called from derived classes after all widgets have been initialized, and therefore their size fixed. If TransferDataToWindow() is used to initialize widgets, at the end of TransferDataToWindow, or better yet, at end of a wxInitDialogEvent handler.

Definition at line 151 of file dialog_shim.cpp.

152 {
153  // must be called from the constructor of derived classes,
154  // when all widgets are initialized, and therefore their size fixed
155 
156  // SetSizeHints fixes the minimal size of sizers in the dialog
157  // (SetSizeHints calls Fit(), so no need to call it)
158  GetSizer()->SetSizeHints( this );
159 }

Referenced by DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOM::DIALOG_BOM(), DIALOG_BUS_MANAGER::DIALOG_BUS_MANAGER(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CLEANUP_TRACKS_AND_VIAS::DIALOG_CLEANUP_TRACKS_AND_VIAS(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DRC::DIALOG_DRC(), DIALOG_EDIT_SYMBOLS_LIBID::DIALOG_EDIT_SYMBOLS_LIBID(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXPORT_3DFILE::DIALOG_EXPORT_3DFILE(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_SVG::DIALOG_EXPORT_SVG(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IMAGE_EDITOR::DIALOG_IMAGE_EDITOR(), DIALOG_IMPORTED_LAYERS::DIALOG_IMPORTED_LAYERS(), DIALOG_INSPECTOR::DIALOG_INSPECTOR(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LIB_TEXT_PROPERTIES::DIALOG_LIB_TEXT_PROPERTIES(), DIALOG_LINE_WIRE_BUS_PROPERTIES::DIALOG_LINE_WIRE_BUS_PROPERTIES(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY(), DIALOG_MANAGE_REPOSITORIES::DIALOG_MANAGE_REPOSITORIES(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_NET_INSPECTOR::DIALOG_NET_INSPECTOR(), DIALOG_NETLIST::DIALOG_NETLIST(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_PAD_PRIMITIVE_POLY_PROPS::DIALOG_PAD_PRIMITIVE_POLY_PROPS(), DIALOG_PAD_PRIMITIVES_PROPERTIES::DIALOG_PAD_PRIMITIVES_PROPERTIES(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SELECT_3DMODEL::DIALOG_SELECT_3DMODEL(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_AND_LABEL_PROPERTIES::DIALOG_TEXT_AND_LABEL_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_UNUSED_PAD_LAYERS::DIALOG_UNUSED_PAD_LAYERS(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_UPDATE_SYMBOL_FIELDS::DIALOG_UPDATE_SYMBOL_FIELDS(), DIALOG_CONSTRAINTS_REPORTER::FinishInitialization(), PAGED_DIALOG::finishInitialization(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), NETLIST_DIALOG::NETLIST_DIALOG(), DIALOG_GRAPHIC_ITEM_PROPERTIES::OnInitDlg(), DIALOG_SHEET_PROPERTIES::OnInitDlg(), DIALOG_SYMBOL_PROPERTIES::OnInitDlg(), DIALOG_SPICE_MODEL::onInitDlg(), DIALOG_SIM_SETTINGS::onInitDlg(), DIALOG_SIGNAL_LIST::TransferDataToWindow(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), and DIALOG_COLOR_PICKER::TransferDataToWindow().

◆ GetType()

HOLDER_TYPE KIWAY_HOLDER::GetType ( ) const
inlineinherited

Definition at line 46 of file kiway_holder.h.

46 { return m_type; }
HOLDER_TYPE m_type
Definition: kiway_holder.h:76

References KIWAY_HOLDER::m_type.

Referenced by DIALOG_SHIM::DIALOG_SHIM().

◆ GetUserUnits()

◆ horizPixelsFromDU()

int DIALOG_SHIM::horizPixelsFromDU ( int  x) const
protectedinherited

Convert an integer number of dialog units to pixels, horizontally.

See SetSizeInDU or wxDialog documentation for more information.

Definition at line 169 of file dialog_shim.cpp.

170 {
171  wxSize sz( x, 0 );
172  return ConvertDialogToPixels( sz ).x;
173 }

Referenced by DIALOG_CHOOSE_FOOTPRINT::DIALOG_CHOOSE_FOOTPRINT(), and DIALOG_CHOOSE_SYMBOL::DIALOG_CHOOSE_SYMBOL().

◆ IsCtrl()

static bool DIALOG_SHIM::IsCtrl ( int  aChar,
const wxKeyEvent &  e 
)
inlinestaticinherited

Definition at line 126 of file dialog_shim.h.

127  {
128  return e.GetKeyCode() == aChar && e.ControlDown() && !e.AltDown() &&
129  !e.ShiftDown() && !e.MetaDown();
130  }

◆ IsQuasiModal()

◆ IsShiftCtrl()

static bool DIALOG_SHIM::IsShiftCtrl ( int  aChar,
const wxKeyEvent &  e 
)
inlinestaticinherited

Definition at line 132 of file dialog_shim.h.

133  {
134  return e.GetKeyCode() == aChar && e.ControlDown() && !e.AltDown() &&
135  e.ShiftDown() && !e.MetaDown();
136  }

◆ Kiway()

KIWAY& KIWAY_HOLDER::Kiway ( ) const
inlineinherited

Return a reference to the KIWAY that this object has an opportunity to participate in.

A KIWAY_HOLDER is not necessarily a KIWAY_PLAYER.

Definition at line 53 of file kiway_holder.h.

54  {
55  wxASSERT( m_kiway ); // smoke out bugs in Debug build, then Release runs fine.
56  return *m_kiway;
57  }
KIWAY * m_kiway
Definition: kiway_holder.h:75

References KIWAY_HOLDER::m_kiway.

Referenced by PROJECT_TREE_ITEM::Activate(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), PCB_BASE_EDIT_FRAME::AddLibrary(), SYMBOL_EDIT_FRAME::AddLibraryFile(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), SCH_EDIT_FRAME::AskToSaveChanges(), SYMBOL_EDIT_FRAME::canCloseWindow(), SCH_EDIT_FRAME::canCloseWindow(), KICAD_MANAGER_FRAME::CloseProject(), COMMON_CONTROL::ConfigurePaths(), DIALOG_CHOOSE_FOOTPRINT::ConstructRightPanel(), DIALOG_CHOOSE_SYMBOL::ConstructRightPanel(), PCB_BASE_FRAME::CreateAndShow3D_Frame(), FOOTPRINT_EDITOR_CONTROL::CreateFootprint(), CVPCB_MAINFRAME::CVPCB_MAINFRAME(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SHIM::DIALOG_SHIM(), SCH_EDIT_FRAME::doCloseWindow(), FIELDS_GRID_TRICKS::doPopupSelection(), FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), BACK_ANNOTATE::FetchNetlistFromPCB(), KICAD_MANAGER_FRAME::ImportNonKiCadProject(), SCRIPTING_TOOL::Init(), EDA_DRAW_FRAME::IsScriptingConsoleVisible(), KICAD_MANAGER_FRAME::language_change(), KIWAY_PLAYER::language_change(), DIALOG_CHANGE_SYMBOLS::launchMatchIdSymbolBrowser(), DIALOG_CHANGE_SYMBOLS::launchNewIdSymbolBrowser(), LIB_TREE_MODEL_ADAPTER::LIB_TREE_MODEL_ADAPTER(), TEXT_BUTTON_SYMBOL_CHOOSER::OnButtonClick(), TEXT_BUTTON_FP_CHOOSER::OnButtonClick(), PL_EDITOR_FRAME::OnExit(), SCH_EDIT_FRAME::OnExit(), FOOTPRINT_EDIT_FRAME::OnExitKiCad(), FOOTPRINT_VIEWER_FRAME::OnExitKiCad(), SYMBOL_EDIT_FRAME::OnExitKiCad(), SAVE_AS_TRAVERSER::OnFile(), DIALOG_CHOOSE_SYMBOL::OnInitDialog(), SCH_EDIT_FRAME::OnOpenCvpcb(), SCH_EDIT_FRAME::OnOpenPcbnew(), EDA_BASE_FRAME::OnPreferences(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick(), KICAD_MANAGER_FRAME::OnUnarchiveFiles(), FOOTPRINT_EDIT_FRAME::OnUpdateLoadFootprintFromBoard(), SCH_EDIT_FRAME::OnUpdatePCB(), FOOTPRINT_EDIT_FRAME::OnUpdateSaveFootprintToBoard(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), SCH_BASE_FRAME::PickSymbolFromLibBrowser(), KIWAY_HOLDER::Prj(), SCH_EDIT_TOOL::Properties(), BACK_ANNOTATE::PushNewLinksToPCB(), FOOTPRINT_WIZARD_FRAME::PythonPluginsReload(), FOOTPRINT_VIEWER_FRAME::ReCreateFootprintList(), SCH_EDITOR_CONTROL::rescueProject(), EE_INSPECTION_TOOL::RunSimulation(), SYMBOL_EDIT_FRAME::Save(), CVPCB_MAINFRAME::SaveFootprintAssociation(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), LIB_TREE_MODEL_ADAPTER::SavePinnedItems(), EDA_DRAW_FRAME::ScriptingConsoleEnableDisable(), SCH_EDIT_FRAME::SendCrossProbeClearHighlight(), SCH_EDIT_FRAME::SendCrossProbeNetName(), PCB_EDIT_FRAME::SendCrossProbeNetName(), CVPCB_MAINFRAME::SendMessageToEESCHEMA(), PCB_EDIT_FRAME::SendMessageToEESCHEMA(), SCH_EDIT_FRAME::SendMessageToPCBNEW(), SCH_EDIT_FRAME::sendNetlistToCvpcb(), SCH_EDIT_FRAME::SetCrossProbeConnection(), SYMBOL_EDIT_FRAME::SetCurSymbol(), CVPCB_CONTROL::ShowFootprintViewer(), COMMON_CONTROL::ShowLibraryTable(), COMMON_CONTROL::ShowPlayer(), KICAD_MANAGER_CONTROL::ShowPlayer(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), SIM_PLOT_FRAME::SIM_PLOT_FRAME(), BOARD_EDITOR_CONTROL::UpdateSchematicFromPCB(), and DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint().

◆ OnCharHook()

void DIALOG_SHIM::OnCharHook ( wxKeyEvent &  aEvt)
protectedvirtualinherited

Reimplemented in DIALOG_CHOOSE_SYMBOL, HK_PROMPT_DIALOG, and HTML_MESSAGE_BOX.

Definition at line 570 of file dialog_shim.cpp.

571 {
572  if( aEvt.GetKeyCode() == 'U' && aEvt.GetModifiers() == wxMOD_CONTROL )
573  {
574  if( m_parentFrame )
575  {
577  return;
578  }
579  }
580  // shift-return (Mac default) or Ctrl-Return (GTK) for OK
581  else if( aEvt.GetKeyCode() == WXK_RETURN && ( aEvt.ShiftDown() || aEvt.ControlDown() ) )
582  {
583  wxPostEvent( this, wxCommandEvent( wxEVT_COMMAND_BUTTON_CLICKED, wxID_OK ) );
584  return;
585  }
586  else if( aEvt.GetKeyCode() == WXK_TAB && !aEvt.ControlDown() )
587  {
588  wxWindow* currentWindow = wxWindow::FindFocus();
589  int currentIdx = -1;
590  int delta = aEvt.ShiftDown() ? -1 : 1;
591 
592  auto advance = [&]( int& idx )
593  {
594  // Wrap-around modulus
595  int size = m_tabOrder.size();
596  idx = ( ( idx + delta ) % size + size ) % size;
597  };
598 
599  for( size_t i = 0; i < m_tabOrder.size(); ++i )
600  {
601  if( m_tabOrder[i] == currentWindow )
602  {
603  currentIdx = (int) i;
604  break;
605  }
606  }
607 
608  if( currentIdx >= 0 )
609  {
610  advance( currentIdx );
611 
612  //todo: We don't currently have non-textentry dialog boxes but this will break if
613  // we add them.
614 #ifdef __APPLE__
615  while( dynamic_cast<wxTextEntry*>( m_tabOrder[ currentIdx ] ) == nullptr )
616  advance( currentIdx );
617 #endif
618 
619  m_tabOrder[ currentIdx ]->SetFocus();
620  return;
621  }
622  }
623 
624  aEvt.Skip();
625 }
std::vector< wxWindow * > m_tabOrder
Definition: dialog_shim.h:220
EDA_BASE_FRAME * m_parentFrame
Definition: dialog_shim.h:218
virtual void ToggleUserUnits()
constexpr int delta

References delta, DIALOG_SHIM::m_parentFrame, DIALOG_SHIM::m_tabOrder, and EDA_BASE_FRAME::ToggleUserUnits().

Referenced by DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), and DIALOG_TEXT_PROPERTIES::~DIALOG_TEXT_PROPERTIES().

◆ onInitDlg()

virtual void DIALOG_SPICE_MODEL_BASE::onInitDlg ( wxInitDialogEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 243 of file dialog_spice_model_base.h.

243 { event.Skip(); }

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

◆ onModelSelected()

virtual void DIALOG_SPICE_MODEL_BASE::onModelSelected ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 245 of file dialog_spice_model_base.h.

245 { event.Skip(); }

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

◆ OnModify()

◆ OnPaint()

void DIALOG_SHIM::OnPaint ( wxPaintEvent &  event)
inherited

Definition at line 380 of file dialog_shim.cpp.

381 {
382  if( m_firstPaintEvent )
383  {
385 
386  selectAllInTextCtrls( GetChildren() );
387 
390  else
391  KIPLATFORM::UI::ForceFocus( this ); // Focus the dialog itself
392 
393  m_firstPaintEvent = false;
394  }
395 
396  event.Skip();
397 }
wxWindow * m_initialFocusTarget
Definition: dialog_shim.h:211
bool m_firstPaintEvent
Definition: dialog_shim.h:210
void ForceFocus(wxWindow *aWindow)
Pass the current focus to the window.
Definition: gtk/ui.cpp:44
void FixupCancelButtonCmdKeyCollision(wxWindow *aWindow)
Definition: gtk/ui.cpp:71
static void selectAllInTextCtrls(wxWindowList &children)

References KIPLATFORM::UI::FixupCancelButtonCmdKeyCollision(), KIPLATFORM::UI::ForceFocus(), DIALOG_SHIM::m_firstPaintEvent, DIALOG_SHIM::m_initialFocusTarget, and selectAllInTextCtrls().

Referenced by DIALOG_SHIM::DIALOG_SHIM().

◆ onPwlAdd()

virtual void DIALOG_SPICE_MODEL_BASE::onPwlAdd ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 247 of file dialog_spice_model_base.h.

247 { event.Skip(); }

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

◆ onPwlRemove()

virtual void DIALOG_SPICE_MODEL_BASE::onPwlRemove ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 248 of file dialog_spice_model_base.h.

248 { event.Skip(); }

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

◆ onRandomSourceType()

virtual void DIALOG_SPICE_MODEL_BASE::onRandomSourceType ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 249 of file dialog_spice_model_base.h.

249 { event.Skip(); }

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

◆ onSelectLibrary()

virtual void DIALOG_SPICE_MODEL_BASE::onSelectLibrary ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 244 of file dialog_spice_model_base.h.

244 { event.Skip(); }

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

◆ onTypeSelected()

virtual void DIALOG_SPICE_MODEL_BASE::onTypeSelected ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 246 of file dialog_spice_model_base.h.

246 { event.Skip(); }

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

◆ Prj()

PROJECT & KIWAY_HOLDER::Prj ( ) const
inherited

Return a reference to the PROJECT associated with this KIWAY.

Definition at line 36 of file kiway_holder.cpp.

37 {
38  return Kiway().Prj();
39 }
KIWAY & Kiway() const
Return a reference to the KIWAY that this object has an opportunity to participate in.
Definition: kiway_holder.h:53
virtual PROJECT & Prj() const
Return the PROJECT associated with this KIWAY.
Definition: kiway.cpp:190

References KIWAY_HOLDER::Kiway(), and KIWAY::Prj().

Referenced by PCB_BASE_EDIT_FRAME::AddLibrary(), SYMBOL_LIBRARY_MANAGER::addLibrary(), SYMBOL_EDIT_FRAME::addLibTableEntry(), SCH_EDIT_FRAME::AppendSchematic(), AskSaveBoardFileName(), DIALOG_SYMBOL_REMAP::backupProject(), CVPCB_MAINFRAME::buildEquivalenceList(), CVPCB_MAINFRAME::BuildLibrariesListBox(), SIM_PLOT_FRAME::canCloseWindow(), PANEL_FP_PROPERTIES_3D_MODEL::Cfg3DPath(), KICAD_MANAGER_FRAME::CloseProject(), DIALOG_GEN_FOOTPRINT_POSITION::CreateAsciiFiles(), DIALOG_GEN_FOOTPRINT_POSITION::CreateGerberFiles(), PCB_BASE_EDIT_FRAME::createNewLibrary(), PCB_BASE_EDIT_FRAME::CreateNewProjectLibrary(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), SCH_EDIT_FRAME::CreateScreens(), FOOTPRINT_EDIT_FRAME::DeleteFootprintFromLibrary(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOARD_STATISTICS::DIALOG_BOARD_STATISTICS(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CHOOSE_FOOTPRINT::DIALOG_CHOOSE_FOOTPRINT(), DIALOG_CHOOSE_SYMBOL::DIALOG_CHOOSE_SYMBOL(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXPORT_SVG::DIALOG_EXPORT_SVG(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_NETLIST::DIALOG_NETLIST(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SYMBOL_REMAP::DIALOG_SYMBOL_REMAP(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), PL_DRAW_PANEL_GAL::DisplayDrawingSheet(), FOOTPRINT_PREVIEW_PANEL::DisplayFootprint(), SYMBOL_VIEWER_FRAME::DisplayLibInfos(), CVPCB_MAINFRAME::DisplayStatus(), PCB_EDIT_FRAME::doAutoSave(), SCH_EDIT_FRAME::doAutoSave(), PCB_BASE_EDIT_FRAME::doCloseWindow(), FOOTPRINT_EDIT_FRAME::doCloseWindow(), SCH_EDIT_FRAME::doCloseWindow(), FIELDS_GRID_TRICKS::doPopupSelection(), FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), KICAD_MANAGER_CONTROL::Execute(), PCB_EDIT_FRAME::Export_IDF3(), PCB_EDIT_FRAME::ExportFootprintsToLibrary(), BOARD_EDITOR_CONTROL::ExportNetlist(), DIALOG_EXPORT_SVG::ExportSVGFile(), SYMBOL_EDITOR_CONTROL::ExportSymbolAsSVG(), SYMBOL_EDITOR_CONTROL::ExportView(), PCB_EDIT_FRAME::ExportVRML_File(), BACK_ANNOTATE::FetchNetlistFromPCB(), PCB_EDIT_FRAME::Files_io_from_id(), PCB_EDIT_FRAME::GenD356File(), DIALOG_GENDRILL::GenDrillAndMapFiles(), FOOTPRINT_VIEWER_FRAME::getCurFootprintName(), SYMBOL_EDIT_FRAME::GetCurLib(), FOOTPRINT_VIEWER_FRAME::getCurNickname(), SIM_PLOT_FRAME::getDefaultFilename(), SIM_PLOT_FRAME::getDefaultPath(), PCB_BASE_EDIT_FRAME::GetDesignRulesPath(), DISPLAY_FOOTPRINTS_FRAME::GetFootprint(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), SCH_BASE_FRAME::GetLibSymbol(), DIALOG_PLOT_SCHEMATIC::getOutputPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), SCH_EDIT_FRAME::GetSchematicJunctionSize(), SYMBOL_VIEWER_FRAME::GetSelectedSymbol(), SCH_EDIT_FRAME::importFile(), SCH_EDITOR_CONTROL::ImportFPAssignments(), DIALOG_CONFIG_EQUFILES::Init(), FOOTPRINT_EDIT_FRAME::initLibraryTree(), SCH_EDIT_FRAME::KiwayMailIn(), SYMBOL_EDIT_FRAME::KiwayMailIn(), EDA_DRAW_FRAME::LibraryFileBrowser(), CVPCB_MAINFRAME::LoadFootprintFiles(), DIALOG_SPICE_MODEL::loadLibrary(), KICAD_MANAGER_FRAME::LoadProject(), SCH_EDIT_FRAME::LoadProject(), SCH_EDIT_FRAME::LoadProjectSettings(), PCB_EDIT_FRAME::LoadProjectSettings(), SIM_PLOT_FRAME::LoadSettings(), SCH_EDIT_FRAME::LoadSheetFromFile(), SYMBOL_EDIT_FRAME::LoadSymbolFromCurrentLib(), EDA_BASE_FRAME::LoadWindowState(), SIM_PLOT_FRAME::loadWorkbook(), SIM_PLOT_FRAME::menuSaveWorkbook(), SIM_PLOT_FRAME::menuSaveWorkbookAs(), PANEL_FP_PROPERTIES_3D_MODEL::On3DModelCellChanged(), FOOTPRINT_VIEWER_FRAME::OnActivate(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), DIALOG_BOARD_SETUP::OnAuxiliaryAction(), KICAD_MANAGER_FRAME::OnBrowseInFileExplorer(), TEXT_BUTTON_URL::OnButtonClick(), TEXT_BUTTON_FILE_BROWSER::OnButtonClick(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_EXPORT_STEP::onExportButton(), DIALOG_GENDRILL::OnGenReportFile(), KICAD_MANAGER_FRAME::OnIdle(), SCH_EDIT_FRAME::OnImportProject(), DIALOG_CHOOSE_SYMBOL::OnInitDialog(), DIALOG_CONFIG_EQUFILES::OnOkClick(), SCH_EDIT_FRAME::OnOpenCvpcb(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), DIALOG_NETLIST::OnOpenNetlistClick(), SCH_EDIT_FRAME::OnOpenPcbnew(), DIALOG_PLOT::OnOutputDirectoryBrowseClicked(), DIALOG_EXPORT_SVG::OnOutputDirectoryBrowseClicked(), DIALOG_GEN_FOOTPRINT_POSITION::OnOutputDirectoryBrowseClicked(), DIALOG_GENDRILL::OnOutputDirectoryBrowseClicked(), DIALOG_PLOT_SCHEMATIC::OnOutputDirectoryBrowseClicked(), DIALOG_SCHEMATIC_SETUP::OnPageChange(), DIALOG_BOARD_SETUP::OnPageChange(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), FOOTPRINT_EDIT_FRAME::OnSaveFootprintAsPng(), DIALOG_ERC::OnSaveReport(), DIALOG_DRC::OnSaveReport(), DIALOG_TEXT_AND_LABEL_PROPERTIES::onScintillaCharAdded(), PROPERTIES_FRAME::onScintillaCharAdded(), DIALOG_SCH_FIELD_PROPERTIES::onScintillaCharAdded(), DIALOG_SPICE_MODEL::onSelectLibrary(), SYMBOL_VIEWER_FRAME::OnSelectSymbol(), KICAD_MANAGER_FRAME::OnUnarchiveFiles(), SCH_EDIT_FRAME::OnUpdatePCB(), PCB_EDIT_FRAME::OpenProjectFiles(), SCH_EDIT_FRAME::OpenProjectFiles(), PANEL_FP_PROPERTIES_3D_MODEL::PANEL_FP_PROPERTIES_3D_MODEL(), PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL(), SCH_EDITOR_CONTROL::Paste(), FOOTPRINT_EDITOR_CONTROL::PasteFootprint(), SCH_BASE_FRAME::PickSymbolFromLibTree(), DIALOG_PLOT::Plot(), DIALOG_PLOT_SCHEMATIC::plotOneSheetDXF(), DIALOG_PLOT_SCHEMATIC::plotOneSheetHpgl(), DIALOG_CHOOSE_SYMBOL::PopulateFootprintSelector(), SCH_EDITOR_CONTROL::Print(), EDA_DRAW_FRAME::PrintDrawingSheet(), SCH_EDIT_FRAME::PrintPage(), KICAD_MANAGER_FRAME::PrintPrjInfo(), CVPCB_MAINFRAME::ReadNetListAndFpFiles(), PCB_EDIT_FRAME::RecreateCmpFileFromBoard(), FOOTPRINT_VIEWER_FRAME::ReCreateFootprintList(), SYMBOL_VIEWER_FRAME::ReCreateLibList(), FOOTPRINT_VIEWER_FRAME::ReCreateLibraryList(), SYMBOL_VIEWER_FRAME::ReCreateSymbolList(), PANEL_FP_PROPERTIES_3D_MODEL::ReloadModelsFromFootprint(), EDA_3D_VIEWER_FRAME::ReloadRequest(), DIALOG_SYMBOL_REMAP::remapSymbolToLibTable(), SYMBOL_EDIT_FRAME::replaceLibTableEntry(), SCH_EDITOR_CONTROL::RescueLegacyProject(), SCH_EDITOR_CONTROL::RescueSymbolLibTableProject(), FOOTPRINT_EDIT_FRAME::restoreLastFootprint(), FOOTPRINT_EDIT_FRAME::retainLastFootprint(), FOOTPRINT_EDITOR_CONTROL::SaveAs(), FOOTPRINT_EDIT_FRAME::SaveFootprint(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), FOOTPRINT_EDIT_FRAME::SaveFootprintInLibrary(), SYMBOL_EDIT_FRAME::saveLibrary(), PCB_EDIT_FRAME::SavePcbFile(), SCH_EDIT_FRAME::SaveProject(), PCB_EDIT_FRAME::SaveProjectSettings(), DIALOG_BOARD_STATISTICS::saveReportClicked(), SCH_EDIT_FRAME::saveSchematicFile(), SIM_PLOT_FRAME::SaveSettings(), EDA_BASE_FRAME::SaveSettings(), SYMBOL_EDIT_FRAME::saveSymbolAs(), SCH_BASE_FRAME::saveSymbolLibTables(), SIM_PLOT_FRAME::saveWorkbook(), FOOTPRINT_VIEWER_FRAME::SelectAndViewFootprint(), PCB_BASE_FRAME::SelectLibrary(), SYMBOL_EDIT_FRAME::SelectLibraryFromList(), PCB_BASE_EDIT_FRAME::selectLibTable(), SYMBOL_EDIT_FRAME::selectSymLibTable(), FOOTPRINT_VIEWER_FRAME::setCurFootprintName(), SYMBOL_EDIT_FRAME::SetCurLib(), FOOTPRINT_VIEWER_FRAME::setCurNickname(), SYMBOL_EDIT_FRAME::SetCurSymbol(), GERBVIEW_FRAME::SetPageSettings(), EE_INSPECTION_TOOL::ShowDatasheet(), DIALOG_CHOOSE_SYMBOL::ShowFootprintFor(), COMMON_CONTROL::ShowHelp(), SYMBOL_VIEWER_FRAME::ShowModal(), FOOTPRINT_VIEWER_FRAME::ShowModal(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), SYMBOL_LIBRARY_MANAGER::symTable(), SYMBOL_TREE_SYNCHRONIZING_ADAPTER::Sync(), FOOTPRINT_EDIT_FRAME::SyncLibraryTree(), EDA_3D_VIEWER_FRAME::takeScreenshot(), PANEL_SETUP_RULES::TransferDataFromWindow(), DIALOG_SHEET_PROPERTIES::TransferDataFromWindow(), NETLIST_DIALOG::TransferDataFromWindow(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), PANEL_SETUP_RULES::TransferDataToWindow(), SCH_EDIT_FRAME::updateAutoSaveFile(), DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample(), FOOTPRINT_VIEWER_FRAME::UpdateTitle(), SIM_PLOT_FRAME::updateTitle(), FOOTPRINT_EDIT_FRAME::UpdateTitle(), SCH_EDIT_FRAME::UpdateTitle(), PANEL_FP_PROPERTIES_3D_MODEL::validateModelExists(), SCH_EDIT_FRAME::WriteNetListFile(), DIALOG_FOOTPRINT_PROPERTIES::~DIALOG_FOOTPRINT_PROPERTIES(), PANEL_FP_PROPERTIES_3D_MODEL::~PANEL_FP_PROPERTIES_3D_MODEL(), and SCH_EDIT_FRAME::~SCH_EDIT_FRAME().

◆ resetSize()

void DIALOG_SHIM::resetSize ( )
protectedinherited

Clear the existing dialog size and position.

This will cause the dialog size to be clear so the next time the dialog is shown the sizers will layout the dialog accordingly. This useful when there are dialog windows that size changes due to layout dependency hidden controls.

Definition at line 287 of file dialog_shim.cpp.

288 {
289  const char* hash_key;
290 
291  if( m_hash_key.size() )
292  {
293  // a special case like EDA_LIST_DIALOG, which has multiple uses.
294  hash_key = m_hash_key.c_str();
295  }
296  else
297  {
298  hash_key = typeid(*this).name();
299  }
300 
301  std::unordered_map<std::string, wxRect>::iterator it = class_map.find( hash_key );
302 
303  if( it == class_map.end() )
304  return;
305 
306  wxRect rect = it->second;
307  rect.SetSize( wxSize( 0, 0 ) );
308  class_map[ hash_key ] = rect;
309 }
std::string m_hash_key
Definition: dialog_shim.h:201
static std::unordered_map< std::string, wxRect > class_map

References class_map, and DIALOG_SHIM::m_hash_key.

Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES().

◆ SetInitialFocus()

void DIALOG_SHIM::SetInitialFocus ( wxWindow *  aWindow)
inlineinherited

Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.

Definition at line 97 of file dialog_shim.h.

98  {
99  m_initialFocusTarget = aWindow;
100  }
wxWindow * m_initialFocusTarget
Definition: dialog_shim.h:211

References DIALOG_SHIM::m_initialFocusTarget.

Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_CHOOSE_FOOTPRINT::DIALOG_CHOOSE_FOOTPRINT(), DIALOG_CHOOSE_SYMBOL::DIALOG_CHOOSE_SYMBOL(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FP_PLUGIN_OPTIONS::DIALOG_FP_PLUGIN_OPTIONS(), DIALOG_GRAPHIC_ITEM_PROPERTIES::DIALOG_GRAPHIC_ITEM_PROPERTIES(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES(), DIALOG_LIB_TEXT_PROPERTIES::DIALOG_LIB_TEXT_PROPERTIES(), DIALOG_LINE_WIRE_BUS_PROPERTIES::DIALOG_LINE_WIRE_BUS_PROPERTIES(), DIALOG_PAD_PRIMITIVES_PROPERTIES::DIALOG_PAD_PRIMITIVES_PROPERTIES(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_AND_LABEL_PROPERTIES::DIALOG_TEXT_AND_LABEL_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), EDA_VIEW_SWITCHER::EDA_VIEW_SWITCHER(), HK_PROMPT_DIALOG::HK_PROMPT_DIALOG(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchAllClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchIDClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchRefClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchSelectedClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchValueClicked(), PANEL_FP_LIB_TABLE::PANEL_FP_LIB_TABLE(), PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), SYMBOL_EDIT_FRAME::saveSymbolAs(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), DIALOG_RULE_AREA_PROPERTIES::TransferDataToWindow(), DIALOG_COPPER_ZONE::TransferDataToWindow(), and WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG().

◆ SetKiway()

void KIWAY_HOLDER::SetKiway ( wxWindow *  aDest,
KIWAY aKiway 
)
inherited

It is only used for debugging, since "this" is not a wxWindow*.

"this" is a KIWAY_HOLDER mix-in.

Parameters
aDestis the recipient of aKiway pointer.
aKiwayis often from a parent window or from KIFACE::CreateWindow().

Definition at line 43 of file kiway_holder.cpp.

44 {
45 #if defined(DEBUG)
46  // offer a trap point for debugging most any window
47  wxASSERT( aDest );
48  if( !strcmp( typeid(aDest).name(), "DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB" ) )
49  {
50  int breakhere=1;
51  ignore_unused( breakhere );
52  }
53 #endif
54 
55  ignore_unused( aDest );
56 
57  m_kiway = aKiway;
58 }
KIWAY * m_kiway
Definition: kiway_holder.h:75
const char * name
Definition: DXF_plotter.cpp:56
void ignore_unused(const T &)
Definition: ignore.h:24

References ignore_unused(), KIWAY_HOLDER::m_kiway, and name.

Referenced by BM2CMP_FRAME::BM2CMP_FRAME(), PCB::IFACE::CreateWindow(), InvokePcbLibTableEditor(), InvokeSchEditSymbolLibTable(), PCB_CALCULATOR_FRAME::PCB_CALCULATOR_FRAME(), and SIM_PLOT_FRAME::SIM_PLOT_FRAME().

◆ SetPosition()

void DIALOG_SHIM::SetPosition ( const wxPoint &  aNewPosition)
inherited

Force the position of the dialog to a new position.

Parameters
aNewPositionis the new forced position

Definition at line 190 of file dialog_shim.cpp.

191 {
192  wxDialog::SetPosition( aNewPosition );
193 
194  // Now update the stored position:
195  const char* hash_key;
196 
197  if( m_hash_key.size() )
198  {
199  // a special case like EDA_LIST_DIALOG, which has multiple uses.
200  hash_key = m_hash_key.c_str();
201  }
202  else
203  {
204  hash_key = typeid(*this).name();
205  }
206 
207  std::unordered_map<std::string, wxRect>::iterator it = class_map.find( hash_key );
208 
209  if( it == class_map.end() )
210  return;
211 
212  wxRect rect = it->second;
213  rect.SetPosition( aNewPosition );
214 
215  class_map[ hash_key ] = rect;
216 }
std::string m_hash_key
Definition: dialog_shim.h:201
static std::unordered_map< std::string, wxRect > class_map
void SetPosition(const wxString &aStr, const wxString &aDefaultMeasurementUnit, int *aX, int *aY, const wxString &aActualConversion)

References class_map, DIALOG_SHIM::m_hash_key, and PCAD2KICAD::SetPosition().

Referenced by PCB_BASE_FRAME::SelectOneLayer().

◆ setSizeInDU()

void DIALOG_SHIM::setSizeInDU ( int  x,
int  y 
)
protectedinherited

Set the dialog to the given dimensions in "dialog units".

These are units equivalent to 4* the average character width and 8* the average character height, allowing a dialog to be sized in a way that scales it with the system font.

Definition at line 162 of file dialog_shim.cpp.

163 {
164  wxSize sz( x, y );
165  SetSize( ConvertDialogToPixels( sz ) );
166 }

Referenced by DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), and HTML_MESSAGE_BOX::SetDialogSizeInDU().

◆ Show()

bool DIALOG_SHIM::Show ( bool  show)
overrideinherited

Definition at line 219 of file dialog_shim.cpp.

220 {
221  bool ret;
222  const char* hash_key;
223 
224  if( m_hash_key.size() )
225  {
226  // a special case like EDA_LIST_DIALOG, which has multiple uses.
227  hash_key = m_hash_key.c_str();
228  }
229  else
230  {
231  hash_key = typeid(*this).name();
232  }
233 
234  // Show or hide the window. If hiding, save current position and size.
235  // If showing, use previous position and size.
236  if( show )
237  {
238 #ifndef __WINDOWS__
239  wxDialog::Raise(); // Needed on OS X and some other window managers (i.e. Unity)
240 #endif
241  ret = wxDialog::Show( show );
242 
243  // classname is key, returns a zeroed out default EDA_RECT if none existed before.
244  wxRect savedDialogRect = class_map[ hash_key ];
245 
246  if( savedDialogRect.GetSize().x != 0 && savedDialogRect.GetSize().y != 0 )
247  {
248  if( m_useCalculatedSize )
249  {
250  SetSize( savedDialogRect.GetPosition().x, savedDialogRect.GetPosition().y,
251  wxDialog::GetSize().x, wxDialog::GetSize().y, 0 );
252  }
253  else
254  {
255  SetSize( savedDialogRect.GetPosition().x, savedDialogRect.GetPosition().y,
256  std::max( wxDialog::GetSize().x, savedDialogRect.GetSize().x ),
257  std::max( wxDialog::GetSize().y, savedDialogRect.GetSize().y ),
258  0 );
259  }
260  }
261  else if( m_initialSize != wxDefaultSize )
262  SetSize( m_initialSize );
263 
264  // Be sure that the dialog appears in a visible area
265  // (the dialog position might have been stored at the time when it was
266  // shown on another display)
267  if( wxDisplay::GetFromWindow( this ) == wxNOT_FOUND )
268  Centre();
269  }
270  else
271  {
272  // Save the dialog's position & size before hiding, using classname as key
273  class_map[ hash_key ] = wxRect( wxDialog::GetPosition(), wxDialog::GetSize() );
274 
275 #ifdef __WXMAC__
276  if ( m_eventLoop )
277  m_eventLoop->Exit( GetReturnCode() ); // Needed for APP-MODAL dlgs on OSX
278 #endif
279 
280  ret = wxDialog::Show( show );
281  }
282 
283  return ret;
284 }
std::string m_hash_key
Definition: dialog_shim.h:201
static std::unordered_map< std::string, wxRect > class_map
bool m_useCalculatedSize
Definition: dialog_shim.h:205
wxSize m_initialSize
Definition: dialog_shim.h:223

References class_map, DIALOG_SHIM::m_hash_key, DIALOG_SHIM::m_initialSize, and DIALOG_SHIM::m_useCalculatedSize.

Referenced by FOOTPRINT_EDITOR_CONTROL::CheckFootprint(), DRC_TOOL::CrossProbe(), DIALOG_SHIM::EndQuasiModal(), GROUP_TOOL::GroupProperties(), EE_INSPECTION_TOOL::NextMarker(), DRC_TOOL::NextMarker(), SCH_EDIT_FRAME::OnAnnotate(), DIALOG_DRC::OnDRCItemDClick(), DIALOG_ERC::OnERCItemDClick(), DIALOG_CLEANUP_GRAPHICS::OnLeftDClickItem(), DIALOG_CLEANUP_TRACKS_AND_VIAS::OnLeftDClickItem(), DIALOG_FOOTPRINT_CHECKER::OnLeftDClickItem(), GROUP_TOOL::PickNewMember(), POSITION_RELATIVE_TOOL::PositionRelative(), EE_INSPECTION_TOOL::PrevMarker(), DRC_TOOL::PrevMarker(), CVPCB_MAINFRAME::ReadNetListAndFpFiles(), EDA_VIEW_SWITCHER::Show(), DIALOG_PAD_PROPERTIES::Show(), DRC_TOOL::ShowDRCDialog(), EE_INSPECTION_TOOL::ShowERCDialog(), SCH_EDIT_FRAME::ShowFindReplaceDialog(), HTML_MESSAGE_BOX::ShowModeless(), DIALOG_SHIM::ShowQuasiModal(), DIALOG_POSITION_RELATIVE::UpdateAnchor(), and SCH_EDIT_FRAME::UpdateHierarchyNavigator().

◆ ShowQuasiModal()

int DIALOG_SHIM::ShowQuasiModal ( )
inherited

Definition at line 430 of file dialog_shim.cpp.

431 {
432  // This is an exception safe way to zero a pointer before returning.
433  // Yes, even though DismissModal() clears this first normally, this is
434  // here in case there's an exception before the dialog is dismissed.
435  struct NULLER
436  {
437  void*& m_what;
438  NULLER( void*& aPtr ) : m_what( aPtr ) {}
439  ~NULLER() { m_what = nullptr; } // indeed, set it to NULL on destruction
440  } clear_this( (void*&) m_qmodal_loop );
441 
442  // release the mouse if it's currently captured as the window having it
443  // will be disabled when this dialog is shown -- but will still keep the
444  // capture making it impossible to do anything in the modal dialog itself
445  wxWindow* win = wxWindow::GetCapture();
446  if( win )
447  win->ReleaseMouse();
448 
449  // Get the optimal parent
450  wxWindow* parent = GetParentForModalDialog( GetParent(), GetWindowStyle() );
451 
452  wxASSERT_MSG( !m_qmodal_parent_disabler,
453  wxT( "Caller using ShowQuasiModal() twice on same window?" ) );
454 
455  // quasi-modal: disable only my "optimal" parent
457 
458  // Apple in its infinite wisdom will raise a disabled window before even passing
459  // us the event, so we have no way to stop it. Instead, we must set an order on
460  // the windows so that the quasi-modal will be pushed in front of the disabled
461  // window when it is raised.
463 
464  Show( true );
465 
466  m_qmodal_showing = true;
467 
468  WX_EVENT_LOOP event_loop;
469 
470  m_qmodal_loop = &event_loop;
471 
472  event_loop.Run();
473 
474  m_qmodal_showing = false;
475 
476  return GetReturnCode();
477 }
bool m_qmodal_showing
Definition: dialog_shim.h:215
#define WX_EVENT_LOOP
Definition: kiway_player.h:41
WX_EVENT_LOOP * m_qmodal_loop
Definition: dialog_shim.h:213
bool Show(bool show) override
WDO_ENABLE_DISABLE * m_qmodal_parent_disabler
Definition: dialog_shim.h:216
Toggle a window's "enable" status to disabled, then enabled on destruction.
Definition: dialog_shim.cpp:44
void ReparentQuasiModal(wxNonOwnedWindow *aWindow)
Move a window's parent to be the top-level window and force the window to be on top.
Definition: gtk/ui.cpp:65

References DIALOG_SHIM::m_qmodal_loop, DIALOG_SHIM::m_qmodal_parent_disabler, DIALOG_SHIM::m_qmodal_showing, KIPLATFORM::UI::ReparentQuasiModal(), DIALOG_SHIM::Show(), and WX_EVENT_LOOP.

Referenced by SCH_EDIT_TOOL::ChangeSymbols(), S3D::Configure3DPaths(), COMMON_CONTROL::ConfigurePaths(), MICROWAVE_TOOL::createFootprint(), MICROWAVE_TOOL::createMicrowaveInductor(), SCH_DRAWING_TOOLS::createNewText(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SCH_EDIT_TOOL::editFieldText(), SCH_EDITOR_CONTROL::EditSymbolFields(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), GLOBAL_EDIT_TOOL::EditTracksAndVias(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), InvokeCopperZonesEditor(), InvokeDialogCreateBOM(), InvokeDialogEditSymbolsLibId(), InvokeDialogRescueEach(), InvokeNonCopperZonesEditor(), SYMBOL_VIEWER_FRAME::OnSelectSymbol(), SCH_EDIT_FRAME::OpenProjectFiles(), SCH_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), SCH_EDITOR_CONTROL::RemapSymbols(), S3D::Select3DModel(), PCB_BASE_FRAME::SelectFootprintFromLibTree(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowDimensionPropertiesDialog(), PCB_EDIT_FRAME::ShowExchangeFootprintsDialog(), PCB_EDIT_FRAME::ShowFootprintPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), PCB_BASE_FRAME::ShowPadPropertiesDialog(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), and PCB_BASE_EDIT_FRAME::ShowTextPropertiesDialog().

◆ vertPixelsFromDU()

int DIALOG_SHIM::vertPixelsFromDU ( int  y) const
protectedinherited

Convert an integer number of dialog units to pixels, vertically.

See SetSizeInDU or wxDialog documentation for more information.

Definition at line 176 of file dialog_shim.cpp.

177 {
178  wxSize sz( 0, y );
179  return ConvertDialogToPixels( sz ).y;
180 }

Referenced by DIALOG_CHOOSE_SYMBOL::DIALOG_CHOOSE_SYMBOL().

Member Data Documentation

◆ m_amAmplitude

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_amAmplitude
protected

◆ m_amCarrierFreq

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_amCarrierFreq
protected

◆ m_amModulatingFreq

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_amModulatingFreq
protected

◆ m_amOffset

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_amOffset
protected

◆ m_amPhase

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_amPhase
protected

◆ m_amSignalDelay

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_amSignalDelay
protected

◆ m_disabled

wxCheckBox* DIALOG_SPICE_MODEL_BASE::m_disabled
protected

◆ m_expFallConst

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expFallConst
protected

◆ m_expFallDelay

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expFallDelay
protected

◆ m_expInit

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expInit
protected

◆ m_expPulsed

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expPulsed
protected

◆ m_expRiseConst

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expRiseConst
protected

◆ m_expRiseDelay

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expRiseDelay
protected

◆ m_firstPaintEvent

bool DIALOG_SHIM::m_firstPaintEvent
protectedinherited

Definition at line 210 of file dialog_shim.h.

Referenced by DIALOG_SHIM::OnPaint().

◆ m_fmAmplitude

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmAmplitude
protected

◆ m_fmFcarrier

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmFcarrier
protected

◆ m_fmFsignal

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmFsignal
protected

◆ m_fmModIndex

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmModIndex
protected

◆ m_fmOffset

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmOffset
protected

◆ m_fmPhaseC

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmPhaseC
protected

◆ m_fmPhaseS

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_fmPhaseS
protected

◆ m_genAcMag

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_genAcMag
protected

◆ m_genAcPhase

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_genAcPhase
protected

◆ m_genDc

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_genDc
protected

◆ m_hash_key

◆ m_initialFocusTarget

wxWindow* DIALOG_SHIM::m_initialFocusTarget
protectedinherited

Definition at line 211 of file dialog_shim.h.

Referenced by DIALOG_SHIM::OnPaint(), and DIALOG_SHIM::SetInitialFocus().

◆ m_initialSize

wxSize DIALOG_SHIM::m_initialSize
protectedinherited

Definition at line 223 of file dialog_shim.h.

Referenced by DIALOG_SHIM::Show().

◆ m_libraryContents

wxStyledTextCtrl* DIALOG_SPICE_MODEL_BASE::m_libraryContents
protected

◆ m_model

wxPanel* DIALOG_SPICE_MODEL_BASE::m_model
protected

◆ m_modelLibrary

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_modelLibrary
protected

◆ m_modelName

◆ m_modelType

◆ m_nodeSeqCheck

wxCheckBox* DIALOG_SPICE_MODEL_BASE::m_nodeSeqCheck
protected

◆ m_nodeSeqVal

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_nodeSeqVal
protected

◆ m_notebook

wxNotebook* DIALOG_SPICE_MODEL_BASE::m_notebook
protected

◆ m_parentFrame

EDA_BASE_FRAME* DIALOG_SHIM::m_parentFrame
protectedinherited

◆ m_passive

wxPanel* DIALOG_SPICE_MODEL_BASE::m_passive
protected

◆ m_pasType

wxComboBox* DIALOG_SPICE_MODEL_BASE::m_pasType
protected

◆ m_pasValue

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pasValue
protected

◆ m_power

wxPanel* DIALOG_SPICE_MODEL_BASE::m_power
protected

◆ m_powerNotebook

wxNotebook* DIALOG_SPICE_MODEL_BASE::m_powerNotebook
protected

◆ m_pulseDelay

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseDelay
protected

◆ m_pulseFall

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseFall
protected

◆ m_pulseInit

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseInit
protected

◆ m_pulseNominal

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseNominal
protected

◆ m_pulsePeriod

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulsePeriod
protected

◆ m_pulseRise

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseRise
protected

◆ m_pulseWidth

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseWidth
protected

◆ m_pwlAddButton

wxButton* DIALOG_SPICE_MODEL_BASE::m_pwlAddButton
protected

Definition at line 173 of file dialog_spice_model_base.h.

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

◆ m_pwlRemoveBtn

wxButton* DIALOG_SPICE_MODEL_BASE::m_pwlRemoveBtn
protected

Definition at line 175 of file dialog_spice_model_base.h.

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

◆ m_pwlTime

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pwlTime
protected

◆ m_pwlValList

◆ m_pwlValue

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pwlValue
protected

◆ m_pwrAm

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrAm
protected

◆ m_pwrExp

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrExp
protected

◆ m_pwrExtData

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrExtData
protected

Definition at line 231 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_pwrFm

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrFm
protected

◆ m_pwrPulse

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrPulse
protected

◆ m_pwrPwl

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrPwl
protected

◆ m_pwrRandom

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrRandom
protected

◆ m_pwrSin

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrSin
protected

◆ m_pwrTransNoise

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrTransNoise
protected

Definition at line 217 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_pwrType

wxRadioBox* DIALOG_SPICE_MODEL_BASE::m_pwrType
protected

◆ m_qmodal_loop

WX_EVENT_LOOP* DIALOG_SHIM::m_qmodal_loop
protectedinherited

Definition at line 213 of file dialog_shim.h.

Referenced by DIALOG_SHIM::EndQuasiModal(), and DIALOG_SHIM::ShowQuasiModal().

◆ m_qmodal_parent_disabler

WDO_ENABLE_DISABLE* DIALOG_SHIM::m_qmodal_parent_disabler
protectedinherited

◆ m_qmodal_showing

bool DIALOG_SHIM::m_qmodal_showing
protectedinherited

Definition at line 215 of file dialog_shim.h.

Referenced by DIALOG_SHIM::IsQuasiModal(), and DIALOG_SHIM::ShowQuasiModal().

◆ m_rnParam1

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_rnParam1
protected

◆ m_rnParam1Text

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_rnParam1Text
protected

◆ m_rnParam2

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_rnParam2
protected

◆ m_rnParam2Text

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_rnParam2Text
protected

◆ m_rnTD

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_rnTD
protected

◆ m_rnTS

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_rnTS
protected

◆ m_rnType

◆ m_sdbSizer

wxStdDialogButtonSizer* DIALOG_SPICE_MODEL_BASE::m_sdbSizer
protected

Definition at line 238 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_sdbSizerCancel

wxButton* DIALOG_SPICE_MODEL_BASE::m_sdbSizerCancel
protected

Definition at line 240 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_sdbSizerOK

wxButton* DIALOG_SPICE_MODEL_BASE::m_sdbSizerOK
protected

Definition at line 239 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_selectLibrary

wxButton* DIALOG_SPICE_MODEL_BASE::m_selectLibrary
protected

Definition at line 90 of file dialog_spice_model_base.h.

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

◆ m_sinAmplitude

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinAmplitude
protected

◆ m_sinDampFactor

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinDampFactor
protected

◆ m_sinDelay

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinDelay
protected

◆ m_sinFreq

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinFreq
protected

◆ m_sinOffset

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinOffset
protected

◆ m_staticline1

wxStaticLine* DIALOG_SPICE_MODEL_BASE::m_staticline1
protected

Definition at line 57 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticline2

wxStaticLine* DIALOG_SPICE_MODEL_BASE::m_staticline2
protected

Definition at line 233 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticline3

wxStaticLine* DIALOG_SPICE_MODEL_BASE::m_staticline3
protected

Definition at line 237 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText10

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText10
protected

Definition at line 99 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText11

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText11
protected

Definition at line 102 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText111

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText111
protected

Definition at line 104 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText112

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText112
protected

Definition at line 107 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText113

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText113
protected

Definition at line 101 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText12

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText12
protected

Definition at line 105 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13
protected

Definition at line 110 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText131

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText131
protected

Definition at line 112 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1311

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1311
protected

Definition at line 179 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13111

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13111
protected

Definition at line 201 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText132

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText132
protected

Definition at line 115 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1321

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1321
protected

Definition at line 182 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13211

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13211
protected

Definition at line 204 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText133

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText133
protected

Definition at line 118 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1331

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1331
protected

Definition at line 185 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13311

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13311
protected

Definition at line 207 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText134

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText134
protected

Definition at line 121 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1341

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1341
protected

Definition at line 188 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13411

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13411
protected

Definition at line 210 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText135

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText135
protected

Definition at line 124 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1351

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1351
protected

Definition at line 191 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13511

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13511
protected

Definition at line 213 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText136

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText136
protected

Definition at line 127 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1361

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1361
protected

Definition at line 194 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText13611

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13611
protected

Definition at line 216 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText137

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText137
protected

Definition at line 130 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1371

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1371
protected

Definition at line 197 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText138

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText138
protected

Definition at line 177 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1381

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1381
protected

Definition at line 199 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText14

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText14
protected

Definition at line 113 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText141

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText141
protected

Definition at line 180 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1411

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1411
protected

Definition at line 202 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText15

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText15
protected

Definition at line 116 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText151

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText151
protected

Definition at line 183 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1511

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1511
protected

Definition at line 205 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText16

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText16
protected

Definition at line 119 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText161

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText161
protected

Definition at line 186 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1611

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1611
protected

Definition at line 208 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText17

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText17
protected

Definition at line 122 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText171

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText171
protected

Definition at line 189 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1711

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1711
protected

Definition at line 211 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText18

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText18
protected

Definition at line 125 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText181

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText181
protected

Definition at line 192 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText1811

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText1811
protected

Definition at line 214 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText20

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText20
protected

Definition at line 128 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText201

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText201
protected

Definition at line 195 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText21

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText21
protected

Definition at line 132 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText211

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText211
protected

Definition at line 134 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText212

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText212
protected

Definition at line 137 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText213

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText213
protected

Definition at line 140 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText214

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText214
protected

Definition at line 143 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText215

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText215
protected

Definition at line 146 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText22

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText22
protected

Definition at line 135 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText23

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText23
protected

Definition at line 138 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText24

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText24
protected

Definition at line 141 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText25

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText25
protected

Definition at line 144 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText26

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText26
protected

Definition at line 148 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText261

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText261
protected

Definition at line 150 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText262

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText262
protected

Definition at line 153 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText262111

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText262111
protected

Definition at line 223 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText263

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText263
protected

Definition at line 156 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText263111

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText263111
protected

Definition at line 226 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText264

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText264
protected

Definition at line 159 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText265

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText265
protected

Definition at line 162 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText266

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText266
protected

Definition at line 165 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText26711

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText26711
protected

Definition at line 221 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText27

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText27
protected

Definition at line 151 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText27111

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText27111
protected

Definition at line 219 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText28

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText28
protected

Definition at line 154 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText28111

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText28111
protected

Definition at line 224 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText29

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText29
protected

Definition at line 157 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText30

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText30
protected

Definition at line 160 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText31

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText31
protected

Definition at line 163 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText32

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText32
protected

Definition at line 58 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText321

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText321
protected

Definition at line 59 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText34

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText34
protected

Definition at line 167 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText342

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText342
protected

Definition at line 169 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText343

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText343
protected

Definition at line 172 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText35

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText35
protected

Definition at line 170 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText4

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText4
protected

Definition at line 93 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText5

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText5
protected

Definition at line 91 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText62

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText62
protected

Definition at line 53 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticText7

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText7
protected

Definition at line 88 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticTextF1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextF1
protected

Definition at line 60 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextF2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextF2
protected

Definition at line 61 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextF3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextF3
protected

Definition at line 62 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextG1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextG1
protected

Definition at line 81 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextG2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextG2
protected

Definition at line 82 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextG3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextG3
protected

Definition at line 83 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextK1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextK1
protected

Definition at line 75 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextK2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextK2
protected

Definition at line 76 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextK3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextK3
protected

Definition at line 77 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextM1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextM1
protected

Definition at line 72 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextM2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextM2
protected

Definition at line 73 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextM3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextM3
protected

Definition at line 74 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextMeg1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextMeg1
protected

Definition at line 78 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextMeg2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextMeg2
protected

Definition at line 79 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextMeg3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextMeg3
protected

Definition at line 80 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextN1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextN1
protected

Definition at line 66 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextN2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextN2
protected

Definition at line 67 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextN3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextN3
protected

Definition at line 68 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextNote

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextNote
protected

Definition at line 95 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticTextP1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextP1
protected

Definition at line 63 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextP2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextP2
protected

Definition at line 64 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextP3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextP3
protected

Definition at line 65 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextPtype

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextPtype
protected

Definition at line 51 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticTextPvalue

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextPvalue
protected

Definition at line 54 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticTextSpVal

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextSpVal
protected

Definition at line 56 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

◆ m_staticTextT1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextT1
protected

Definition at line 84 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextT2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextT2
protected

Definition at line 85 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextT3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextT3
protected

Definition at line 86 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextU1

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextU1
protected

Definition at line 69 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextU2

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextU2
protected

Definition at line 70 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_staticTextU3

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticTextU3
protected

Definition at line 71 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE(), and DIALOG_SPICE_MODEL::Init().

◆ m_stInfoNote

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_stInfoNote
protected

◆ m_tabOrder

◆ m_units

◆ m_useCalculatedSize

bool DIALOG_SHIM::m_useCalculatedSize
protectedinherited

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