2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-04-23 18:36:43 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Apr 19 2018)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-24 15:04:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-03-18 21:37:27 +00:00
|
|
|
#ifndef __DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE_H__
|
|
|
|
#define __DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE_H__
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2013-06-05 19:23:55 +00:00
|
|
|
#include "dialog_shim.h"
|
2013-05-26 04:36:44 +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/choice.h>
|
|
|
|
#include <wx/sizer.h>
|
2013-12-14 19:03:38 +00:00
|
|
|
#include <wx/radiobox.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/checkbox.h>
|
2014-09-17 16:04:04 +00:00
|
|
|
#include <wx/textctrl.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/statbox.h>
|
2014-09-17 16:04:04 +00:00
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/listctrl.h>
|
2017-09-12 07:43:51 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-03-18 21:37:27 +00:00
|
|
|
/// Class DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-03-18 21:37:27 +00:00
|
|
|
class DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2017-03-30 11:22:05 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextUnit;
|
|
|
|
wxChoice* unitChoice;
|
2013-12-14 19:03:38 +00:00
|
|
|
wxStaticText* unitsInterchageableText;
|
|
|
|
wxStaticText* unitsInterchageableLabel;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxRadioBox* orientationRadioBox;
|
|
|
|
wxRadioBox* mirrorRadioBox;
|
|
|
|
wxCheckBox* convertCheckBox;
|
2014-09-17 16:04:04 +00:00
|
|
|
wxTextCtrl* chipnameTextCtrl;
|
|
|
|
wxButton* m_buttonTestChipName;
|
|
|
|
wxButton* m_buttonSelectChipName;
|
2013-12-14 19:03:38 +00:00
|
|
|
wxStaticText* m_staticTextTimeStamp;
|
|
|
|
wxTextCtrl* m_textCtrlTimeStamp;
|
2014-09-17 16:04:04 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2016-08-11 12:41:10 +00:00
|
|
|
wxButton* spiceFieldsButton;
|
2017-08-25 11:37:21 +00:00
|
|
|
wxButton* resetFieldsStyleButton;
|
|
|
|
wxButton* updateFieldValues;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxListCtrl* fieldListCtrl;
|
2017-09-12 07:43:51 +00:00
|
|
|
wxBitmapButton* moveUpButton;
|
|
|
|
wxBitmapButton* moveDownButton;
|
|
|
|
wxBitmapButton* deleteFieldButton;
|
|
|
|
wxBitmapButton* addFieldButton;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxRadioBox* m_FieldHJustifyCtrl;
|
|
|
|
wxRadioBox* m_FieldVJustifyCtrl;
|
|
|
|
wxCheckBox* showCheckBox;
|
|
|
|
wxCheckBox* rotateCheckBox;
|
|
|
|
wxRadioBox* m_StyleRadioBox;
|
|
|
|
wxStaticText* fieldNameLabel;
|
|
|
|
wxTextCtrl* fieldNameTextCtrl;
|
|
|
|
wxStaticText* fieldValueLabel;
|
|
|
|
wxTextCtrl* fieldValueTextCtrl;
|
2013-08-08 16:12:41 +00:00
|
|
|
wxButton* m_show_datasheet_button;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* textSizeLabel;
|
|
|
|
wxTextCtrl* textSizeTextCtrl;
|
|
|
|
wxStaticText* m_staticTextUnitSize;
|
|
|
|
wxStaticText* posXLabel;
|
|
|
|
wxTextCtrl* posXTextCtrl;
|
|
|
|
wxStaticText* m_staticTextUnitPosX;
|
|
|
|
wxStaticText* posYLabel;
|
|
|
|
wxTextCtrl* posYTextCtrl;
|
|
|
|
wxStaticText* m_staticTextUnitPosY;
|
|
|
|
wxStdDialogButtonSizer* stdDialogButtonSizer;
|
|
|
|
wxButton* stdDialogButtonSizerOK;
|
|
|
|
wxButton* stdDialogButtonSizerCancel;
|
2017-03-30 11:22:05 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2014-09-15 11:59:40 +00:00
|
|
|
virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
|
2016-07-16 11:25:07 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2014-09-17 16:04:04 +00:00
|
|
|
virtual void OnTestChipName( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSelectChipName( wxCommandEvent& event ) { event.Skip(); }
|
2016-08-11 12:41:40 +00:00
|
|
|
virtual void EditSpiceModel( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void SetInitCmp( wxCommandEvent& event ) { event.Skip(); }
|
2017-08-25 11:37:21 +00:00
|
|
|
virtual void UpdateFields( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnListItemDeselected( wxListEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
|
2018-03-05 00:06:12 +00:00
|
|
|
virtual void OnSizeFieldsList( wxSizeEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void moveUpButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
2017-09-12 07:43:51 +00:00
|
|
|
virtual void moveDownButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void deleteFieldButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void addFieldButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
2013-08-08 16:12:41 +00:00
|
|
|
virtual void showButtonHandler( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2017-03-30 11:22:05 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2017-03-30 11:22:05 +00:00
|
|
|
|
2018-03-18 21:37:27 +00:00
|
|
|
DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Symbol Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
|
|
|
~DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE();
|
2017-03-30 11:22:05 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|
2018-03-18 21:37:27 +00:00
|
|
|
#endif //__DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE_H__
|