2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-10-25 11:34:30 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 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
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-11-06 19:15:42 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-05-30 10:52:19 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
2013-06-05 19:23:55 +00:00
|
|
|
#include "dialog_shim.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2018-02-28 16:54:35 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/gdicmn.h>
|
2019-11-06 19:15:42 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2017-09-12 07:43:51 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2018-02-28 16:54:35 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/checkbox.h>
|
2020-09-02 00:37:28 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2020-09-02 11:50:07 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/notebook.h>
|
2021-04-01 11:54:32 +00:00
|
|
|
#include <wx/textctrl.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-10-17 23:25:39 +00:00
|
|
|
/// Class DIALOG_SYMBOL_PROPERTIES_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-10-17 23:25:39 +00:00
|
|
|
class DIALOG_SYMBOL_PROPERTIES_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2020-09-02 11:50:07 +00:00
|
|
|
wxNotebook* m_notebook1;
|
|
|
|
wxPanel* generalPage;
|
|
|
|
WX_GRID* m_fieldsGrid;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxBitmapButton* m_bpAdd;
|
|
|
|
wxBitmapButton* m_bpMoveUp;
|
|
|
|
wxBitmapButton* m_bpMoveDown;
|
2018-08-23 13:39:52 +00:00
|
|
|
wxBitmapButton* m_bpDelete;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxStaticText* m_unitLabel;
|
|
|
|
wxChoice* m_unitChoice;
|
|
|
|
wxCheckBox* m_cbAlternateSymbol;
|
2020-09-02 00:37:28 +00:00
|
|
|
wxStaticText* m_orientationLabel;
|
|
|
|
wxChoice* m_orientationCtrl;
|
|
|
|
wxStaticText* m_mirrorLabel;
|
|
|
|
wxChoice* m_mirrorCtrl;
|
|
|
|
wxCheckBox* m_ShowPinNumButt;
|
|
|
|
wxCheckBox* m_ShowPinNameButt;
|
2020-06-03 12:30:57 +00:00
|
|
|
wxCheckBox* m_cbExcludeFromBom;
|
2020-06-09 16:50:05 +00:00
|
|
|
wxCheckBox* m_cbExcludeFromBoard;
|
2020-09-02 00:37:28 +00:00
|
|
|
wxButton* m_updateSymbolBtn;
|
|
|
|
wxButton* m_changeSymbolBtn;
|
|
|
|
wxButton* m_editSchematicSymbolBtn;
|
|
|
|
wxButton* m_editLibrarySymbolBtn;
|
2020-09-02 11:50:07 +00:00
|
|
|
wxPanel* m_pinTablePage;
|
|
|
|
WX_GRID* m_pinGrid;
|
2020-09-02 00:37:28 +00:00
|
|
|
wxStaticText* m_libraryIDLabel;
|
2021-04-01 11:54:32 +00:00
|
|
|
wxTextCtrl* m_tcLibraryID;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxButton* m_spiceFieldsButton;
|
|
|
|
wxStdDialogButtonSizer* m_stdDialogButtonSizer;
|
|
|
|
wxButton* m_stdDialogButtonSizerOK;
|
|
|
|
wxButton* m_stdDialogButtonSizerCancel;
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2021-10-25 11:34:30 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2016-07-16 11:25:07 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2018-02-28 16:54:35 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2020-10-17 23:14:17 +00:00
|
|
|
virtual void OnGridEditorShown( wxGridEvent& event ) { event.Skip(); }
|
2018-02-28 16:54:35 +00:00
|
|
|
virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
|
2018-08-23 13:39:52 +00:00
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
2021-10-25 11:34:30 +00:00
|
|
|
virtual void OnChoice( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnCheckBox( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-02 00:37:28 +00:00
|
|
|
virtual void OnUpdateSymbol( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnExchangeSymbol( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnEditSymbol( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnEditLibrarySymbol( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-02 11:50:07 +00:00
|
|
|
virtual void OnPinTableCellEdited( wxGridEvent& event ) { event.Skip(); }
|
2020-09-02 00:37:28 +00:00
|
|
|
virtual void OnEditSpiceModel( wxCommandEvent& event ) { event.Skip(); }
|
2019-01-31 19:05:11 +00:00
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2019-11-06 19:15:42 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2020-10-17 23:25:39 +00:00
|
|
|
DIALOG_SYMBOL_PROPERTIES_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_SYMBOL_PROPERTIES_BASE();
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|