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 Jan 17 2019)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #pragma once
9 
10 #include <wx/artprov.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/intl.h>
13 class WX_GRID;
14 
15 #include "dialog_shim.h"
16 #include <wx/colour.h>
17 #include <wx/settings.h>
18 #include <wx/string.h>
19 #include <wx/font.h>
20 #include <wx/grid.h>
21 #include <wx/gdicmn.h>
22 #include <wx/bmpbuttn.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/button.h>
27 #include <wx/sizer.h>
28 #include <wx/statbox.h>
29 #include <wx/stattext.h>
30 #include <wx/textctrl.h>
31 #include <wx/checkbox.h>
32 #include <wx/spinctrl.h>
33 #include <wx/panel.h>
34 #include <wx/listbox.h>
35 #include <wx/notebook.h>
36 #include <wx/dialog.h>
37 
39 
40 #define ID_LIBEDIT_NOTEBOOK 1000
41 
46 {
47  private:
48 
49  protected:
50  wxNotebook* m_NoteBook;
51  wxPanel* m_PanelBasic;
53  wxBitmapButton* m_bpAdd;
54  wxBitmapButton* m_bpMoveUp;
55  wxBitmapButton* m_bpMoveDown;
56  wxBitmapButton* m_bpDelete;
57  wxTextCtrl* m_SymbolNameCtrl;
58  wxTextCtrl* m_DescCtrl;
59  wxStaticText* staticKeywordsLabel;
60  wxTextCtrl* m_KeywordCtrl;
61  wxCheckBox* m_AsConvertButt;
62  wxCheckBox* m_OptionPower;
63  wxStaticText* m_staticTextNbUnits;
64  wxSpinCtrl* m_SelNumberOfUnits;
65  wxCheckBox* m_OptionPartsLocked;
66  wxCheckBox* m_ShowPinNumButt;
67  wxCheckBox* m_ShowPinNameButt;
68  wxCheckBox* m_PinsNameInsideButt;
69  wxStaticText* m_nameOffsetLabel;
70  wxTextCtrl* m_nameOffsetCtrl;
71  wxStaticText* m_nameOffsetUnits;
72  wxPanel* m_PanelAlias;
73  wxListBox* m_aliasListBox;
74  wxBitmapButton* m_addAliasButton;
75  wxBitmapButton* m_deleteAliasButton;
76  wxStaticText* m_staticText12;
78  wxTextCtrl* m_AliasNameCtrl;
79  wxTextCtrl* m_AliasDescCtrl;
80  wxStaticText* staticAliasKeywordsLabel;
81  wxTextCtrl* m_AliasKeywordsCtrl;
83  wxStaticText* m_staticTextFootprints;
85  wxBitmapButton* m_addFilterButton;
86  wxBitmapButton* m_editFilterButton;
87  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 OnFilterDClick( wxMouseEvent& event ) { event.Skip(); }
109  virtual void OnEditFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
110  virtual void OnAddFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
111  virtual void OnDeleteFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
112  virtual void OnEditSpiceModel( wxCommandEvent& event ) { event.Skip(); }
113 
114 
115  public:
116 
117  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 );
119 
120 };
121 
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:83
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 OnEditSpiceModel(wxCommandEvent &event)
virtual void OnAddFootprintFilter(wxCommandEvent &event)