2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2019-02-20 22:57:39 +00:00
// C++ code generated with wxFormBuilder (version Nov 10 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-01-10 05:42:14 +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-08-13 17:00:08 +00:00
class WX_GRID ;
2013-05-26 04:36:44 +00:00
# include "dialog_shim.h"
# include <wx/colour.h>
# include <wx/settings.h>
2018-08-13 17:00:08 +00:00
# include <wx/string.h>
# include <wx/font.h>
# include <wx/grid.h>
# include <wx/gdicmn.h>
2019-01-10 05:42:14 +00:00
# include <wx/bmpbuttn.h>
2018-08-13 17:00:08 +00:00
# include <wx/bitmap.h>
# include <wx/image.h>
# include <wx/icon.h>
# include <wx/button.h>
2013-05-26 04:36:44 +00:00
# include <wx/sizer.h>
# include <wx/statbox.h>
# include <wx/stattext.h>
2018-08-13 17:00:08 +00:00
# include <wx/textctrl.h>
# include <wx/checkbox.h>
2013-05-26 04:36:44 +00:00
# include <wx/spinctrl.h>
# include <wx/panel.h>
# include <wx/listbox.h>
# include <wx/notebook.h>
# include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
# define ID_LIBEDIT_NOTEBOOK 1000
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE : public DIALOG_SHIM
{
private :
2019-01-10 05:42:14 +00:00
2013-05-26 04:36:44 +00:00
protected :
wxNotebook * m_NoteBook ;
wxPanel * m_PanelBasic ;
2018-08-13 17:00:08 +00:00
WX_GRID * m_grid ;
wxBitmapButton * m_bpAdd ;
wxBitmapButton * m_bpMoveUp ;
wxBitmapButton * m_bpMoveDown ;
2018-08-19 16:05:48 +00:00
wxBitmapButton * m_bpDelete ;
2018-08-13 17:00:08 +00:00
wxTextCtrl * m_SymbolNameCtrl ;
wxTextCtrl * m_DescCtrl ;
wxStaticText * staticKeywordsLabel ;
wxTextCtrl * m_KeywordCtrl ;
2013-05-26 04:36:44 +00:00
wxCheckBox * m_AsConvertButt ;
2018-08-13 17:00:08 +00:00
wxCheckBox * m_OptionPower ;
2013-05-26 04:36:44 +00:00
wxStaticText * m_staticTextNbUnits ;
wxSpinCtrl * m_SelNumberOfUnits ;
wxCheckBox * m_OptionPartsLocked ;
2018-08-13 17:00:08 +00:00
wxCheckBox * m_ShowPinNumButt ;
wxCheckBox * m_ShowPinNameButt ;
wxCheckBox * m_PinsNameInsideButt ;
wxStaticText * m_nameOffsetLabel ;
wxTextCtrl * m_nameOffsetCtrl ;
wxStaticText * m_nameOffsetUnits ;
2013-05-26 04:36:44 +00:00
wxPanel * m_PanelAlias ;
2018-08-13 17:00:08 +00:00
wxListBox * m_aliasListBox ;
wxBitmapButton * m_addAliasButton ;
wxBitmapButton * m_deleteAliasButton ;
wxStaticText * m_staticText12 ;
WX_GRID * m_aliasGrid ;
wxTextCtrl * m_AliasNameCtrl ;
wxTextCtrl * m_AliasDescCtrl ;
wxStaticText * staticAliasKeywordsLabel ;
wxTextCtrl * m_AliasKeywordsCtrl ;
2013-05-26 04:36:44 +00:00
wxPanel * m_PanelFootprintFilter ;
wxStaticText * m_staticTextFootprints ;
wxListBox * m_FootprintFilterListBox ;
2018-08-13 17:00:08 +00:00
wxBitmapButton * m_addFilterButton ;
wxBitmapButton * m_editFilterButton ;
wxBitmapButton * m_deleteFilterButton ;
2019-01-10 05:42:14 +00:00
wxButton * m_spiceFieldsButton ;
2013-05-26 04:36:44 +00:00
wxStdDialogButtonSizer * m_stdSizerButton ;
wxButton * m_stdSizerButtonOK ;
wxButton * m_stdSizerButtonCancel ;
2019-01-10 05:42:14 +00:00
2013-05-26 04:36:44 +00:00
// Virtual event handlers, overide them in your derived class
2018-08-13 17:00:08 +00:00
virtual void OnUpdateUI ( wxUpdateUIEvent & event ) { event . Skip ( ) ; }
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-19 16:05:48 +00:00
virtual void OnDeleteField ( wxCommandEvent & event ) { event . Skip ( ) ; }
2018-09-13 15:39:14 +00:00
virtual void OnSymbolNameKillFocus ( wxFocusEvent & event ) { event . Skip ( ) ; }
virtual void OnSymbolNameText ( wxCommandEvent & event ) { event . Skip ( ) ; }
2018-08-13 17:00:08 +00:00
virtual void OnSelectAlias ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void OnAddAlias ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void OnDeleteAlias ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void OnSizeAliasGrid ( wxSizeEvent & event ) { event . Skip ( ) ; }
virtual void OnAliasNameKillFocus ( wxFocusEvent & event ) { event . Skip ( ) ; }
virtual void OnAliasNameText ( wxCommandEvent & event ) { event . Skip ( ) ; }
2019-02-16 00:51:16 +00:00
virtual void OnFilterDClick ( wxMouseEvent & event ) { event . Skip ( ) ; }
2018-08-13 17:00:08 +00:00
virtual void OnEditFootprintFilter ( wxCommandEvent & event ) { event . Skip ( ) ; }
2019-02-16 00:51:16 +00:00
virtual void OnAddFootprintFilter ( wxCommandEvent & event ) { event . Skip ( ) ; }
2018-08-13 17:00:08 +00:00
virtual void OnDeleteFootprintFilter ( wxCommandEvent & event ) { event . Skip ( ) ; }
2019-01-10 05:42:14 +00:00
virtual void OnEditSpiceModel ( wxCommandEvent & event ) { event . Skip ( ) ; }
2019-02-20 22:57:39 +00:00
virtual void OnCancelButtonClick ( wxCommandEvent & event ) { event . Skip ( ) ; }
2019-01-10 05:42:14 +00:00
2013-05-26 04:36:44 +00:00
public :
2019-01-10 05:42:14 +00:00
DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE ( wxWindow * parent , wxWindowID id = ID_LIBEDIT_NOTEBOOK , const wxString & title = _ ( " Library Symbol Properties " ) , const wxPoint & pos = wxDefaultPosition , const wxSize & size = wxSize ( - 1 , - 1 ) , long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER ) ;
2013-05-26 04:36:44 +00:00
~ DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE ( ) ;
2019-01-10 05:42:14 +00:00
2013-05-26 04:36:44 +00:00
} ;