1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
|
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: PropertiesForm.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////
#ifndef _PSP_PROJECT_PROPERTIESFORM_BASE_CLASSES_H
#define _PSP_PROJECT_PROPERTIESFORM_BASE_CLASSES_H
#include <wx/arrstr.h>
#include <wx/artprov.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/dialog.h>
#include <wx/filepicker.h>
#include <wx/grid.h>
#include <wx/hyperlink.h>
#include <wx/iconbndl.h>
#include <wx/imaglist.h>
#include <wx/notebook.h>
#include <wx/panel.h>
#include <wx/richtext/richtextctrl.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/statbmp.h>
#include <wx/statbox.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/xrc/xmlres.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/treebook.h>
#endif
#ifdef WXC_FROM_DIP
#undef WXC_FROM_DIP
#endif
#if wxVERSION_NUMBER >= 3100
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
#else
#define WXC_FROM_DIP(x) x
#endif
class GeneralPropertiesFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextLanguage;
wxChoice* m_choiceLanguage;
wxStaticText* m_staticTextTheme;
wxChoice* m_choiceTheme;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextLanguage() { return m_staticTextLanguage; }
wxChoice* GetChoiceLanguage() { return m_choiceLanguage; }
wxStaticText* GetStaticTextTheme() { return m_staticTextTheme; }
wxChoice* GetChoiceTheme() { return m_choiceTheme; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
GeneralPropertiesFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("General settings"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~GeneralPropertiesFormBase();
};
class SimulationsSettingsFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextBasePower;
wxTextCtrl* m_textCtrlbasePower;
wxChoice* m_choiceBasePower;
wxCheckBox* m_checkBoxFaultAfterPF;
wxCheckBox* m_checkBoxSCPowerAfterPF;
wxPanel* m_panelPF;
wxStaticText* m_staticTextPFMethod;
wxChoice* m_choicePFMethod;
wxStaticText* m_staticTextAccFactor;
wxTextCtrl* m_textCtrlAccFactor;
wxStaticText* m_staticTextPFTolerance;
wxTextCtrl* m_textCtrlPFTolerance;
wxStaticText* m_staticTextPFMaxIterations;
wxTextCtrl* m_textCtrlPFMaxIterations;
wxStaticText* m_staticTextPFSlackBusAngle;
wxTextCtrl* m_textCtrlPFSlackBusAngle;
wxStaticText* m_staticTextDeg_1;
wxPanel* m_panelStability;
wxStaticText* m_staticTextTimeStep;
wxTextCtrl* m_textCtrlTimeStep;
wxStaticText* m_staticTextSec_1;
wxStaticText* m_staticTextTSimTime;
wxTextCtrl* m_textCtrlSimTime;
wxStaticText* m_staticTextSec_2;
wxStaticText* m_staticTextFreq;
wxTextCtrl* m_textCtrlFreq;
wxStaticText* m_staticTextFreqUnit;
wxStaticText* m_staticTextTStabTolerance;
wxTextCtrl* m_textCtrlStabTolerance;
wxStaticText* m_staticTextTStabMaxIterations;
wxTextCtrl* m_textCtrlStabMaxIterations;
wxStaticText* m_staticTextCtrlStepRation;
wxTextCtrl* m_textCtrlCtrlStepRatio;
wxStaticText* m_staticTextPrintTime;
wxTextCtrl* m_textCtrlPrintTime;
wxStaticText* m_staticTextSec_4;
wxCheckBox* m_checkBoxUseCOI;
wxPanel* m_panelLoadComp;
wxCheckBox* m_checkBoxUseCompLoads;
wxStaticText* m_staticTextActivePowerImp;
wxTextCtrl* m_textCtrlActivePowerImp;
wxStaticText* m_staticTextPerc_1;
wxStaticText* m_staticTextActivePowerCur;
wxTextCtrl* m_textCtrlActivePowerCur;
wxStaticText* m_staticTextPerc_2;
wxStaticText* m_staticTextActivePowerPow;
wxTextCtrl* m_textCtrlActivePowerPow;
wxStaticText* m_staticTextPerc_3;
wxStaticText* m_staticTextReactivePowerImp;
wxTextCtrl* m_textCtrlReactivePowerImp;
wxStaticText* m_staticTextPerc_4;
wxStaticText* m_staticTextReactivePowerCur;
wxTextCtrl* m_textCtrlReactivePowerCur;
wxStaticText* m_staticTextPerc_5;
wxStaticText* m_staticTextReactivePowerPow;
wxTextCtrl* m_textCtrlReactivePowerPow;
wxStaticText* m_staticTextPerc_6;
wxStaticText* m_staticTextUV;
wxStaticText* m_staticTextUVCur;
wxTextCtrl* m_textCtrlUVCur;
wxStaticText* m_staticTextPerc_7;
wxStaticText* m_staticTextUVPow;
wxTextCtrl* m_textCtrlUVPow;
wxStaticText* m_staticTextPerc_8;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnPFMethodChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnCheckboxUseCompLoadClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextBasePower() { return m_staticTextBasePower; }
wxTextCtrl* GetTextCtrlbasePower() { return m_textCtrlbasePower; }
wxChoice* GetChoiceBasePower() { return m_choiceBasePower; }
wxCheckBox* GetCheckBoxFaultAfterPF() { return m_checkBoxFaultAfterPF; }
wxCheckBox* GetCheckBoxSCPowerAfterPF() { return m_checkBoxSCPowerAfterPF; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxStaticText* GetStaticTextPFMethod() { return m_staticTextPFMethod; }
wxChoice* GetChoicePFMethod() { return m_choicePFMethod; }
wxStaticText* GetStaticTextAccFactor() { return m_staticTextAccFactor; }
wxTextCtrl* GetTextCtrlAccFactor() { return m_textCtrlAccFactor; }
wxStaticText* GetStaticTextPFTolerance() { return m_staticTextPFTolerance; }
wxTextCtrl* GetTextCtrlPFTolerance() { return m_textCtrlPFTolerance; }
wxStaticText* GetStaticTextPFMaxIterations() { return m_staticTextPFMaxIterations; }
wxTextCtrl* GetTextCtrlPFMaxIterations() { return m_textCtrlPFMaxIterations; }
wxStaticText* GetStaticTextPFSlackBusAngle() { return m_staticTextPFSlackBusAngle; }
wxTextCtrl* GetTextCtrlPFSlackBusAngle() { return m_textCtrlPFSlackBusAngle; }
wxStaticText* GetStaticTextDeg_1() { return m_staticTextDeg_1; }
wxPanel* GetPanelPF() { return m_panelPF; }
wxStaticText* GetStaticTextTimeStep() { return m_staticTextTimeStep; }
wxTextCtrl* GetTextCtrlTimeStep() { return m_textCtrlTimeStep; }
wxStaticText* GetStaticTextSec_1() { return m_staticTextSec_1; }
wxStaticText* GetStaticTextTSimTime() { return m_staticTextTSimTime; }
wxTextCtrl* GetTextCtrlSimTime() { return m_textCtrlSimTime; }
wxStaticText* GetStaticTextSec_2() { return m_staticTextSec_2; }
wxStaticText* GetStaticTextFreq() { return m_staticTextFreq; }
wxTextCtrl* GetTextCtrlFreq() { return m_textCtrlFreq; }
wxStaticText* GetStaticTextFreqUnit() { return m_staticTextFreqUnit; }
wxStaticText* GetStaticTextTStabTolerance() { return m_staticTextTStabTolerance; }
wxTextCtrl* GetTextCtrlStabTolerance() { return m_textCtrlStabTolerance; }
wxStaticText* GetStaticTextTStabMaxIterations() { return m_staticTextTStabMaxIterations; }
wxTextCtrl* GetTextCtrlStabMaxIterations() { return m_textCtrlStabMaxIterations; }
wxStaticText* GetStaticTextCtrlStepRation() { return m_staticTextCtrlStepRation; }
wxTextCtrl* GetTextCtrlCtrlStepRatio() { return m_textCtrlCtrlStepRatio; }
wxStaticText* GetStaticTextPrintTime() { return m_staticTextPrintTime; }
wxTextCtrl* GetTextCtrlPrintTime() { return m_textCtrlPrintTime; }
wxStaticText* GetStaticTextSec_4() { return m_staticTextSec_4; }
wxCheckBox* GetCheckBoxUseCOI() { return m_checkBoxUseCOI; }
wxPanel* GetPanelStability() { return m_panelStability; }
wxCheckBox* GetCheckBoxUseCompLoads() { return m_checkBoxUseCompLoads; }
wxStaticText* GetStaticTextActivePowerImp() { return m_staticTextActivePowerImp; }
wxTextCtrl* GetTextCtrlActivePowerImp() { return m_textCtrlActivePowerImp; }
wxStaticText* GetStaticTextPerc_1() { return m_staticTextPerc_1; }
wxStaticText* GetStaticTextActivePowerCur() { return m_staticTextActivePowerCur; }
wxTextCtrl* GetTextCtrlActivePowerCur() { return m_textCtrlActivePowerCur; }
wxStaticText* GetStaticTextPerc_2() { return m_staticTextPerc_2; }
wxStaticText* GetStaticTextActivePowerPow() { return m_staticTextActivePowerPow; }
wxTextCtrl* GetTextCtrlActivePowerPow() { return m_textCtrlActivePowerPow; }
wxStaticText* GetStaticTextPerc_3() { return m_staticTextPerc_3; }
wxStaticText* GetStaticTextReactivePowerImp() { return m_staticTextReactivePowerImp; }
wxTextCtrl* GetTextCtrlReactivePowerImp() { return m_textCtrlReactivePowerImp; }
wxStaticText* GetStaticTextPerc_4() { return m_staticTextPerc_4; }
wxStaticText* GetStaticTextReactivePowerCur() { return m_staticTextReactivePowerCur; }
wxTextCtrl* GetTextCtrlReactivePowerCur() { return m_textCtrlReactivePowerCur; }
wxStaticText* GetStaticTextPerc_5() { return m_staticTextPerc_5; }
wxStaticText* GetStaticTextReactivePowerPow() { return m_staticTextReactivePowerPow; }
wxTextCtrl* GetTextCtrlReactivePowerPow() { return m_textCtrlReactivePowerPow; }
wxStaticText* GetStaticTextPerc_6() { return m_staticTextPerc_6; }
wxStaticText* GetStaticTextUV() { return m_staticTextUV; }
wxStaticText* GetStaticTextUVCur() { return m_staticTextUVCur; }
wxTextCtrl* GetTextCtrlUVCur() { return m_textCtrlUVCur; }
wxStaticText* GetStaticTextPerc_7() { return m_staticTextPerc_7; }
wxStaticText* GetStaticTextUVPow() { return m_staticTextUVPow; }
wxTextCtrl* GetTextCtrlUVPow() { return m_textCtrlUVPow; }
wxStaticText* GetStaticTextPerc_8() { return m_staticTextPerc_8; }
wxPanel* GetPanelLoadComp() { return m_panelLoadComp; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
SimulationsSettingsFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Simulation settings"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~SimulationsSettingsFormBase();
};
class AboutFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelLogo;
wxStaticBitmap* m_staticBitmapLogo;
wxPanel* m_panelCredits;
wxGrid* m_gridCredits;
wxPanel* m_panelLicense;
wxRichTextCtrl* m_richTextCtrlLicense;
wxStaticText* m_staticTextVersionLabel;
wxStaticText* m_staticTextVersion;
wxStaticText* m_staticTextHome;
wxHyperlinkCtrl* m_hyperLinkPSP;
wxButton* m_buttonOK;
protected:
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticBitmap* GetStaticBitmapLogo() { return m_staticBitmapLogo; }
wxPanel* GetPanelLogo() { return m_panelLogo; }
wxGrid* GetGridCredits() { return m_gridCredits; }
wxPanel* GetPanelCredits() { return m_panelCredits; }
wxRichTextCtrl* GetRichTextCtrlLicense() { return m_richTextCtrlLicense; }
wxPanel* GetPanelLicense() { return m_panelLicense; }
wxNotebook* GetNotebook() { return m_notebook; }
wxStaticText* GetStaticTextVersionLabel() { return m_staticTextVersionLabel; }
wxStaticText* GetStaticTextVersion() { return m_staticTextVersion; }
wxStaticText* GetStaticTextHome() { return m_staticTextHome; }
wxHyperlinkCtrl* GetHyperLinkPSP() { return m_hyperLinkPSP; }
wxButton* GetButtonOK() { return m_buttonOK; }
AboutFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("About PSP-UFU"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~AboutFormBase();
};
class ImportFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelCEPEL;
wxStaticText* m_staticTextBasePWFFile;
wxFilePickerCtrl* m_filePickerANAREDEPWF;
wxStaticText* m_staticTextBaseLSTFile;
wxFilePickerCtrl* m_filePickerANAREDELST;
wxStaticText* m_staticTextBaseSTBFile;
wxFilePickerCtrl* m_filePickerANATEMSTB;
wxPanel* m_panelMatpower;
wxStaticText* m_staticTextBaseMFile;
wxFilePickerCtrl* m_filePickerMatpowerM;
wxStaticText* m_staticTextScale;
wxTextCtrl* m_textCtrlScale;
wxStaticText* m_staticTextIteration;
wxTextCtrl* m_textCtrlIterations;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextBasePWFFile() { return m_staticTextBasePWFFile; }
wxFilePickerCtrl* GetFilePickerANAREDEPWF() { return m_filePickerANAREDEPWF; }
wxStaticText* GetStaticTextBaseLSTFile() { return m_staticTextBaseLSTFile; }
wxFilePickerCtrl* GetFilePickerANAREDELST() { return m_filePickerANAREDELST; }
wxStaticText* GetStaticTextBaseSTBFile() { return m_staticTextBaseSTBFile; }
wxFilePickerCtrl* GetFilePickerANATEMSTB() { return m_filePickerANATEMSTB; }
wxPanel* GetPanelCEPEL() { return m_panelCEPEL; }
wxStaticText* GetStaticTextBaseMFile() { return m_staticTextBaseMFile; }
wxFilePickerCtrl* GetFilePickerMatpowerM() { return m_filePickerMatpowerM; }
wxStaticText* GetStaticTextScale() { return m_staticTextScale; }
wxTextCtrl* GetTextCtrlScale() { return m_textCtrlScale; }
wxStaticText* GetStaticTextIteration() { return m_staticTextIteration; }
wxTextCtrl* GetTextCtrlIterations() { return m_textCtrlIterations; }
wxPanel* GetPanelMatpower() { return m_panelMatpower; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
ImportFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Import files"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~ImportFormBase();
};
#endif
|