kicad/eeschema/dialogs/dialog_spice_model_base.h

260 lines
7.9 KiB
C
Raw Normal View History

2016-08-11 12:41:40 +00:00
///////////////////////////////////////////////////////////////////////////
2021-10-21 12:59:55 +00:00
// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
2016-08-11 12:41:40 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
2016-08-11 12:41:40 +00:00
///////////////////////////////////////////////////////////////////////////
#pragma once
2016-08-11 12:41:40 +00:00
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include "dialog_shim.h"
2016-08-11 12:41:40 +00:00
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/combobox.h>
#include <wx/textctrl.h>
#include <wx/sizer.h>
#include <wx/statline.h>
2016-08-11 12:41:40 +00:00
#include <wx/panel.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/button.h>
#include <wx/stc/stc.h>
#include <wx/statbox.h>
2016-08-11 12:41:40 +00:00
#include <wx/listctrl.h>
#include <wx/choice.h>
2016-08-11 12:41:40 +00:00
#include <wx/notebook.h>
#include <wx/radiobox.h>
#include <wx/checkbox.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_SPICE_MODEL_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_SPICE_MODEL_BASE : public DIALOG_SHIM
2016-08-11 12:41:40 +00:00
{
private:
2016-08-11 12:41:40 +00:00
protected:
wxNotebook* m_notebook;
wxPanel* m_passive;
wxStaticText* m_staticTextPtype;
2016-08-11 12:41:40 +00:00
wxComboBox* m_pasType;
wxStaticText* m_staticText62;
wxStaticText* m_staticTextPvalue;
2016-08-11 12:41:40 +00:00
wxTextCtrl* m_pasValue;
wxStaticText* m_staticTextSpVal;
wxStaticLine* m_staticline1;
wxStaticText* m_staticText32;
wxStaticText* m_staticText321;
wxStaticText* m_staticTextF1;
wxStaticText* m_staticTextF2;
wxStaticText* m_staticTextF3;
wxStaticText* m_staticTextP1;
wxStaticText* m_staticTextP2;
wxStaticText* m_staticTextP3;
wxStaticText* m_staticTextN1;
wxStaticText* m_staticTextN2;
wxStaticText* m_staticTextN3;
wxStaticText* m_staticTextU1;
wxStaticText* m_staticTextU2;
wxStaticText* m_staticTextU3;
wxStaticText* m_staticTextM1;
wxStaticText* m_staticTextM2;
wxStaticText* m_staticTextM3;
wxStaticText* m_staticTextK1;
wxStaticText* m_staticTextK2;
wxStaticText* m_staticTextK3;
wxStaticText* m_staticTextMeg1;
wxStaticText* m_staticTextMeg2;
wxStaticText* m_staticTextMeg3;
wxStaticText* m_staticTextG1;
wxStaticText* m_staticTextG2;
wxStaticText* m_staticTextG3;
wxStaticText* m_staticTextT1;
wxStaticText* m_staticTextT2;
wxStaticText* m_staticTextT3;
wxPanel* m_model;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText7;
wxTextCtrl* m_modelLibrary;
wxButton* m_selectLibrary;
wxStaticText* m_staticText5;
wxComboBox* m_modelName;
wxStaticText* m_staticText4;
wxComboBox* m_modelType;
wxStaticText* m_staticTextNote;
wxStaticText* m_stInfoNote;
wxStyledTextCtrl* m_libraryContents;
2016-08-11 12:41:40 +00:00
wxPanel* m_power;
wxStaticText* m_staticText10;
wxTextCtrl* m_genDc;
wxStaticText* m_staticText113;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText11;
wxTextCtrl* m_genAcMag;
wxStaticText* m_staticText111;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText12;
wxTextCtrl* m_genAcPhase;
wxStaticText* m_staticText112;
wxNotebook* m_powerNotebook;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrPulse;
wxStaticText* m_staticText13;
wxTextCtrl* m_pulseInit;
wxStaticText* m_staticText131;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText14;
wxTextCtrl* m_pulseNominal;
wxStaticText* m_staticText132;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText15;
wxTextCtrl* m_pulseDelay;
wxStaticText* m_staticText133;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText16;
wxTextCtrl* m_pulseRise;
wxStaticText* m_staticText134;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText17;
wxTextCtrl* m_pulseFall;
wxStaticText* m_staticText135;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText18;
wxTextCtrl* m_pulseWidth;
wxStaticText* m_staticText136;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText20;
wxTextCtrl* m_pulsePeriod;
wxStaticText* m_staticText137;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrSin;
wxStaticText* m_staticText21;
wxTextCtrl* m_sinOffset;
wxStaticText* m_staticText211;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText22;
wxTextCtrl* m_sinAmplitude;
wxStaticText* m_staticText212;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText23;
wxTextCtrl* m_sinFreq;
wxStaticText* m_staticText213;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText24;
wxTextCtrl* m_sinDelay;
wxStaticText* m_staticText214;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText25;
wxTextCtrl* m_sinDampFactor;
wxStaticText* m_staticText215;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrExp;
wxStaticText* m_staticText26;
wxTextCtrl* m_expInit;
wxStaticText* m_staticText261;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText27;
wxTextCtrl* m_expPulsed;
wxStaticText* m_staticText262;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText28;
wxTextCtrl* m_expRiseDelay;
wxStaticText* m_staticText263;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText29;
wxTextCtrl* m_expRiseConst;
wxStaticText* m_staticText264;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText30;
wxTextCtrl* m_expFallDelay;
wxStaticText* m_staticText265;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText31;
wxTextCtrl* m_expFallConst;
wxStaticText* m_staticText266;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrPwl;
wxStaticText* m_staticText34;
wxTextCtrl* m_pwlTime;
wxStaticText* m_staticText342;
2016-08-11 12:41:40 +00:00
wxStaticText* m_staticText35;
wxTextCtrl* m_pwlValue;
wxStaticText* m_staticText343;
2016-08-11 12:41:40 +00:00
wxButton* m_pwlAddButton;
wxListCtrl* m_pwlValList;
wxButton* m_pwlRemoveBtn;
wxPanel* m_pwrFm;
wxStaticText* m_staticText138;
wxTextCtrl* m_fmOffset;
wxStaticText* m_staticText1311;
wxStaticText* m_staticText141;
wxTextCtrl* m_fmAmplitude;
wxStaticText* m_staticText1321;
wxStaticText* m_staticText151;
wxTextCtrl* m_fmFcarrier;
wxStaticText* m_staticText1331;
wxStaticText* m_staticText161;
wxTextCtrl* m_fmModIndex;
wxStaticText* m_staticText1341;
wxStaticText* m_staticText171;
wxTextCtrl* m_fmFsignal;
wxStaticText* m_staticText1351;
wxStaticText* m_staticText181;
wxTextCtrl* m_fmPhaseC;
wxStaticText* m_staticText1361;
wxStaticText* m_staticText201;
wxTextCtrl* m_fmPhaseS;
wxStaticText* m_staticText1371;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrAm;
wxStaticText* m_staticText1381;
wxTextCtrl* m_amAmplitude;
wxStaticText* m_staticText13111;
wxStaticText* m_staticText1411;
wxTextCtrl* m_amOffset;
wxStaticText* m_staticText13211;
wxStaticText* m_staticText1511;
wxTextCtrl* m_amModulatingFreq;
wxStaticText* m_staticText13311;
wxStaticText* m_staticText1611;
wxTextCtrl* m_amCarrierFreq;
wxStaticText* m_staticText13411;
wxStaticText* m_staticText1711;
wxTextCtrl* m_amSignalDelay;
wxStaticText* m_staticText13511;
wxStaticText* m_staticText1811;
wxTextCtrl* m_amPhase;
wxStaticText* m_staticText13611;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrTransNoise;
wxPanel* m_pwrRandom;
wxStaticText* m_staticText27111;
wxChoice* m_rnType;
wxStaticText* m_staticText26711;
wxTextCtrl* m_rnTS;
wxStaticText* m_staticText262111;
wxStaticText* m_staticText28111;
wxTextCtrl* m_rnTD;
wxStaticText* m_staticText263111;
wxStaticText* m_rnParam1Text;
wxTextCtrl* m_rnParam1;
wxStaticText* m_rnParam2Text;
wxTextCtrl* m_rnParam2;
2016-08-11 12:41:40 +00:00
wxPanel* m_pwrExtData;
wxRadioBox* m_pwrType;
wxStaticLine* m_staticline2;
2016-08-11 12:41:40 +00:00
wxCheckBox* m_disabled;
wxCheckBox* m_nodeSeqCheck;
wxTextCtrl* m_nodeSeqVal;
wxStaticLine* m_staticline3;
2016-08-11 12:41:40 +00:00
wxStdDialogButtonSizer* m_sdbSizer;
wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel;
2021-10-21 12:59:55 +00:00
// Virtual event handlers, override them in your derived class
virtual void onInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
virtual void onSelectLibrary( wxCommandEvent& event ) { event.Skip(); }
virtual void onModelSelected( wxCommandEvent& event ) { event.Skip(); }
virtual void onTypeSelected( wxCommandEvent& event ) { event.Skip(); }
2016-08-11 12:41:40 +00:00
virtual void onPwlAdd( wxCommandEvent& event ) { event.Skip(); }
virtual void onPwlRemove( wxCommandEvent& event ) { event.Skip(); }
virtual void onRandomSourceType( wxCommandEvent& event ) { event.Skip(); }
2016-08-11 12:41:40 +00:00
public:
2021-10-21 12:59:55 +00:00
DIALOG_SPICE_MODEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Spice Model Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
2016-08-11 12:41:40 +00:00
~DIALOG_SPICE_MODEL_BASE();
2016-08-11 12:41:40 +00:00
};