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 Member Functions

 DIALOG_SPICE_MODEL_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(640, 582), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
 ~DIALOG_SPICE_MODEL_BASE ()
 
int ShowQuasiModal ()
 
void EndQuasiModal (int retCode)
 
bool IsQuasiModal ()
 
bool Show (bool show) override
 
bool Enable (bool enable) override
 
KIWAYKiway () const
 Function Kiway returns a reference to the KIWAY that this object has an opportunity to participate in. More...
 
PROJECTPrj () const
 Function Prj returns a reference to the PROJECT "associated with" this KIWAY. More...
 
void SetKiway (wxWindow *aDest, KIWAY *aKiway)
 Function SetKiway. More...
 

Protected Member Functions

virtual void onInitDlg (wxInitDialogEvent &event)
 
virtual void onSemiSelectLib (wxCommandEvent &event)
 
virtual void onSelectIcLib (wxCommandEvent &event)
 
virtual void onPwlAdd (wxCommandEvent &event)
 
virtual void onPwlRemove (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 FixOSXCancelButtonIssue ()
 A ugly hack to fix an issue on OSX: when typing ctrl+c in a wxTextCtrl inside a dialog, it is closed instead of copying a text if a button with wxID_CANCEL is used in a wxStdDialogButtonSizer, when the dlg is created by wxFormBuilder: the label is &Cancel, and this accelerator key has priority to copy text standard accelerator, and the dlg is closed when trying to copy text this function do nothing on other platforms. More...
 

Protected Attributes

wxNotebook * m_notebook
 
wxPanel * m_passive
 
wxStaticText * m_staticText2
 
wxComboBox * m_pasType
 
wxStaticText * m_staticText62
 
wxStaticText * m_staticText3
 
wxTextCtrl * m_pasValue
 
wxStaticText * m_staticText63
 
wxStaticLine * m_staticline1
 
wxStaticText * m_staticText32
 
wxStaticText * m_staticText321
 
wxStaticText * m_staticText341
 
wxStaticText * m_staticText351
 
wxStaticText * m_staticText36
 
wxStaticText * m_staticText37
 
wxStaticText * m_staticText38
 
wxStaticText * m_staticText39
 
wxStaticText * m_staticText40
 
wxStaticText * m_staticText41
 
wxStaticText * m_staticText42
 
wxStaticText * m_staticText43
 
wxStaticText * m_staticText44
 
wxStaticText * m_staticText46
 
wxStaticText * m_staticText47
 
wxStaticText * m_staticText48
 
wxStaticText * m_staticText45
 
wxStaticText * m_staticText49
 
wxStaticText * m_staticText50
 
wxStaticText * m_staticText51
 
wxStaticText * m_staticText52
 
wxStaticText * m_staticText53
 
wxStaticText * m_staticText54
 
wxStaticText * m_staticText55
 
wxStaticText * m_staticText56
 
wxStaticText * m_staticText57
 
wxStaticText * m_staticText58
 
wxStaticText * m_staticText59
 
wxStaticText * m_staticText60
 
wxPanel * m_semiconductor
 
wxStaticText * m_staticText4
 
wxComboBox * m_semiType
 
wxStaticText * m_staticText5
 
wxComboBox * m_semiModel
 
wxStaticText * m_staticText7
 
wxTextCtrl * m_semiLib
 
wxButton * m_semiSelectLib
 
wxPanel * m_ic
 
wxStaticText * m_staticText8
 
wxComboBox * m_icModel
 
wxStaticText * m_staticText9
 
wxTextCtrl * m_icLib
 
wxButton * m_icSelectLib
 
wxPanel * m_power
 
wxStaticText * m_staticText10
 
wxTextCtrl * m_genDc
 
wxStaticText * m_staticText11
 
wxTextCtrl * m_genAcMag
 
wxStaticText * m_staticText12
 
wxTextCtrl * m_genAcPhase
 
wxNotebook * m_powerNotebook
 
wxPanel * m_pwrPulse
 
wxStaticText * m_staticText13
 
wxTextCtrl * m_pulseInit
 
wxStaticText * m_staticText14
 
wxTextCtrl * m_pulseNominal
 
wxStaticText * m_staticText15
 
wxTextCtrl * m_pulseDelay
 
wxStaticText * m_staticText16
 
wxTextCtrl * m_pulseRise
 
wxStaticText * m_staticText17
 
wxTextCtrl * m_pulseFall
 
wxStaticText * m_staticText18
 
wxTextCtrl * m_pulseWidth
 
wxStaticText * m_staticText20
 
wxTextCtrl * m_pulsePeriod
 
wxPanel * m_pwrSin
 
wxStaticText * m_staticText21
 
wxTextCtrl * m_sinOffset
 
wxStaticText * m_staticText22
 
wxTextCtrl * m_sinAmplitude
 
wxStaticText * m_staticText23
 
wxTextCtrl * m_sinFreq
 
wxStaticText * m_staticText24
 
wxTextCtrl * m_sinDelay
 
wxStaticText * m_staticText25
 
wxTextCtrl * m_sinDampFactor
 
wxPanel * m_pwrExp
 
wxStaticText * m_staticText26
 
wxTextCtrl * m_expInit
 
wxStaticText * m_staticText27
 
wxTextCtrl * m_expPulsed
 
wxStaticText * m_staticText28
 
wxTextCtrl * m_expRiseDelay
 
wxStaticText * m_staticText29
 
wxTextCtrl * m_expRiseConst
 
wxStaticText * m_staticText30
 
wxTextCtrl * m_expFallDelay
 
wxStaticText * m_staticText31
 
wxTextCtrl * m_expFallConst
 
wxPanel * m_pwrPwl
 
wxStaticText * m_staticText34
 
wxTextCtrl * m_pwlTime
 
wxStaticText * m_staticText35
 
wxTextCtrl * m_pwlValue
 
wxButton * m_pwlAddButton
 
wxListCtrl * m_pwlValList
 
wxButton * m_pwlRemoveBtn
 
wxPanel * m_pwrFm
 
wxPanel * m_pwrAm
 
wxPanel * m_pwrTransNoise
 
wxPanel * m_pwrRandom
 
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
 
std::string m_hash_key
 
EVENT_LOOPm_qmodal_loop
 
bool m_qmodal_showing
 
WDO_ENABLE_DISABLEm_qmodal_parent_disabler
 

Detailed Description

Class DIALOG_SPICE_MODEL_BASE.

Definition at line 45 of file dialog_spice_model_base.h.

Constructor & Destructor Documentation

DIALOG_SPICE_MODEL_BASE::DIALOG_SPICE_MODEL_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxEmptyString,
const wxPoint pos = wxDefaultPosition,
const wxSize &  size = wxSize( 640,582 ),
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER 
)

Definition at line 12 of file dialog_spice_model_base.cpp.

References m_disabled, m_expFallConst, m_expFallDelay, m_expInit, m_expPulsed, m_expRiseConst, m_expRiseDelay, m_genAcMag, m_genAcPhase, m_genDc, m_ic, m_icLib, m_icModel, m_icSelectLib, 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_sdbSizer, m_sdbSizerCancel, m_sdbSizerOK, m_semiconductor, m_semiLib, m_semiModel, m_semiSelectLib, m_semiType, m_sinAmplitude, m_sinDampFactor, m_sinDelay, m_sinFreq, m_sinOffset, m_staticline1, m_staticline2, m_staticline3, m_staticText10, m_staticText11, m_staticText12, m_staticText13, m_staticText14, m_staticText15, m_staticText16, m_staticText17, m_staticText18, m_staticText2, m_staticText20, m_staticText21, m_staticText22, m_staticText23, m_staticText24, m_staticText25, m_staticText26, m_staticText27, m_staticText28, m_staticText29, m_staticText3, m_staticText30, m_staticText31, m_staticText32, m_staticText321, m_staticText34, m_staticText341, m_staticText35, m_staticText351, m_staticText36, m_staticText37, m_staticText38, m_staticText39, m_staticText4, m_staticText40, m_staticText41, m_staticText42, m_staticText43, m_staticText44, m_staticText45, m_staticText46, m_staticText47, m_staticText48, m_staticText49, m_staticText5, m_staticText50, m_staticText51, m_staticText52, m_staticText53, m_staticText54, m_staticText55, m_staticText56, m_staticText57, m_staticText58, m_staticText59, m_staticText60, m_staticText62, m_staticText63, m_staticText7, m_staticText8, m_staticText9, onInitDlg(), onPwlAdd(), onPwlRemove(), onSelectIcLib(), and onSemiSelectLib().

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_staticText2 = new wxStaticText( m_passive, wxID_ANY, _("Type"), wxDefaultPosition, wxDefaultSize, 0 );
31  m_staticText2->Wrap( -1 );
32  fgSizer1->Add( m_staticText2, 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, wxALL, 5 );
44 
45  m_staticText3 = new wxStaticText( m_passive, wxID_ANY, _("Value"), wxDefaultPosition, wxDefaultSize, 0 );
46  m_staticText3->Wrap( -1 );
47  fgSizer1->Add( m_staticText3, 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_staticText63 = new wxStaticText( m_passive, wxID_ANY, _("Spice value in simulation"), wxDefaultPosition, wxDefaultSize, 0 );
55  m_staticText63->Wrap( -1 );
56  fgSizer1->Add( m_staticText63, 0, 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* bSizer5;
65  bSizer5 = 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  bSizer5->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  bSizer5->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_staticText341 = new wxStaticText( m_passive, wxID_ANY, _("f"), wxDefaultPosition, wxDefaultSize, 0 );
82  m_staticText341->Wrap( -1 );
83  fgSizerUnitSymbols->Add( m_staticText341, 0, wxALL, 5 );
84 
85  m_staticText351 = new wxStaticText( m_passive, wxID_ANY, _("fempto"), wxDefaultPosition, wxDefaultSize, 0 );
86  m_staticText351->Wrap( -1 );
87  fgSizerUnitSymbols->Add( m_staticText351, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
88 
89  m_staticText36 = new wxStaticText( m_passive, wxID_ANY, _("1e-15"), wxDefaultPosition, wxDefaultSize, 0 );
90  m_staticText36->Wrap( -1 );
91  fgSizerUnitSymbols->Add( m_staticText36, 0, wxALL, 5 );
92 
93  m_staticText37 = new wxStaticText( m_passive, wxID_ANY, _("p"), wxDefaultPosition, wxDefaultSize, 0 );
94  m_staticText37->Wrap( -1 );
95  fgSizerUnitSymbols->Add( m_staticText37, 0, wxALL, 5 );
96 
97  m_staticText38 = new wxStaticText( m_passive, wxID_ANY, _("pico"), wxDefaultPosition, wxDefaultSize, 0 );
98  m_staticText38->Wrap( -1 );
99  fgSizerUnitSymbols->Add( m_staticText38, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
100 
101  m_staticText39 = new wxStaticText( m_passive, wxID_ANY, _("1e-12"), wxDefaultPosition, wxDefaultSize, 0 );
102  m_staticText39->Wrap( -1 );
103  fgSizerUnitSymbols->Add( m_staticText39, 0, wxALL, 5 );
104 
105  m_staticText40 = new wxStaticText( m_passive, wxID_ANY, _("n"), wxDefaultPosition, wxDefaultSize, 0 );
106  m_staticText40->Wrap( -1 );
107  fgSizerUnitSymbols->Add( m_staticText40, 0, wxALL, 5 );
108 
109  m_staticText41 = new wxStaticText( m_passive, wxID_ANY, _("nano"), wxDefaultPosition, wxDefaultSize, 0 );
110  m_staticText41->Wrap( -1 );
111  fgSizerUnitSymbols->Add( m_staticText41, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
112 
113  m_staticText42 = new wxStaticText( m_passive, wxID_ANY, _("1e-9"), wxDefaultPosition, wxDefaultSize, 0 );
114  m_staticText42->Wrap( -1 );
115  fgSizerUnitSymbols->Add( m_staticText42, 0, wxALL, 5 );
116 
117  m_staticText43 = new wxStaticText( m_passive, wxID_ANY, _("u"), wxDefaultPosition, wxDefaultSize, 0 );
118  m_staticText43->Wrap( -1 );
119  fgSizerUnitSymbols->Add( m_staticText43, 0, wxALL, 5 );
120 
121  m_staticText44 = new wxStaticText( m_passive, wxID_ANY, _("micro"), wxDefaultPosition, wxDefaultSize, 0 );
122  m_staticText44->Wrap( -1 );
123  fgSizerUnitSymbols->Add( m_staticText44, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
124 
125  m_staticText46 = new wxStaticText( m_passive, wxID_ANY, _("1e-6"), wxDefaultPosition, wxDefaultSize, 0 );
126  m_staticText46->Wrap( -1 );
127  fgSizerUnitSymbols->Add( m_staticText46, 0, wxALL, 5 );
128 
129  m_staticText47 = new wxStaticText( m_passive, wxID_ANY, _("m"), wxDefaultPosition, wxDefaultSize, 0 );
130  m_staticText47->Wrap( -1 );
131  fgSizerUnitSymbols->Add( m_staticText47, 0, wxALL, 5 );
132 
133  m_staticText48 = new wxStaticText( m_passive, wxID_ANY, _("milli"), wxDefaultPosition, wxDefaultSize, 0 );
134  m_staticText48->Wrap( -1 );
135  fgSizerUnitSymbols->Add( m_staticText48, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
136 
137  m_staticText45 = new wxStaticText( m_passive, wxID_ANY, _("1e-3"), wxDefaultPosition, wxDefaultSize, 0 );
138  m_staticText45->Wrap( -1 );
139  fgSizerUnitSymbols->Add( m_staticText45, 0, wxALL, 5 );
140 
141  m_staticText49 = new wxStaticText( m_passive, wxID_ANY, _("k"), wxDefaultPosition, wxDefaultSize, 0 );
142  m_staticText49->Wrap( -1 );
143  fgSizerUnitSymbols->Add( m_staticText49, 0, wxALL, 5 );
144 
145  m_staticText50 = new wxStaticText( m_passive, wxID_ANY, _("kilo"), wxDefaultPosition, wxDefaultSize, 0 );
146  m_staticText50->Wrap( -1 );
147  fgSizerUnitSymbols->Add( m_staticText50, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
148 
149  m_staticText51 = new wxStaticText( m_passive, wxID_ANY, _("1e3"), wxDefaultPosition, wxDefaultSize, 0 );
150  m_staticText51->Wrap( -1 );
151  fgSizerUnitSymbols->Add( m_staticText51, 0, wxALL, 5 );
152 
153  m_staticText52 = new wxStaticText( m_passive, wxID_ANY, _("meg"), wxDefaultPosition, wxDefaultSize, 0 );
154  m_staticText52->Wrap( -1 );
155  fgSizerUnitSymbols->Add( m_staticText52, 0, wxALL, 5 );
156 
157  m_staticText53 = new wxStaticText( m_passive, wxID_ANY, _("mega"), wxDefaultPosition, wxDefaultSize, 0 );
158  m_staticText53->Wrap( -1 );
159  fgSizerUnitSymbols->Add( m_staticText53, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
160 
161  m_staticText54 = new wxStaticText( m_passive, wxID_ANY, _("1e6"), wxDefaultPosition, wxDefaultSize, 0 );
162  m_staticText54->Wrap( -1 );
163  fgSizerUnitSymbols->Add( m_staticText54, 0, wxALL, 5 );
164 
165  m_staticText55 = new wxStaticText( m_passive, wxID_ANY, _("g"), wxDefaultPosition, wxDefaultSize, 0 );
166  m_staticText55->Wrap( -1 );
167  fgSizerUnitSymbols->Add( m_staticText55, 0, wxALL, 5 );
168 
169  m_staticText56 = new wxStaticText( m_passive, wxID_ANY, _("giga"), wxDefaultPosition, wxDefaultSize, 0 );
170  m_staticText56->Wrap( -1 );
171  fgSizerUnitSymbols->Add( m_staticText56, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
172 
173  m_staticText57 = new wxStaticText( m_passive, wxID_ANY, _("1e9"), wxDefaultPosition, wxDefaultSize, 0 );
174  m_staticText57->Wrap( -1 );
175  fgSizerUnitSymbols->Add( m_staticText57, 0, wxALL, 5 );
176 
177  m_staticText58 = new wxStaticText( m_passive, wxID_ANY, _("t"), wxDefaultPosition, wxDefaultSize, 0 );
178  m_staticText58->Wrap( -1 );
179  fgSizerUnitSymbols->Add( m_staticText58, 0, wxALL, 5 );
180 
181  m_staticText59 = new wxStaticText( m_passive, wxID_ANY, _("tera"), wxDefaultPosition, wxDefaultSize, 0 );
182  m_staticText59->Wrap( -1 );
183  fgSizerUnitSymbols->Add( m_staticText59, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
184 
185  m_staticText60 = new wxStaticText( m_passive, wxID_ANY, _("1e12"), wxDefaultPosition, wxDefaultSize, 0 );
186  m_staticText60->Wrap( -1 );
187  fgSizerUnitSymbols->Add( m_staticText60, 0, wxALL, 5 );
188 
189 
190  bSizer5->Add( fgSizerUnitSymbols, 1, wxEXPAND, 5 );
191 
192 
193  bSizer41->Add( bSizer5, 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_semiconductor = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
201  wxFlexGridSizer* fgSizer3;
202  fgSizer3 = new wxFlexGridSizer( 0, 3, 0, 0 );
203  fgSizer3->AddGrowableCol( 1 );
204  fgSizer3->SetFlexibleDirection( wxBOTH );
205  fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
206 
207  m_staticText4 = new wxStaticText( m_semiconductor, wxID_ANY, _("Type"), wxDefaultPosition, wxDefaultSize, 0 );
208  m_staticText4->Wrap( -1 );
209  fgSizer3->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
210 
211  m_semiType = new wxComboBox( m_semiconductor, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_READONLY );
212  m_semiType->Append( _("Diode") );
213  m_semiType->Append( _("Bipolar transistor (BJT)") );
214  m_semiType->Append( _("MOSFET") );
215  fgSizer3->Add( m_semiType, 0, wxALL|wxEXPAND, 5 );
216 
217 
218  fgSizer3->Add( 0, 0, 0, 0, 5 );
219 
220  m_staticText5 = new wxStaticText( m_semiconductor, wxID_ANY, _("Model"), wxDefaultPosition, wxDefaultSize, 0 );
221  m_staticText5->Wrap( -1 );
222  fgSizer3->Add( m_staticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
223 
224  m_semiModel = new wxComboBox( m_semiconductor, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
225  fgSizer3->Add( m_semiModel, 0, wxALL|wxEXPAND, 5 );
226 
227 
228  fgSizer3->Add( 0, 0, 0, 0, 5 );
229 
230  m_staticText7 = new wxStaticText( m_semiconductor, wxID_ANY, _("Library"), wxDefaultPosition, wxDefaultSize, 0 );
231  m_staticText7->Wrap( -1 );
232  fgSizer3->Add( m_staticText7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
233 
234  m_semiLib = new wxTextCtrl( m_semiconductor, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
235  fgSizer3->Add( m_semiLib, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
236 
237  m_semiSelectLib = new wxButton( m_semiconductor, wxID_ANY, _("Select file..."), wxDefaultPosition, wxDefaultSize, 0 );
238  fgSizer3->Add( m_semiSelectLib, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
239 
240 
241  m_semiconductor->SetSizer( fgSizer3 );
242  m_semiconductor->Layout();
243  fgSizer3->Fit( m_semiconductor );
244  m_notebook->AddPage( m_semiconductor, _("Semiconductor"), false );
245  m_ic = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
246  wxFlexGridSizer* fgSizer4;
247  fgSizer4 = new wxFlexGridSizer( 0, 3, 0, 0 );
248  fgSizer4->AddGrowableCol( 1 );
249  fgSizer4->SetFlexibleDirection( wxBOTH );
250  fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
251 
252  m_staticText8 = new wxStaticText( m_ic, wxID_ANY, _("Model"), wxDefaultPosition, wxDefaultSize, 0 );
253  m_staticText8->Wrap( -1 );
254  fgSizer4->Add( m_staticText8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
255 
256  m_icModel = new wxComboBox( m_ic, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
257  m_icModel->SetMinSize( wxSize( 200,-1 ) );
258 
259  fgSizer4->Add( m_icModel, 0, wxALL|wxEXPAND, 5 );
260 
261 
262  fgSizer4->Add( 0, 0, 0, 0, 5 );
263 
264  m_staticText9 = new wxStaticText( m_ic, wxID_ANY, _("Library"), wxDefaultPosition, wxDefaultSize, 0 );
265  m_staticText9->Wrap( -1 );
266  fgSizer4->Add( m_staticText9, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
267 
268  m_icLib = new wxTextCtrl( m_ic, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
269  fgSizer4->Add( m_icLib, 0, wxALL|wxEXPAND, 5 );
270 
271  m_icSelectLib = new wxButton( m_ic, wxID_ANY, _("Select file..."), wxDefaultPosition, wxDefaultSize, 0 );
272  fgSizer4->Add( m_icSelectLib, 0, wxALL, 5 );
273 
274 
275  m_ic->SetSizer( fgSizer4 );
276  m_ic->Layout();
277  fgSizer4->Fit( m_ic );
278  m_notebook->AddPage( m_ic, _("Integrated circuit"), false );
279  m_power = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
280  m_power->SetMinSize( wxSize( 650,-1 ) );
281 
282  wxBoxSizer* bSizer4;
283  bSizer4 = new wxBoxSizer( wxVERTICAL );
284 
285  wxStaticBoxSizer* sbSizer1;
286  sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( m_power, wxID_ANY, _("DC/AC analysis") ), wxVERTICAL );
287 
288  wxFlexGridSizer* fgSizer6;
289  fgSizer6 = new wxFlexGridSizer( 0, 4, 0, 0 );
290  fgSizer6->AddGrowableCol( 1 );
291  fgSizer6->AddGrowableCol( 3 );
292  fgSizer6->SetFlexibleDirection( wxBOTH );
293  fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
294 
295  m_staticText10 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("DC [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
296  m_staticText10->Wrap( -1 );
297  fgSizer6->Add( m_staticText10, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
298 
299  m_genDc = new wxTextCtrl( sbSizer1->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
300  m_genDc->SetMinSize( wxSize( 60,-1 ) );
301 
302  fgSizer6->Add( m_genDc, 0, wxALL|wxEXPAND, 5 );
303 
304 
305  fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
306 
307 
308  fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
309 
310  m_staticText11 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("AC magnitude [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
311  m_staticText11->Wrap( -1 );
312  fgSizer6->Add( m_staticText11, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
313 
314  m_genAcMag = new wxTextCtrl( sbSizer1->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
315  m_genAcMag->SetMinSize( wxSize( 60,-1 ) );
316 
317  fgSizer6->Add( m_genAcMag, 0, wxALL|wxEXPAND, 5 );
318 
319  m_staticText12 = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("AC phase [rad]"), wxDefaultPosition, wxDefaultSize, 0 );
320  m_staticText12->Wrap( -1 );
321  fgSizer6->Add( m_staticText12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
322 
323  m_genAcPhase = new wxTextCtrl( sbSizer1->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
324  m_genAcPhase->SetMinSize( wxSize( 60,-1 ) );
325 
326  fgSizer6->Add( m_genAcPhase, 0, wxALL|wxEXPAND, 5 );
327 
328 
329  sbSizer1->Add( fgSizer6, 1, wxEXPAND, 5 );
330 
331 
332  bSizer4->Add( sbSizer1, 0, wxALL|wxEXPAND, 5 );
333 
334  wxStaticBoxSizer* sbSizer3;
335  sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( m_power, wxID_ANY, _("Transient analysis") ), wxVERTICAL );
336 
337  m_powerNotebook = new wxNotebook( sbSizer3->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
338  m_pwrPulse = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
339  wxFlexGridSizer* fgSizer7;
340  fgSizer7 = new wxFlexGridSizer( 0, 2, 0, 0 );
341  fgSizer7->AddGrowableCol( 1 );
342  fgSizer7->SetFlexibleDirection( wxBOTH );
343  fgSizer7->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
344 
345  m_staticText13 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Initial value [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
346  m_staticText13->Wrap( -1 );
347  fgSizer7->Add( m_staticText13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
348 
349  m_pulseInit = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
350  m_pulseInit->SetMinSize( wxSize( 100,-1 ) );
351 
352  fgSizer7->Add( m_pulseInit, 0, wxALL|wxEXPAND, 5 );
353 
354  m_staticText14 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Pulsed value [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
355  m_staticText14->Wrap( -1 );
356  fgSizer7->Add( m_staticText14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
357 
358  m_pulseNominal = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
359  fgSizer7->Add( m_pulseNominal, 0, wxALL|wxEXPAND, 5 );
360 
361  m_staticText15 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Delay time [s]"), wxDefaultPosition, wxDefaultSize, 0 );
362  m_staticText15->Wrap( -1 );
363  fgSizer7->Add( m_staticText15, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
364 
365  m_pulseDelay = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
366  fgSizer7->Add( m_pulseDelay, 0, wxALL|wxEXPAND, 5 );
367 
368  m_staticText16 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Rise time [s]"), wxDefaultPosition, wxDefaultSize, 0 );
369  m_staticText16->Wrap( -1 );
370  fgSizer7->Add( m_staticText16, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
371 
372  m_pulseRise = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
373  fgSizer7->Add( m_pulseRise, 0, wxALL|wxEXPAND, 5 );
374 
375  m_staticText17 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Fall time [s]"), wxDefaultPosition, wxDefaultSize, 0 );
376  m_staticText17->Wrap( -1 );
377  fgSizer7->Add( m_staticText17, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
378 
379  m_pulseFall = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
380  fgSizer7->Add( m_pulseFall, 0, wxALL|wxEXPAND, 5 );
381 
382  m_staticText18 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Pulse width [s]"), wxDefaultPosition, wxDefaultSize, 0 );
383  m_staticText18->Wrap( -1 );
384  fgSizer7->Add( m_staticText18, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
385 
386  m_pulseWidth = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
387  fgSizer7->Add( m_pulseWidth, 0, wxALL|wxEXPAND, 5 );
388 
389  m_staticText20 = new wxStaticText( m_pwrPulse, wxID_ANY, _("Period [s]"), wxDefaultPosition, wxDefaultSize, 0 );
390  m_staticText20->Wrap( -1 );
391  fgSizer7->Add( m_staticText20, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
392 
393  m_pulsePeriod = new wxTextCtrl( m_pwrPulse, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
394  fgSizer7->Add( m_pulsePeriod, 0, wxALL|wxEXPAND, 5 );
395 
396 
397  m_pwrPulse->SetSizer( fgSizer7 );
398  m_pwrPulse->Layout();
399  fgSizer7->Fit( m_pwrPulse );
400  m_powerNotebook->AddPage( m_pwrPulse, _("Pulse"), true );
401  m_pwrSin = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
402  wxFlexGridSizer* fgSizer8;
403  fgSizer8 = new wxFlexGridSizer( 0, 2, 0, 0 );
404  fgSizer8->AddGrowableCol( 1 );
405  fgSizer8->SetFlexibleDirection( wxBOTH );
406  fgSizer8->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
407 
408  m_staticText21 = new wxStaticText( m_pwrSin, wxID_ANY, _("DC offset [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
409  m_staticText21->Wrap( -1 );
410  fgSizer8->Add( m_staticText21, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
411 
412  m_sinOffset = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
413  m_sinOffset->SetMinSize( wxSize( 100,-1 ) );
414 
415  fgSizer8->Add( m_sinOffset, 0, wxALL|wxEXPAND, 5 );
416 
417  m_staticText22 = new wxStaticText( m_pwrSin, wxID_ANY, _("Amplitude [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
418  m_staticText22->Wrap( -1 );
419  fgSizer8->Add( m_staticText22, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
420 
421  m_sinAmplitude = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
422  fgSizer8->Add( m_sinAmplitude, 0, wxALL|wxEXPAND, 5 );
423 
424  m_staticText23 = new wxStaticText( m_pwrSin, wxID_ANY, _("Frequency [Hz]"), wxDefaultPosition, wxDefaultSize, 0 );
425  m_staticText23->Wrap( -1 );
426  fgSizer8->Add( m_staticText23, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
427 
428  m_sinFreq = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
429  fgSizer8->Add( m_sinFreq, 0, wxALL|wxEXPAND, 5 );
430 
431  m_staticText24 = new wxStaticText( m_pwrSin, wxID_ANY, _("Delay [s]"), wxDefaultPosition, wxDefaultSize, 0 );
432  m_staticText24->Wrap( -1 );
433  fgSizer8->Add( m_staticText24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
434 
435  m_sinDelay = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
436  fgSizer8->Add( m_sinDelay, 0, wxALL|wxEXPAND, 5 );
437 
438  m_staticText25 = new wxStaticText( m_pwrSin, wxID_ANY, _("Damping factor [1/s]"), wxDefaultPosition, wxDefaultSize, 0 );
439  m_staticText25->Wrap( -1 );
440  fgSizer8->Add( m_staticText25, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
441 
442  m_sinDampFactor = new wxTextCtrl( m_pwrSin, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
443  fgSizer8->Add( m_sinDampFactor, 0, wxALL|wxEXPAND, 5 );
444 
445 
446  m_pwrSin->SetSizer( fgSizer8 );
447  m_pwrSin->Layout();
448  fgSizer8->Fit( m_pwrSin );
449  m_powerNotebook->AddPage( m_pwrSin, _("Sinusoidal"), false );
450  m_pwrExp = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
451  wxFlexGridSizer* fgSizer9;
452  fgSizer9 = new wxFlexGridSizer( 0, 2, 0, 0 );
453  fgSizer9->AddGrowableCol( 1 );
454  fgSizer9->SetFlexibleDirection( wxBOTH );
455  fgSizer9->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
456 
457  m_staticText26 = new wxStaticText( m_pwrExp, wxID_ANY, _("Initial value [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
458  m_staticText26->Wrap( -1 );
459  fgSizer9->Add( m_staticText26, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
460 
461  m_expInit = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
462  m_expInit->SetMinSize( wxSize( 100,-1 ) );
463 
464  fgSizer9->Add( m_expInit, 0, wxALL|wxEXPAND, 5 );
465 
466  m_staticText27 = new wxStaticText( m_pwrExp, wxID_ANY, _("Pulsed value [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
467  m_staticText27->Wrap( -1 );
468  fgSizer9->Add( m_staticText27, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
469 
470  m_expPulsed = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
471  fgSizer9->Add( m_expPulsed, 0, wxALL|wxEXPAND, 5 );
472 
473  m_staticText28 = new wxStaticText( m_pwrExp, wxID_ANY, _("Rise delay time [s]"), wxDefaultPosition, wxDefaultSize, 0 );
474  m_staticText28->Wrap( -1 );
475  fgSizer9->Add( m_staticText28, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
476 
477  m_expRiseDelay = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
478  fgSizer9->Add( m_expRiseDelay, 0, wxALL|wxEXPAND, 5 );
479 
480  m_staticText29 = new wxStaticText( m_pwrExp, wxID_ANY, _("Rise time constant [s]"), wxDefaultPosition, wxDefaultSize, 0 );
481  m_staticText29->Wrap( -1 );
482  fgSizer9->Add( m_staticText29, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
483 
484  m_expRiseConst = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
485  fgSizer9->Add( m_expRiseConst, 0, wxALL|wxEXPAND, 5 );
486 
487  m_staticText30 = new wxStaticText( m_pwrExp, wxID_ANY, _("Fall delay time [s]"), wxDefaultPosition, wxDefaultSize, 0 );
488  m_staticText30->Wrap( -1 );
489  fgSizer9->Add( m_staticText30, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
490 
491  m_expFallDelay = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
492  fgSizer9->Add( m_expFallDelay, 0, wxALL|wxEXPAND, 5 );
493 
494  m_staticText31 = new wxStaticText( m_pwrExp, wxID_ANY, _("Fall time constant [s]"), wxDefaultPosition, wxDefaultSize, 0 );
495  m_staticText31->Wrap( -1 );
496  fgSizer9->Add( m_staticText31, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
497 
498  m_expFallConst = new wxTextCtrl( m_pwrExp, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
499  fgSizer9->Add( m_expFallConst, 0, wxALL|wxEXPAND, 5 );
500 
501 
502  m_pwrExp->SetSizer( fgSizer9 );
503  m_pwrExp->Layout();
504  fgSizer9->Fit( m_pwrExp );
505  m_powerNotebook->AddPage( m_pwrExp, _("Exponential"), false );
506  m_pwrPwl = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
507  m_pwrPwl->SetToolTip( _("Piece-wise linear") );
508 
509  wxFlexGridSizer* fgSizer15;
510  fgSizer15 = new wxFlexGridSizer( 0, 2, 0, 0 );
511  fgSizer15->AddGrowableCol( 0 );
512  fgSizer15->AddGrowableRow( 1 );
513  fgSizer15->SetFlexibleDirection( wxBOTH );
514  fgSizer15->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
515 
516  wxFlexGridSizer* fgSizer10;
517  fgSizer10 = new wxFlexGridSizer( 0, 2, 0, 0 );
518  fgSizer10->AddGrowableCol( 1 );
519  fgSizer10->SetFlexibleDirection( wxBOTH );
520  fgSizer10->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
521 
522  m_staticText34 = new wxStaticText( m_pwrPwl, wxID_ANY, _("Time [s]"), wxDefaultPosition, wxDefaultSize, 0 );
523  m_staticText34->Wrap( -1 );
524  fgSizer10->Add( m_staticText34, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
525 
526  m_pwlTime = new wxTextCtrl( m_pwrPwl, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
527  m_pwlTime->SetMinSize( wxSize( 100,-1 ) );
528 
529  fgSizer10->Add( m_pwlTime, 0, wxALL|wxEXPAND, 5 );
530 
531  m_staticText35 = new wxStaticText( m_pwrPwl, wxID_ANY, _("Value [V/A]"), wxDefaultPosition, wxDefaultSize, 0 );
532  m_staticText35->Wrap( -1 );
533  fgSizer10->Add( m_staticText35, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
534 
535  m_pwlValue = new wxTextCtrl( m_pwrPwl, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
536  fgSizer10->Add( m_pwlValue, 0, wxALL|wxEXPAND, 5 );
537 
538 
539  fgSizer15->Add( fgSizer10, 1, wxEXPAND, 5 );
540 
541  m_pwlAddButton = new wxButton( m_pwrPwl, wxID_ANY, _("Add"), wxDefaultPosition, wxDefaultSize, 0 );
542  fgSizer15->Add( m_pwlAddButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
543 
544  m_pwlValList = new wxListCtrl( m_pwrPwl, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
545  m_pwlValList->SetMinSize( wxSize( 200,-1 ) );
546 
547  fgSizer15->Add( m_pwlValList, 0, wxALL|wxEXPAND, 5 );
548 
549  m_pwlRemoveBtn = new wxButton( m_pwrPwl, wxID_ANY, _("Remove"), wxDefaultPosition, wxDefaultSize, 0 );
550  fgSizer15->Add( m_pwlRemoveBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
551 
552 
553  m_pwrPwl->SetSizer( fgSizer15 );
554  m_pwrPwl->Layout();
555  fgSizer15->Fit( m_pwrPwl );
556  m_powerNotebook->AddPage( m_pwrPwl, _("Piece-wise Linear"), false );
557  m_pwrFm = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
558  m_pwrFm->Hide();
559 
560  m_powerNotebook->AddPage( m_pwrFm, _("FM"), false );
561  m_pwrAm = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
562  m_pwrAm->Hide();
563 
564  m_powerNotebook->AddPage( m_pwrAm, _("AM"), false );
565  m_pwrTransNoise = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
566  m_pwrTransNoise->Hide();
567 
568  m_powerNotebook->AddPage( m_pwrTransNoise, _("Transient noise"), false );
569  m_pwrRandom = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
570  m_pwrRandom->Hide();
571 
572  m_powerNotebook->AddPage( m_pwrRandom, _("Random"), false );
573  m_pwrExtData = new wxPanel( m_powerNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
574  m_pwrExtData->Hide();
575 
576  m_powerNotebook->AddPage( m_pwrExtData, _("External data"), false );
577 
578  sbSizer3->Add( m_powerNotebook, 0, wxEXPAND | wxALL, 5 );
579 
580 
581  bSizer4->Add( sbSizer3, 0, wxALL|wxEXPAND, 5 );
582 
583  wxString m_pwrTypeChoices[] = { _("Voltage"), _("Current") };
584  int m_pwrTypeNChoices = sizeof( m_pwrTypeChoices ) / sizeof( wxString );
585  m_pwrType = new wxRadioBox( m_power, wxID_ANY, _("Source type"), wxDefaultPosition, wxDefaultSize, m_pwrTypeNChoices, m_pwrTypeChoices, 1, wxRA_SPECIFY_ROWS );
586  m_pwrType->SetSelection( 0 );
587  bSizer4->Add( m_pwrType, 0, wxALL|wxEXPAND, 5 );
588 
589 
590  m_power->SetSizer( bSizer4 );
591  m_power->Layout();
592  bSizer4->Fit( m_power );
593  m_notebook->AddPage( m_power, _("Source"), false );
594 
595  bSizer1->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
596 
597  m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
598  bSizer1->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
599 
600  m_disabled = new wxCheckBox( this, wxID_ANY, _("Disable component for simulation"), wxDefaultPosition, wxDefaultSize, 0 );
601  bSizer1->Add( m_disabled, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
602 
603  wxBoxSizer* bSizer2;
604  bSizer2 = new wxBoxSizer( wxHORIZONTAL );
605 
606  m_nodeSeqCheck = new wxCheckBox( this, wxID_ANY, _("Alternate node sequence:"), wxDefaultPosition, wxDefaultSize, 0 );
607  bSizer2->Add( m_nodeSeqCheck, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
608 
609  m_nodeSeqVal = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
610  m_nodeSeqVal->SetMinSize( wxSize( 200,-1 ) );
611 
612  bSizer2->Add( m_nodeSeqVal, 1, wxALL, 5 );
613 
614 
615  bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );
616 
617  m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
618  bSizer1->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
619 
620  m_sdbSizer = new wxStdDialogButtonSizer();
621  m_sdbSizerOK = new wxButton( this, wxID_OK );
622  m_sdbSizer->AddButton( m_sdbSizerOK );
623  m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
624  m_sdbSizer->AddButton( m_sdbSizerCancel );
625  m_sdbSizer->Realize();
626 
627  bSizer1->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
628 
629 
630  this->SetSizer( bSizer1 );
631  this->Layout();
632 
633  this->Centre( wxBOTH );
634 
635  // Connect Events
636  this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SPICE_MODEL_BASE::onInitDlg ) );
637  m_semiSelectLib->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onSemiSelectLib ), NULL, this );
638  m_icSelectLib->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onSelectIcLib ), NULL, this );
639  m_pwlAddButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlAdd ), NULL, this );
640  m_pwlRemoveBtn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlRemove ), NULL, this );
641 }
virtual void onSemiSelectLib(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void onSelectIcLib(wxCommandEvent &event)
virtual void onInitDlg(wxInitDialogEvent &event)
virtual void onPwlAdd(wxCommandEvent &event)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=wxDialogNameStr)
Definition: dialog_shim.cpp:57
virtual void onPwlRemove(wxCommandEvent &event)
DIALOG_SPICE_MODEL_BASE::~DIALOG_SPICE_MODEL_BASE ( )

Definition at line 643 of file dialog_spice_model_base.cpp.

References m_icSelectLib, m_pwlAddButton, m_pwlRemoveBtn, m_semiSelectLib, onInitDlg(), onPwlAdd(), onPwlRemove(), onSelectIcLib(), and onSemiSelectLib().

644 {
645  // Disconnect Events
646  this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SPICE_MODEL_BASE::onInitDlg ) );
647  m_semiSelectLib->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onSemiSelectLib ), NULL, this );
648  m_icSelectLib->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onSelectIcLib ), NULL, this );
649  m_pwlAddButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlAdd ), NULL, this );
650  m_pwlRemoveBtn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SPICE_MODEL_BASE::onPwlRemove ), NULL, this );
651 
652 }
virtual void onSemiSelectLib(wxCommandEvent &event)
virtual void onSelectIcLib(wxCommandEvent &event)
virtual void onInitDlg(wxInitDialogEvent &event)
virtual void onPwlAdd(wxCommandEvent &event)
virtual void onPwlRemove(wxCommandEvent &event)

Member Function Documentation

bool DIALOG_SHIM::Enable ( bool  enable)
overrideinherited

Definition at line 182 of file dialog_shim.cpp.

Referenced by DIALOG_PRINT_USING_PRINTER::InitValues().

183 {
184  // so we can do logging of this state change:
185 
186 #if defined(DEBUG)
187  const char* type_id = typeid( *this ).name();
188  printf( "wxDialog %s: %s\n", type_id, enable ? "enabled" : "disabled" );
189 #endif
190 
191  return wxDialog::Enable( enable );
192 }
void DIALOG_SHIM::EndQuasiModal ( int  retCode)
inherited

Definition at line 540 of file dialog_shim.cpp.

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

Referenced by HK_PROMPT_DIALOG::EndFlexible(), DIALOG_SHIM::OnButton(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnCancelButtonClick(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnCancelButtonClick(), DIALOG_EDIT_ONE_FIELD::OnCancelClick(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnCloseDialog(), DIALOG_EDIT_ONE_FIELD::OnCloseDialog(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnCloseDialog(), DIALOG_CHOOSE_COMPONENT::OnCloseTimer(), DIALOG_SHIM::OnCloseWindow(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnOKButtonClick(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnOKButtonClick(), DIALOG_EDIT_ONE_FIELD::OnOkClick(), DIALOG_EXCHANGE_MODULE::OnQuit(), DIALOG_CHOOSE_COMPONENT::OnSchViewDClick(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::SetInitCmp(), and DIALOG_SHIM::~DIALOG_SHIM().

541 {
542  // Hook up validator and transfer data from controls handling so quasi-modal dialogs
543  // handle validation in the same way as other dialogs.
544  if( ( retCode == wxID_OK ) && ( !Validate() || !TransferDataFromWindow() ) )
545  return;
546 
547  SetReturnCode( retCode );
548 
549  if( !IsQuasiModal() )
550  {
551  wxFAIL_MSG( wxT( "either DIALOG_SHIM::EndQuasiModal called twice or ShowQuasiModal wasn't called" ) );
552  return;
553  }
554 
555  m_qmodal_showing = false;
556 
557  if( m_qmodal_loop )
558  {
559  if( m_qmodal_loop->IsRunning() )
560  m_qmodal_loop->Exit( 0 );
561  else
562  m_qmodal_loop->ScheduleExit( 0 );
563 
564  m_qmodal_loop = NULL;
565  }
566 
569 
570  Show( false );
571 }
bool m_qmodal_showing
Definition: dialog_shim.h:132
EVENT_LOOP * m_qmodal_loop
Definition: dialog_shim.h:131
bool IsQuasiModal()
Definition: dialog_shim.h:93
bool Show(bool show) override
WDO_ENABLE_DISABLE * m_qmodal_parent_disabler
Definition: dialog_shim.h:133
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, when all widgets are initialized, and therefore their size fixed. If TransferDataToWindow() is used to initialize widgets, at end of TransferDataToWindow, or better at end of a wxInitDialogEvent handler

In any case, the best way is to call it in a wxInitDialogEvent handler after calling TransfertDataToWindow(), which is the default wxInitDialogEvent handler wxDialog

Definition at line 104 of file dialog_shim.cpp.

References PCAD2KICAD::Center.

Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE(), DIALOG_DESIGN_RULES::DIALOG_DESIGN_RULES(), DIALOG_DIMENSION_EDITOR::DIALOG_DIMENSION_EDITOR(), DIALOG_DISPLAY_OPTIONS::DIALOG_DISPLAY_OPTIONS(), DIALOG_DRC_CONTROL::DIALOG_DRC_CONTROL(), DIALOG_EDIT_COMPONENT_IN_LIBRARY::DIALOG_EDIT_COMPONENT_IN_LIBRARY(), DIALOG_EESCHEMA_OPTIONS::DIALOG_EESCHEMA_OPTIONS(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_EXPORT_3DFILE::DIALOG_EXPORT_3DFILE(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_KEEPOUT_AREA_PROPERTIES::DIALOG_KEEPOUT_AREA_PROPERTIES(), DIALOG_LABEL_EDITOR::DIALOG_LABEL_EDITOR(), DIALOG_LIB_EDIT_DRAW_ITEM::DIALOG_LIB_EDIT_DRAW_ITEM(), DIALOG_LIB_EDIT_TEXT::DIALOG_LIB_EDIT_TEXT(), DIALOG_LIB_NEW_COMPONENT::DIALOG_LIB_NEW_COMPONENT(), DIALOG_LIBEDIT_OPTIONS::DIALOG_LIBEDIT_OPTIONS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SCH_EDIT_SHEET_PIN::DIALOG_SCH_EDIT_SHEET_PIN(), DIALOG_SCH_SHEET_PROPS::DIALOG_SCH_SHEET_PROPS(), DIALOG_SELECT_PRETTY_LIB::DIALOG_SELECT_PRETTY_LIB(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_EDIT_ONE_FIELD::init(), NETLIST_DIALOG::NETLIST_DIALOG(), DIALOG_LIB_EDIT_PIN::OnInitDialog(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnInitDialog(), DIALOG_TRACK_VIA_PROPERTIES::OnInitDlg(), DIALOG_GRAPHIC_ITEMS_OPTIONS::OnInitDlg(), DialogEditModuleText::OnInitDlg(), DIALOG_SET_GRID::OnInitDlg(), DIALOG_PCB_TEXT_PROPERTIES::OnInitDlg(), DIALOG_PRINT_FOR_MODEDIT::OnInitDlg(), DIALOG_GRAPHIC_ITEM_PROPERTIES::OnInitDlg(), DIALOG_MODULE_MODULE_EDITOR::OnInitDlg(), DIALOG_SIM_SETTINGS::onInitDlg(), DIALOG_SPICE_MODEL::onInitDlg(), DIALOG_MODULE_BOARD_EDITOR::OnInitDlg(), DIALOG_PRINT_USING_PRINTER::OnInitDlg(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnInitDlg(), TARGET_PROPERTIES_DIALOG_EDITOR::TARGET_PROPERTIES_DIALOG_EDITOR(), and DIALOG_SIGNAL_LIST::TransferDataToWindow().

105 {
106  // must be called from the constructor of derived classes,
107  // when all widgets are initialized, and therefore their size fixed
108 
109  // SetSizeHints fixes the minimal size of sizers in the dialog
110  // (SetSizeHints calls Fit(), so no need to call it)
111  GetSizer()->SetSizeHints( this );
112 
113  // the default position, when calling the first time the dlg
114  Center();
115 }
void DIALOG_SHIM::FixOSXCancelButtonIssue ( )
protectedinherited

A ugly hack to fix an issue on OSX: when typing ctrl+c in a wxTextCtrl inside a dialog, it is closed instead of copying a text if a button with wxID_CANCEL is used in a wxStdDialogButtonSizer, when the dlg is created by wxFormBuilder: the label is &Cancel, and this accelerator key has priority to copy text standard accelerator, and the dlg is closed when trying to copy text this function do nothing on other platforms.

Definition at line 117 of file dialog_shim.cpp.

Referenced by DIALOG_SHIM::Show().

118 {
119 #ifdef __WXMAC__
120  // A ugly hack to fix an issue on OSX: ctrl+c closes the dialog instead of
121  // copying a text if a button with wxID_CANCEL is used in a wxStdDialogButtonSizer
122  // created by wxFormBuilder: the label is &Cancel, and this accelerator key has priority
123  // to copy text standard accelerator, and the dlg is closed when trying to copy text
124  wxButton* button = dynamic_cast< wxButton* > ( wxWindow::FindWindowById( wxID_CANCEL, this ) );
125 
126  if( button )
127  button->SetLabel( _( "Cancel" ) );
128 #endif
129 }
KIWAY& KIWAY_HOLDER::Kiway ( ) const
inlineinherited

Function Kiway returns 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 60 of file kiway_player.h.

References KIWAY_HOLDER::m_kiway.

Referenced by SCH_EDIT_FRAME::AppendOneEEProject(), CVPCB_MAINFRAME::BuildLIBRARY_LISTBOX(), DIALOG_CHOOSE_COMPONENT::ConstructRightPanel(), CVPCB_MAINFRAME::CreateScreenCmp(), CVPCB_MAINFRAME::CVPCB_MAINFRAME(), DIALOG_SHIM::DIALOG_SHIM(), EDIT_TOOL::editFootprintInFpEditor(), SCH_EDIT_FRAME::EditSheet(), DISPLAY_FOOTPRINTS_FRAME::Get_Module(), FOOTPRINT_EDIT_FRAME::GetPlotSettings(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::initBuffers(), LIB_EDIT_FRAME::InstallConfigFrame(), PCB_EDIT_FRAME::InstallModuleOptionsFrame(), KIWAY_PLAYER::language_change(), SCH_SHEET::Load(), CVPCB_MAINFRAME::LoadFootprintFiles(), KIWAY_PLAYER::OnChangeIconsOptions(), CVPCB_MAINFRAME::OnEditFootprintLibraryTable(), DIALOG_CHOOSE_COMPONENT::OnInitDialog(), SCH_EDIT_FRAME::OnLeftClick(), SCH_BASE_FRAME::OnOpenLibraryViewer(), SCH_EDIT_FRAME::OnSimulate(), DIALOG_EDIT_ONE_FIELD::OnTextValueSelectButtonClick(), FOOTPRINT_EDIT_FRAME::OnUpdateInsertModuleInBoard(), FOOTPRINT_EDIT_FRAME::OnUpdateLoadModuleFromBoard(), FOOTPRINT_EDIT_FRAME::OnUpdateReplaceModuleInBoard(), SCH_EDIT_FRAME::OpenProjectFiles(), KIWAY_HOLDER::Prj(), PCB_EDIT_FRAME::Process_Config(), PCB_EDIT_FRAME::Process_Special_Functions(), FOOTPRINT_EDIT_FRAME::ProcessPreferences(), CVPCB_MAINFRAME::ReadNetListAndLinkFiles(), FOOTPRINT_VIEWER_FRAME::ReCreateFootprintList(), LIB_EDIT_FRAME::refreshSchematic(), SCH_EDIT_FRAME::SaveEEFile(), CVPCB_MAINFRAME::SaveFootprintAssociation(), SCH_BASE_FRAME::SelectComponentFromLibBrowser(), CVPCB_MAINFRAME::SendMessageToEESCHEMA(), PCB_EDIT_FRAME::SendMessageToEESCHEMA(), SCH_EDIT_FRAME::SendMessageToPCBNEW(), SCH_EDIT_FRAME::sendNetlist(), FOOTPRINT_EDIT_FRAME::SetPlotSettings(), DISPLAY_FOOTPRINTS_FRAME::Show3D_Frame(), FOOTPRINT_VIEWER_FRAME::Show3D_Frame(), FOOTPRINT_EDIT_FRAME::Show3D_Frame(), FOOTPRINT_WIZARD_FRAME::Show3D_Frame(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::showButtonHandler(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::showButtonHandler(), SIM_PLOT_FRAME::SIM_PLOT_FRAME(), and DIALOG_EXCHANGE_MODULE::ViewAndSelectFootprint().

61  {
62  wxASSERT( m_kiway ); // smoke out bugs in Debug build, then Release runs fine.
63  return *m_kiway;
64  }
KIWAY * m_kiway
Definition: kiway_player.h:85
virtual void DIALOG_SPICE_MODEL_BASE::onInitDlg ( wxInitDialogEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 173 of file dialog_spice_model_base.h.

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

173 { event.Skip(); }
virtual void DIALOG_SPICE_MODEL_BASE::onPwlAdd ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 176 of file dialog_spice_model_base.h.

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

176 { event.Skip(); }
virtual void DIALOG_SPICE_MODEL_BASE::onPwlRemove ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 177 of file dialog_spice_model_base.h.

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

177 { event.Skip(); }
virtual void DIALOG_SPICE_MODEL_BASE::onSelectIcLib ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 175 of file dialog_spice_model_base.h.

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

175 { event.Skip(); }
virtual void DIALOG_SPICE_MODEL_BASE::onSemiSelectLib ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in DIALOG_SPICE_MODEL.

Definition at line 174 of file dialog_spice_model_base.h.

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

174 { event.Skip(); }
PROJECT & KIWAY_HOLDER::Prj ( ) const
inherited

Function Prj returns a reference to the PROJECT "associated with" this KIWAY.

Definition at line 34 of file kiway_holder.cpp.

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

Referenced by SCH_EDIT_FRAME::AnnotateComponents(), SCH_EDIT_FRAME::AppendOneEEProject(), PCB_EDIT_FRAME::ArchiveModulesOnBoard(), LIB_VIEW_FRAME::BestZoom(), DIALOG_MODULE_MODULE_EDITOR::BrowseAndAdd3DShapeFile(), DIALOG_MODULE_BOARD_EDITOR::BrowseAndAdd3DShapeFile(), DIALOG_EDIT_COMPONENT_IN_LIBRARY::BrowseAndSelectDocFile(), DIALOG_EXCHANGE_MODULE::BrowseAndSelectFootprint(), CVPCB_MAINFRAME::BuildLIBRARY_LISTBOX(), DIALOG_MODULE_MODULE_EDITOR::Cfg3DPath(), DIALOG_MODULE_BOARD_EDITOR::Cfg3DPath(), SCH_EDIT_FRAME::CheckAnnotate(), SCH_SCREEN::CheckComponentsToPartsLinks(), SCH_EDIT_FRAME::ConvertPart(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::copyPanelToOptions(), SCH_EDIT_FRAME::CreateArchiveLibrary(), PCB_BASE_EDIT_FRAME::CreateNewLibrary(), DIALOG_PLOT_SCHEMATIC::createPlotFileName(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), FOOTPRINT_EDIT_FRAME::DeleteModuleFromCurrentLibrary(), LIB_EDIT_FRAME::DeleteOnePart(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_EESCHEMA_CONFIG::DIALOG_EESCHEMA_CONFIG(), DIALOG_FP_LIB_TABLE::DIALOG_FP_LIB_TABLE(), DIALOG_MODULE_BOARD_EDITOR::DIALOG_MODULE_BOARD_EDITOR(), DIALOG_MODULE_MODULE_EDITOR::DIALOG_MODULE_MODULE_EDITOR(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_SCH_EDIT_ONE_FIELD::DIALOG_SCH_EDIT_ONE_FIELD(), LIB_VIEW_FRAME::DisplayLibInfos(), SCH_BASE_FRAME::DisplayListComponentsInLib(), PCB_EDIT_FRAME::doAutoSave(), DIALOG_MODULE_MODULE_EDITOR::Edit3DShapeFileName(), DIALOG_MODULE_BOARD_EDITOR::Edit3DShapeFileName(), SCH_EDIT_FRAME::EditComponentFieldText(), SCH_EDIT_FRAME::EditSheet(), PCB_EDIT_FRAME::Export_IDF3(), PCB_EDIT_FRAME::ExportToGenCAD(), PCB_EDIT_FRAME::ExportVRML_File(), PCB_EDIT_FRAME::Files_io_from_id(), PCB_EDIT_FRAME::GenD356File(), NETLIST_DIALOG::GenNetlist(), DISPLAY_FOOTPRINTS_FRAME::Get_Module(), FOOTPRINT_VIEWER_FRAME::getCurFootprintName(), LIB_EDIT_FRAME::GetCurLib(), FOOTPRINT_VIEWER_FRAME::getCurNickname(), LIB_EDIT_FRAME::GetCurPart(), FOOTPRINT_EDIT_FRAME::GetCurrentLib(), FOOTPRINT_EDIT_FRAME::getLibPath(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), DIALOG_BOM::getPluginFileName(), LIB_VIEW_FRAME::getSelectedAlias(), FP_THREAD_IFACE::GetTable(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::InitBuffers(), DIALOG_MODULE_MODULE_EDITOR::initModeditProperties(), DIALOG_MODULE_BOARD_EDITOR::InitModeditProperties(), LIB_EDIT_FRAME::InstallConfigFrame(), SCH_EDIT_FRAME::InstallConfigFrame(), PCB_EDIT_FRAME::InstallNetlistFrame(), SCH_EDIT_FRAME::IsSearchCacheObsolete(), SCH_EDIT_FRAME::Load_Component(), SCH_EDIT_FRAME::LoadCmpToFootprintLinkFile(), DIALOG_BOM_EDITOR::LoadComponents(), CVPCB_MAINFRAME::LoadFootprintFiles(), SCH_EDIT_FRAME::LoadOneEEFile(), LIB_EDIT_FRAME::LoadOneLibraryPart(), LIB_EDIT_FRAME::LoadOneSymbol(), CVPCB_MAINFRAME::LoadProjectFile(), SCH_EDIT_FRAME::LoadProjectFile(), PCB_EDIT_FRAME::LoadProjectSettings(), DIALOG_DRC_CONTROL::makeValidFileNameReport(), FOOTPRINT_VIEWER_FRAME::OnActivate(), DIALOG_EESCHEMA_CONFIG::OnAddOrInsertLibClick(), DIALOG_EESCHEMA_CONFIG::OnAddOrInsertPath(), DIALOG_DRC_CONTROL::OnButtonBrowseRptFileClick(), LIB_EDIT_FRAME::OnCloseWindow(), CVPCB_MAINFRAME::OnEditFootprintLibraryTable(), DIALOG_GENDRILL::OnGenReportFile(), DIALOG_CHOOSE_COMPONENT::OnInitDialog(), PCB_EDIT_FRAME::OnLeftClick(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnOKButtonClick(), DIALOG_NETLIST::OnOpenNetlistClick(), DIALOG_PLOT::OnOutputDirectoryBrowseClicked(), DIALOG_SVG_PRINT::OnOutputDirectoryBrowseClicked(), DIALOG_GENDRILL::OnOutputDirectoryBrowseClicked(), DIALOG_PLOT_SCHEMATIC::OnOutputDirectoryBrowseClicked(), DIALOG_GEN_MODULE_POSITION::OnOutputDirectoryBrowseClicked(), LIB_EDIT_FRAME::OnPlotCurrentComponent(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), SCH_EDIT_FRAME::OnRightClick(), DIALOG_BOM::OnRunPlugin(), DIALOG_NETLIST::OnSaveMessagesToFile(), SCH_EDIT_FRAME::OnSaveProject(), DIALOG_SPICE_MODEL::onSelectIcLib(), LIB_VIEW_FRAME::OnSelectSymbol(), SCH_EDIT_FRAME::OnSelectUnit(), DIALOG_SPICE_MODEL::onSemiSelectLib(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnTestChipName(), FOOTPRINT_EDIT_FRAME::OnUpdateSelectCurrentLib(), LIB_EDIT_FRAME::OnViewEntryDoc(), LIB_VIEW_FRAME::onViewSymbolDocument(), SCH_EDIT_FRAME::OpenProjectFiles(), PCB_EDIT_FRAME::OpenProjectFiles(), SCH_EDIT_FRAME::PasteListOfItems(), PCB_EDITOR_CONTROL::PlaceModule(), SCH_EDIT_FRAME::prepareForNetlist(), SCH_EDIT_FRAME::Process_Config(), PCB_EDIT_FRAME::Process_Config(), SCH_EDIT_FRAME::Process_Special_Functions(), SCH_EDIT_FRAME::ProcessCmpToFootprintLinkFile(), FOOTPRINT_EDIT_FRAME::ProcessPreferences(), CVPCB_MAINFRAME::ReadNetListAndLinkFiles(), PCB_EDIT_FRAME::RecreateCmpFileFromBoard(), FOOTPRINT_VIEWER_FRAME::ReCreateFootprintList(), LIB_VIEW_FRAME::ReCreateHToolbar(), FOOTPRINT_VIEWER_FRAME::ReCreateLibraryList(), LIB_VIEW_FRAME::ReCreateListCmp(), LIB_VIEW_FRAME::ReCreateListLib(), LIB_VIEW_FRAME::RedrawActiveWindow(), EDA_3D_VIEWER::ReloadRequest(), DIALOG_SYMBOL_REMAP::remapSymbolToLibTable(), SCH_EDIT_FRAME::RescueProject(), FOOTPRINT_EDIT_FRAME::restoreLastFootprint(), FOOTPRINT_EDIT_FRAME::retainLastFootprint(), SCH_SCREEN::Save(), LIB_EDIT_FRAME::SaveActiveLibrary(), SCH_EDIT_FRAME::SaveEEFile(), FOOTPRINT_EDIT_FRAME::SaveFootprintInLibrary(), LIB_EDIT_FRAME::SaveOneSymbol(), CVPCB_MAINFRAME::SaveProjectFile(), SCH_EDIT_FRAME::SaveProjectSettings(), PCB_EDIT_FRAME::SaveProjectSettings(), FOOTPRINT_VIEWER_FRAME::SelectAndViewFootprint(), SCH_BASE_FRAME::SelectComponentFromLibrary(), FOOTPRINT_VIEWER_FRAME::SelectCurrentFootprint(), PCB_BASE_FRAME::SelectLibrary(), SCH_BASE_FRAME::SelectLibraryFromList(), SCH_EDIT_FRAME::sendNetlist(), FOOTPRINT_VIEWER_FRAME::setCurFootprintName(), LIB_EDIT_FRAME::SetCurLib(), FOOTPRINT_VIEWER_FRAME::setCurNickname(), LIB_EDIT_FRAME::SetCurPart(), DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::SetInitCmp(), SIM_PLOT_FRAME::SIM_PLOT_FRAME(), EDA_3D_VIEWER::takeScreenshot(), DIALOG_ERC::TestErc(), DIALOG_SPICE_MODEL::updateFromFile(), SIM_PLOT_FRAME::updateNetlistExporter(), FOOTPRINT_VIEWER_FRAME::UpdateTitle(), CVPCB_MAINFRAME::UpdateTitle(), FOOTPRINT_EDIT_FRAME::updateTitle(), SCH_EDIT_FRAME::WriteNetListFile(), DIALOG_MODULE_BOARD_EDITOR::~DIALOG_MODULE_BOARD_EDITOR(), and DIALOG_MODULE_MODULE_EDITOR::~DIALOG_MODULE_MODULE_EDITOR().

35 {
36  return Kiway().Prj();
37 }
KIWAY & Kiway() const
Function Kiway returns a reference to the KIWAY that this object has an opportunity to participate in...
Definition: kiway_player.h:60
VTBL_ENTRY PROJECT & Prj() const
Function Prj returns the PROJECT associated with this KIWAY.
Definition: kiway.cpp:144
void KIWAY_HOLDER::SetKiway ( wxWindow *  aDest,
KIWAY aKiway 
)
inherited

Function SetKiway.

Parameters
aDestis the recipient of aKiway pointer. It is only used for debugging, since "this" is not a wxWindow*. "this" is a KIWAY_HOLDER mix-in.
aKiwayis often from a parent window, or from KIFACE::CreateWindow().

Definition at line 41 of file kiway_holder.cpp.

References KIWAY_HOLDER::m_kiway, and name.

Referenced by DIALOG_SHIM::DIALOG_SHIM(), and SIM_PLOT_FRAME::SIM_PLOT_FRAME().

42 {
43 #if defined(DEBUG)
44  // offer a trap point for debugging most any window
45  wxASSERT( aDest );
46  if( !strcmp( typeid(aDest).name(), "DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB" ) )
47  {
48  int breakhere=1;
49  (void) breakhere;
50  }
51 #endif
52 
53  (void) aDest;
54 
55  m_kiway = aKiway;
56 }
KIWAY * m_kiway
Definition: kiway_player.h:85
const char * name
bool DIALOG_SHIM::Show ( bool  show)
overrideinherited

Definition at line 139 of file dialog_shim.cpp.

References class_map, DIALOG_SHIM::FixOSXCancelButtonIssue(), EDA_RECT::GetPosition(), EDA_RECT::GetSize(), DIALOG_SHIM::m_hash_key, wxPoint::x, and wxPoint::y.

Referenced by DisplayHotkeyList(), DIALOG_SHIM::EndQuasiModal(), InvokeDialogERC(), DIALOG_SCH_FIND::OnCancel(), DIALOG_DRC_CONTROL::OnLeftDClickClearance(), DIALOG_DRC_CONTROL::OnLeftDClickUnconnected(), DIALOG_DRC_CONTROL::OnPopupMenu(), DIALOG_EXCHANGE_MODULE::OnQuit(), CVPCB_MAINFRAME::ReadNetListAndLinkFiles(), DRC::ShowDRCDialog(), and DIALOG_SHIM::ShowQuasiModal().

140 {
141  bool ret;
142  const char* hash_key;
143 
144  if( m_hash_key.size() )
145  {
146  // a special case like EDA_LIST_DIALOG, which has multiple uses.
147  hash_key = m_hash_key.c_str();
148  }
149  else
150  {
151  hash_key = typeid(*this).name();
152  }
153 
154  // Show or hide the window. If hiding, save current position and size.
155  // If showing, use previous position and size.
156  if( show )
157  {
158  wxDialog::Raise(); // Needed on OS X and some other window managers (i.e. Unity)
159  ret = wxDialog::Show( show );
160 
161  // classname is key, returns a zeroed out default EDA_RECT if none existed before.
162  EDA_RECT r = class_map[ hash_key ];
163 
164  if( r.GetSize().x != 0 && r.GetSize().y != 0 )
165  SetSize( r.GetPosition().x, r.GetPosition().y, r.GetSize().x, r.GetSize().y, 0 );
166  }
167  else
168  {
169  // Save the dialog's position & size before hiding, using classname as key
170  EDA_RECT r( wxDialog::GetPosition(), wxDialog::GetSize() );
171  class_map[ hash_key ] = r;
172 
173  ret = wxDialog::Show( show );
174  }
175 
177 
178  return ret;
179 }
std::string m_hash_key
Definition: dialog_shim.h:128
void FixOSXCancelButtonIssue()
A ugly hack to fix an issue on OSX: when typing ctrl+c in a wxTextCtrl inside a dialog, it is closed instead of copying a text if a button with wxID_CANCEL is used in a wxStdDialogButtonSizer, when the dlg is created by wxFormBuilder: the label is &Cancel, and this accelerator key has priority to copy text standard accelerator, and the dlg is closed when trying to copy text this function do nothing on other platforms.
static RECT_MAP class_map
const wxPoint & GetPosition() const
Class EDA_RECT handles the component boundary box.
const wxSize & GetSize() const
int DIALOG_SHIM::ShowQuasiModal ( )
inherited

Definition at line 495 of file dialog_shim.cpp.

References DBG, DIALOG_SHIM::m_qmodal_loop, DIALOG_SHIM::m_qmodal_parent_disabler, DIALOG_SHIM::m_qmodal_showing, and DIALOG_SHIM::Show().

Referenced by LIB_EDIT_FRAME::DeleteOnePart(), SCH_EDIT_FRAME::EditComponent(), SCH_EDIT_FRAME::EditComponentFieldText(), LIB_EDIT_FRAME::EditField(), EDIT_TOOL::ExchangeFootprints(), PCB_EDIT_FRAME::InstallExchangeModuleFrame(), LIB_EDIT_FRAME::InstallFieldsEditorDialog(), LIB_VIEW_FRAME::OnSelectSymbol(), and SCH_BASE_FRAME::SelectComponentFromLibrary().

496 {
497  // This is an exception safe way to zero a pointer before returning.
498  // Yes, even though DismissModal() clears this first normally, this is
499  // here in case there's an exception before the dialog is dismissed.
500  struct NULLER
501  {
502  void*& m_what;
503  NULLER( void*& aPtr ) : m_what( aPtr ) {}
504  ~NULLER() { m_what = 0; } // indeed, set it to NULL on destruction
505  } clear_this( (void*&) m_qmodal_loop );
506 
507  // release the mouse if it's currently captured as the window having it
508  // will be disabled when this dialog is shown -- but will still keep the
509  // capture making it impossible to do anything in the modal dialog itself
510  wxWindow* win = wxWindow::GetCapture();
511  if( win )
512  win->ReleaseMouse();
513 
514  // Get the optimal parent
515  wxWindow* parent = GetParentForModalDialog( GetParent(), GetWindowStyle() );
516 
517  // Show the optimal parent
518  DBG( if( parent ) printf( "%s: optimal parent: %s\n", __func__, typeid(*parent).name() );)
519 
520  wxASSERT_MSG( !m_qmodal_parent_disabler,
521  wxT( "Caller using ShowQuasiModal() twice on same window?" ) );
522 
523  // quasi-modal: disable only my "optimal" parent
525 
526  Show( true );
527 
528  m_qmodal_showing = true;
529 
530  EVENT_LOOP event_loop;
531 
532  m_qmodal_loop = &event_loop;
533 
534  event_loop.Run();
535 
536  return GetReturnCode();
537 }
bool m_qmodal_showing
Definition: dialog_shim.h:132
EVENT_LOOP * m_qmodal_loop
Definition: dialog_shim.h:131
bool Show(bool show) override
WDO_ENABLE_DISABLE * m_qmodal_parent_disabler
Definition: dialog_shim.h:133
Toggle a window's "enable" status to disabled, then enabled on destruction.
Definition: dialog_shim.cpp:33
#define DBG(x)
Definition: fctsys.h:33

Member Data Documentation

wxCheckBox* DIALOG_SPICE_MODEL_BASE::m_disabled
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expFallConst
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expFallDelay
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expPulsed
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expRiseConst
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_expRiseDelay
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_genAcMag
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_genAcPhase
protected
std::string DIALOG_SHIM::m_hash_key
protectedinherited
wxPanel* DIALOG_SPICE_MODEL_BASE::m_ic
protected
wxButton* DIALOG_SPICE_MODEL_BASE::m_icSelectLib
protected

Definition at line 101 of file dialog_spice_model_base.h.

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

wxCheckBox* DIALOG_SPICE_MODEL_BASE::m_nodeSeqCheck
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_nodeSeqVal
protected
wxNotebook* DIALOG_SPICE_MODEL_BASE::m_notebook
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_passive
protected
wxComboBox* DIALOG_SPICE_MODEL_BASE::m_pasType
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_power
protected
wxNotebook* DIALOG_SPICE_MODEL_BASE::m_powerNotebook
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseDelay
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseFall
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseInit
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseNominal
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulsePeriod
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseRise
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pulseWidth
protected
wxButton* DIALOG_SPICE_MODEL_BASE::m_pwlAddButton
protected

Definition at line 154 of file dialog_spice_model_base.h.

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

wxButton* DIALOG_SPICE_MODEL_BASE::m_pwlRemoveBtn
protected

Definition at line 156 of file dialog_spice_model_base.h.

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

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pwlTime
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_pwlValue
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrAm
protected

Definition at line 158 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrExp
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrExtData
protected

Definition at line 161 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrFm
protected

Definition at line 157 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrPulse
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrPwl
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrRandom
protected

Definition at line 160 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrSin
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_pwrTransNoise
protected

Definition at line 159 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxRadioBox* DIALOG_SPICE_MODEL_BASE::m_pwrType
protected
EVENT_LOOP* DIALOG_SHIM::m_qmodal_loop
protectedinherited

Definition at line 131 of file dialog_shim.h.

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

WDO_ENABLE_DISABLE* DIALOG_SHIM::m_qmodal_parent_disabler
protectedinherited
bool DIALOG_SHIM::m_qmodal_showing
protectedinherited
wxStdDialogButtonSizer* DIALOG_SPICE_MODEL_BASE::m_sdbSizer
protected

Definition at line 168 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxButton* DIALOG_SPICE_MODEL_BASE::m_sdbSizerCancel
protected

Definition at line 170 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxButton* DIALOG_SPICE_MODEL_BASE::m_sdbSizerOK
protected
wxPanel* DIALOG_SPICE_MODEL_BASE::m_semiconductor
protected
wxButton* DIALOG_SPICE_MODEL_BASE::m_semiSelectLib
protected

Definition at line 95 of file dialog_spice_model_base.h.

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

wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinAmplitude
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinDampFactor
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinDelay
protected
wxTextCtrl* DIALOG_SPICE_MODEL_BASE::m_sinOffset
protected
wxStaticLine* DIALOG_SPICE_MODEL_BASE::m_staticline1
protected

Definition at line 58 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticLine* DIALOG_SPICE_MODEL_BASE::m_staticline2
protected

Definition at line 163 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticLine* DIALOG_SPICE_MODEL_BASE::m_staticline3
protected

Definition at line 167 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText10
protected

Definition at line 103 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText11
protected

Definition at line 105 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText12
protected

Definition at line 107 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText13
protected

Definition at line 111 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

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().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText15
protected

Definition at line 115 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText16
protected

Definition at line 117 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText17
protected

Definition at line 119 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText18
protected

Definition at line 121 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText2
protected

Definition at line 52 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText20
protected

Definition at line 123 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText21
protected

Definition at line 126 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText22
protected

Definition at line 128 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText23
protected

Definition at line 130 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText24
protected

Definition at line 132 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText25
protected

Definition at line 134 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText26
protected

Definition at line 137 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText27
protected

Definition at line 139 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText28
protected

Definition at line 141 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText29
protected

Definition at line 143 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText3
protected

Definition at line 55 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText30
protected

Definition at line 145 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText31
protected

Definition at line 147 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText32
protected

Definition at line 59 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText321
protected

Definition at line 60 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText34
protected

Definition at line 150 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText341
protected

Definition at line 61 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText35
protected

Definition at line 152 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText351
protected

Definition at line 62 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText36
protected

Definition at line 63 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText37
protected

Definition at line 64 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText38
protected

Definition at line 65 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText39
protected

Definition at line 66 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText4
protected

Definition at line 89 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText40
protected

Definition at line 67 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText41
protected

Definition at line 68 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText42
protected

Definition at line 69 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText43
protected

Definition at line 70 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText44
protected

Definition at line 71 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText45
protected

Definition at line 75 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText46
protected

Definition at line 72 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText47
protected

Definition at line 73 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText48
protected

Definition at line 74 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText49
protected

Definition at line 76 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

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().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText50
protected

Definition at line 77 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText51
protected

Definition at line 78 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText52
protected

Definition at line 79 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText53
protected

Definition at line 80 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText54
protected

Definition at line 81 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText55
protected

Definition at line 82 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText56
protected

Definition at line 83 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText57
protected

Definition at line 84 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText58
protected

Definition at line 85 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText59
protected

Definition at line 86 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText60
protected

Definition at line 87 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText62
protected

Definition at line 54 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText63
protected

Definition at line 57 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText7
protected

Definition at line 93 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText8
protected

Definition at line 97 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().

wxStaticText* DIALOG_SPICE_MODEL_BASE::m_staticText9
protected

Definition at line 99 of file dialog_spice_model_base.h.

Referenced by DIALOG_SPICE_MODEL_BASE().


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