KiCad PCB EDA Suite
dialog_edit_component_in_lib_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_EDIT_COMPONENT_IN_LIB_BASE_H__
9 #define __DIALOG_EDIT_COMPONENT_IN_LIB_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 class WX_GRID;
15 
16 #include "dialog_shim.h"
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/string.h>
20 #include <wx/font.h>
21 #include <wx/grid.h>
22 #include <wx/gdicmn.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/bmpbuttn.h>
27 #include <wx/button.h>
28 #include <wx/sizer.h>
29 #include <wx/statbox.h>
30 #include <wx/stattext.h>
31 #include <wx/textctrl.h>
32 #include <wx/checkbox.h>
33 #include <wx/spinctrl.h>
34 #include <wx/panel.h>
35 #include <wx/listbox.h>
36 #include <wx/notebook.h>
37 #include <wx/dialog.h>
38 
40 
41 #define ID_LIBEDIT_NOTEBOOK 1000
42 
47 {
48  private:
49 
50  protected:
51  wxNotebook* m_NoteBook;
52  wxPanel* m_PanelBasic;
54  wxBitmapButton* m_bpAdd;
55  wxBitmapButton* m_bpMoveUp;
56  wxBitmapButton* m_bpMoveDown;
57  wxBitmapButton* m_bpDelete;
58  wxTextCtrl* m_SymbolNameCtrl;
59  wxTextCtrl* m_DescCtrl;
60  wxStaticText* staticKeywordsLabel;
61  wxTextCtrl* m_KeywordCtrl;
62  wxCheckBox* m_AsConvertButt;
63  wxCheckBox* m_OptionPower;
64  wxStaticText* m_staticTextNbUnits;
65  wxSpinCtrl* m_SelNumberOfUnits;
66  wxCheckBox* m_OptionPartsLocked;
67  wxCheckBox* m_ShowPinNumButt;
68  wxCheckBox* m_ShowPinNameButt;
69  wxCheckBox* m_PinsNameInsideButt;
70  wxStaticText* m_nameOffsetLabel;
71  wxTextCtrl* m_nameOffsetCtrl;
72  wxStaticText* m_nameOffsetUnits;
73  wxPanel* m_PanelAlias;
74  wxListBox* m_aliasListBox;
75  wxBitmapButton* m_addAliasButton;
76  wxBitmapButton* m_deleteAliasButton;
77  wxStaticText* m_staticText12;
79  wxTextCtrl* m_AliasNameCtrl;
80  wxTextCtrl* m_AliasDescCtrl;
81  wxStaticText* staticAliasKeywordsLabel;
82  wxTextCtrl* m_AliasKeywordsCtrl;
84  wxStaticText* m_staticTextFootprints;
86  wxBitmapButton* m_addFilterButton;
87  wxBitmapButton* m_editFilterButton;
88  wxBitmapButton* m_deleteFilterButton;
89  wxStdDialogButtonSizer* m_stdSizerButton;
90  wxButton* m_stdSizerButtonOK;
92 
93  // Virtual event handlers, overide them in your derived class
94  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
95  virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
96  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
97  virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
98  virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
99  virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
100  virtual void OnSymbolNameKillFocus( wxFocusEvent& event ) { event.Skip(); }
101  virtual void OnSymbolNameText( wxCommandEvent& event ) { event.Skip(); }
102  virtual void OnSelectAlias( wxCommandEvent& event ) { event.Skip(); }
103  virtual void OnAddAlias( wxCommandEvent& event ) { event.Skip(); }
104  virtual void OnDeleteAlias( wxCommandEvent& event ) { event.Skip(); }
105  virtual void OnSizeAliasGrid( wxSizeEvent& event ) { event.Skip(); }
106  virtual void OnAliasNameKillFocus( wxFocusEvent& event ) { event.Skip(); }
107  virtual void OnAliasNameText( wxCommandEvent& event ) { event.Skip(); }
108  virtual void OnAddFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
109  virtual void OnEditFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
110  virtual void OnDeleteFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
111 
112 
113  public:
114 
115  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 );
117 
118 };
119 
120 #endif //__DIALOG_EDIT_COMPONENT_IN_LIB_BASE_H__
virtual void OnAddField(wxCommandEvent &event)
virtual void OnAliasNameKillFocus(wxFocusEvent &event)
virtual void OnDeleteField(wxCommandEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:53
virtual void OnSelectAlias(wxCommandEvent &event)
virtual void OnDeleteFootprintFilter(wxCommandEvent &event)
virtual void OnMoveDown(wxCommandEvent &event)
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)
virtual void OnAliasNameText(wxCommandEvent &event)
virtual void OnDeleteAlias(wxCommandEvent &event)
virtual void OnSymbolNameKillFocus(wxFocusEvent &event)
#define ID_LIBEDIT_NOTEBOOK
virtual void OnEditFootprintFilter(wxCommandEvent &event)
virtual void OnSymbolNameText(wxCommandEvent &event)
virtual void OnUpdateUI(wxUpdateUIEvent &event)
Class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE.
virtual void OnAddFootprintFilter(wxCommandEvent &event)