2016-08-11 12:41:29 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-07-05 17:25:52 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2016-08-11 12:41:29 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-24 15:04:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2016-08-11 12:41:29 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-04-15 01:51:58 +00:00
|
|
|
#pragma once
|
2016-08-11 12:41:29 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
2016-08-15 07:53:15 +00:00
|
|
|
#include <wx/intl.h>
|
2016-08-20 15:25:51 +00:00
|
|
|
#include "dialog_shim.h"
|
2016-08-11 12:41:29 +00:00
|
|
|
#include <wx/string.h>
|
2023-07-05 17:25:52 +00:00
|
|
|
#include <wx/stattext.h>
|
2016-08-11 12:41:29 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2023-07-05 17:25:52 +00:00
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/radiobox.h>
|
2016-08-11 12:41:29 +00:00
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/valtext.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/checkbox.h>
|
2021-01-25 21:29:13 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2022-12-11 15:49:29 +00:00
|
|
|
#include <wx/button.h>
|
2023-07-05 17:25:52 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/srchctrl.h>
|
|
|
|
#include <wx/checklst.h>
|
|
|
|
#include <wx/simplebook.h>
|
2023-07-19 15:25:57 +00:00
|
|
|
#include <wx/notebook.h>
|
2016-08-11 12:41:29 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2022-12-11 15:49:29 +00:00
|
|
|
/// Class DIALOG_SIM_COMMAND_BASE
|
2016-08-11 12:41:29 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2022-12-11 15:49:29 +00:00
|
|
|
class DIALOG_SIM_COMMAND_BASE : public DIALOG_SHIM
|
2016-08-11 12:41:29 +00:00
|
|
|
{
|
|
|
|
private:
|
2020-04-15 01:51:58 +00:00
|
|
|
|
2016-08-11 12:41:29 +00:00
|
|
|
protected:
|
2023-07-05 17:25:52 +00:00
|
|
|
wxBoxSizer* m_commandTypeSizer;
|
|
|
|
wxStaticText* m_commandTypeLabel;
|
|
|
|
wxChoice* m_commandType;
|
2023-07-19 15:25:57 +00:00
|
|
|
wxNotebook* m_notebook1;
|
|
|
|
wxPanel* m_panelCommand;
|
2023-07-05 17:25:52 +00:00
|
|
|
wxSimplebook* m_simPages;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxPanel* m_pgAC;
|
|
|
|
wxRadioBox* m_acScale;
|
|
|
|
wxStaticText* m_staticText1;
|
|
|
|
wxTextCtrl* m_acPointsNumber;
|
|
|
|
wxStaticText* m_staticText2;
|
|
|
|
wxTextCtrl* m_acFreqStart;
|
2018-04-23 19:01:15 +00:00
|
|
|
wxStaticText* m_staticText19;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText3;
|
|
|
|
wxTextCtrl* m_acFreqStop;
|
2018-04-23 19:01:15 +00:00
|
|
|
wxStaticText* m_staticText110;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxPanel* m_pgDC;
|
|
|
|
wxCheckBox* m_dcEnable2;
|
2021-05-04 15:01:56 +00:00
|
|
|
wxChoice* m_dcSourceType1;
|
|
|
|
wxChoice* m_dcSourceType2;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText4;
|
2021-05-04 15:01:56 +00:00
|
|
|
wxStaticText* m_staticText41;
|
|
|
|
wxStaticText* m_staticText411;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxChoice* m_dcSource1;
|
|
|
|
wxChoice* m_dcSource2;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText5;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxTextCtrl* m_dcStart1;
|
|
|
|
wxStaticText* m_src1DCStartValUnit;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxTextCtrl* m_dcStart2;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxStaticText* m_src2DCStartValUnit;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText6;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxTextCtrl* m_dcStop1;
|
|
|
|
wxStaticText* m_src1DCEndValUnit;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxTextCtrl* m_dcStop2;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxStaticText* m_src2DCEndValUnit;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText7;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxTextCtrl* m_dcIncr1;
|
|
|
|
wxStaticText* m_src1DCStepUnit;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxTextCtrl* m_dcIncr2;
|
2021-01-25 21:29:13 +00:00
|
|
|
wxStaticText* m_src2DCStepUnit;
|
|
|
|
wxButton* m_swapDCSources;
|
2023-07-05 17:25:52 +00:00
|
|
|
wxPanel* m_pgOP;
|
|
|
|
wxPanel* m_pgTRAN;
|
|
|
|
wxStaticText* m_timeLabel;
|
|
|
|
wxTextCtrl* m_transStep;
|
|
|
|
wxStaticText* m_timeUnits;
|
|
|
|
wxStaticText* m_transFinalLabel;
|
|
|
|
wxTextCtrl* m_transFinal;
|
|
|
|
wxStaticText* m_transFinalUnits;
|
|
|
|
wxStaticText* m_transInitialLabel;
|
|
|
|
wxTextCtrl* m_transInitial;
|
|
|
|
wxStaticText* m_transInitialUnits;
|
|
|
|
wxStaticText* m_transInitialHelp;
|
|
|
|
wxStaticText* m_maxStepLabel;
|
|
|
|
wxTextCtrl* m_transMaxStep;
|
|
|
|
wxStaticText* m_transMaxStepUnit;
|
|
|
|
wxStaticText* m_transMaxHelp;
|
|
|
|
wxCheckBox* m_useInitialConditions;
|
|
|
|
wxPanel* m_pgFFT;
|
|
|
|
wxStaticText* m_signalsLabel;
|
|
|
|
wxSearchCtrl* m_inputSignalsFilter;
|
|
|
|
wxCheckListBox* m_inputSignalsList;
|
|
|
|
wxCheckBox* m_linearize;
|
|
|
|
wxPanel* m_pgNOISE;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText14;
|
2023-07-03 14:45:58 +00:00
|
|
|
wxChoice* m_noiseMeas;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText15;
|
2023-07-03 14:45:58 +00:00
|
|
|
wxChoice* m_noiseRef;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText23;
|
|
|
|
wxStaticText* m_staticText16;
|
2023-07-03 14:45:58 +00:00
|
|
|
wxChoice* m_noiseSrc;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxRadioBox* m_noiseScale;
|
|
|
|
wxStaticText* m_staticText11;
|
|
|
|
wxTextCtrl* m_noisePointsNumber;
|
|
|
|
wxStaticText* m_staticText21;
|
|
|
|
wxTextCtrl* m_noiseFreqStart;
|
2023-04-14 12:00:31 +00:00
|
|
|
wxStaticText* m_noiseFreqStartUnits;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxStaticText* m_staticText31;
|
|
|
|
wxTextCtrl* m_noiseFreqStop;
|
2023-04-14 12:00:31 +00:00
|
|
|
wxStaticText* m_noiseFreqStopUnits;
|
2023-07-04 10:04:20 +00:00
|
|
|
wxCheckBox* m_saveAllNoise;
|
2023-07-05 17:25:52 +00:00
|
|
|
wxPanel* m_pgSP;
|
|
|
|
wxRadioBox* m_spScale;
|
|
|
|
wxStaticText* m_staticText12;
|
|
|
|
wxTextCtrl* m_spPointsNumber;
|
|
|
|
wxStaticText* m_staticText22;
|
|
|
|
wxTextCtrl* m_spFreqStart;
|
|
|
|
wxStaticText* m_staticText191;
|
|
|
|
wxStaticText* m_staticText32;
|
|
|
|
wxTextCtrl* m_spFreqStop;
|
|
|
|
wxStaticText* m_staticText1101;
|
|
|
|
wxCheckBox* m_spDoNoise;
|
2016-08-11 12:41:29 +00:00
|
|
|
wxPanel* m_pgCustom;
|
|
|
|
wxStaticText* m_staticText18;
|
|
|
|
wxTextCtrl* m_customTxt;
|
|
|
|
wxButton* m_loadDirectives;
|
2023-07-13 15:04:06 +00:00
|
|
|
wxPanel* m_pgPZ;
|
|
|
|
wxStaticText* m_pzFunctionTypeLabel;
|
|
|
|
wxChoice* m_pzFunctionType;
|
|
|
|
wxStaticText* m_pzInputLabel;
|
|
|
|
wxChoice* m_pzInput;
|
|
|
|
wxStaticText* m_pzInputRefLabel;
|
|
|
|
wxChoice* m_pzInputRef;
|
|
|
|
wxStaticText* m_pzOutputLabel;
|
|
|
|
wxChoice* m_pzOutput;
|
|
|
|
wxStaticText* m_pzOutputRefLabel;
|
|
|
|
wxChoice* m_pzOutputRef;
|
|
|
|
wxStaticText* m_pzAnalysesLabel;
|
|
|
|
wxChoice* m_pzAnalyses;
|
2016-08-11 12:41:36 +00:00
|
|
|
wxCheckBox* m_fixIncludePaths;
|
2023-01-14 00:17:33 +00:00
|
|
|
wxCheckBox* m_saveAllVoltages;
|
|
|
|
wxCheckBox* m_saveAllCurrents;
|
2023-02-10 20:52:52 +00:00
|
|
|
wxCheckBox* m_saveAllDissipations;
|
2023-07-14 09:21:58 +00:00
|
|
|
wxBoxSizer* m_compatibilityModeSizer;
|
|
|
|
wxChoice* m_compatibilityMode;
|
2023-07-19 15:25:57 +00:00
|
|
|
wxPanel* m_panelPlotSetup;
|
|
|
|
wxBoxSizer* m_bSizerY1;
|
|
|
|
wxCheckBox* m_lockY1;
|
|
|
|
wxStaticText* m_y1MinLabel;
|
|
|
|
wxTextCtrl* m_y1Min;
|
|
|
|
wxStaticText* m_y1MaxLabel;
|
|
|
|
wxTextCtrl* m_y1Max;
|
2023-07-20 16:20:57 +00:00
|
|
|
wxStaticText* m_y1Units;
|
2023-07-19 15:25:57 +00:00
|
|
|
wxBoxSizer* m_bSizerY2;
|
|
|
|
wxCheckBox* m_lockY2;
|
|
|
|
wxStaticText* m_y2MinLabel;
|
|
|
|
wxTextCtrl* m_y2Min;
|
|
|
|
wxStaticText* m_y2MaxLabel;
|
|
|
|
wxTextCtrl* m_y2Max;
|
2023-07-20 16:20:57 +00:00
|
|
|
wxStaticText* m_y2Units;
|
2023-07-19 15:25:57 +00:00
|
|
|
wxBoxSizer* m_bSizerY3;
|
|
|
|
wxCheckBox* m_lockY3;
|
|
|
|
wxStaticText* m_y3MinLabel;
|
|
|
|
wxTextCtrl* m_y3Min;
|
|
|
|
wxStaticText* m_y3MaxLabel;
|
|
|
|
wxTextCtrl* m_y3Max;
|
2023-07-20 16:20:57 +00:00
|
|
|
wxStaticText* m_y3Units;
|
2023-07-19 15:25:57 +00:00
|
|
|
wxCheckBox* m_grid;
|
|
|
|
wxCheckBox* m_legend;
|
|
|
|
wxCheckBox* m_dottedSecondary;
|
|
|
|
wxStaticText* m_marginsLabel;
|
|
|
|
wxStaticText* m_marginLeftLabel;
|
|
|
|
wxTextCtrl* m_marginLeft;
|
|
|
|
wxStaticText* m_marginTopLabel;
|
|
|
|
wxTextCtrl* m_marginTop;
|
|
|
|
wxStaticText* m_marginBottomLabel;
|
|
|
|
wxTextCtrl* m_marginBottom;
|
|
|
|
wxStaticText* m_marginRightLabel;
|
|
|
|
wxTextCtrl* m_marginRight;
|
2016-08-11 12:41:40 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2020-04-15 01:51:58 +00:00
|
|
|
|
2022-12-02 16:48:12 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2016-08-20 15:25:51 +00:00
|
|
|
virtual void onInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2023-07-05 17:25:52 +00:00
|
|
|
virtual void OnCommandType( wxCommandEvent& event ) { event.Skip(); }
|
2021-01-25 21:29:13 +00:00
|
|
|
virtual void onDCEnableSecondSource( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onDCSource1Selected( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onDCSource2Selected( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onSwapDCSources( wxCommandEvent& event ) { event.Skip(); }
|
2023-07-05 17:25:52 +00:00
|
|
|
virtual void OnFilterMouseMoved( wxMouseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFilterText( wxCommandEvent& event ) { event.Skip(); }
|
2016-08-11 12:41:29 +00:00
|
|
|
virtual void onLoadDirectives( wxCommandEvent& event ) { event.Skip(); }
|
2023-07-19 15:25:57 +00:00
|
|
|
virtual void OnUpdateUILockY1( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnUpdateUILockY2( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnUpdateUILockY3( wxUpdateUIEvent& event ) { event.Skip(); }
|
2020-04-15 01:51:58 +00:00
|
|
|
|
|
|
|
|
2016-08-11 12:41:29 +00:00
|
|
|
public:
|
2020-04-15 01:51:58 +00:00
|
|
|
|
2023-07-19 15:25:57 +00:00
|
|
|
DIALOG_SIM_COMMAND_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Simulation Analysis"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-12-02 16:48:12 +00:00
|
|
|
|
2022-12-11 15:49:29 +00:00
|
|
|
~DIALOG_SIM_COMMAND_BASE();
|
2020-04-15 01:51:58 +00:00
|
|
|
|
2016-08-11 12:41:29 +00:00
|
|
|
};
|
|
|
|
|