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 Jul 17 2016)
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 DIALOG_SHIM;
15 
16 #include "dialog_shim.h"
17 #include <wx/string.h>
18 #include <wx/checkbox.h>
19 #include <wx/gdicmn.h>
20 #include <wx/font.h>
21 #include <wx/colour.h>
22 #include <wx/settings.h>
23 #include <wx/sizer.h>
24 #include <wx/statbox.h>
25 #include <wx/statline.h>
26 #include <wx/stattext.h>
27 #include <wx/spinctrl.h>
28 #include <wx/panel.h>
29 #include <wx/bitmap.h>
30 #include <wx/image.h>
31 #include <wx/icon.h>
32 #include <wx/textctrl.h>
33 #include <wx/button.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 #define ID_COPY_DOC_TO_ALIAS 1001
42 #define ID_BROWSE_DOC_FILES 1002
43 #define ID_ADD_ALIAS 1003
44 #define ID_DELETE_ONE_ALIAS 1004
45 #define ID_DELETE_ALL_ALIAS 1005
46 #define ID_ADD_FOOTPRINT_FILTER 1006
47 #define ID_DELETE_ONE_FOOTPRINT_FILTER 1007
48 #define ID_DELETE_ALL_FOOTPRINT_FILTER 1008
49 
54 {
55  private:
56 
57  protected:
58  wxNotebook* m_NoteBook;
59  wxPanel* m_PanelBasic;
60  wxCheckBox* m_AsConvertButt;
61  wxCheckBox* m_ShowPinNumButt;
62  wxCheckBox* m_ShowPinNameButt;
63  wxCheckBox* m_PinsNameInsideButt;
64  wxStaticLine* m_staticline3;
65  wxStaticText* m_staticTextNbUnits;
66  wxSpinCtrl* m_SelNumberOfUnits;
67  wxStaticText* m_staticTextskew;
68  wxSpinCtrl* m_SetSkew;
69  wxStaticLine* m_staticline1;
70  wxCheckBox* m_OptionPower;
71  wxCheckBox* m_OptionPartsLocked;
72  wxPanel* m_PanelDoc;
73  wxStaticText* m_staticTextDescription;
74  wxTextCtrl* m_DocCtrl;
75  wxStaticText* m_staticTextKeywords;
76  wxTextCtrl* m_KeywordsCtrl;
77  wxStaticText* m_staticTextDocFileName;
78  wxTextCtrl* m_DocfileCtrl;
79  wxButton* m_ButtonCopyDoc;
81  wxPanel* m_PanelAlias;
82  wxStaticText* m_staticTextAlias;
83  wxListBox* m_PartAliasListCtrl;
84  wxButton* m_ButtonAddeAlias;
88  wxStaticText* m_staticTextFootprints;
90  wxButton* m_buttonAddFpF;
94  wxStdDialogButtonSizer* m_stdSizerButton;
95  wxButton* m_stdSizerButtonOK;
97 
98  // Virtual event handlers, overide them in your derived class
99  virtual void OnUpdateInterchangeableUnits( wxUpdateUIEvent& event ) { event.Skip(); }
100  virtual void CopyDocFromRootToAlias( wxCommandEvent& event ) { event.Skip(); }
101  virtual void BrowseAndSelectDocFile( wxCommandEvent& event ) { event.Skip(); }
102  virtual void AddAliasOfPart( wxCommandEvent& event ) { event.Skip(); }
103  virtual void DeleteAliasOfPart( wxCommandEvent& event ) { event.Skip(); }
104  virtual void DeleteAllAliasOfPart( wxCommandEvent& event ) { event.Skip(); }
105  virtual void AddFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
106  virtual void EditOneFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
107  virtual void DeleteOneFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
108  virtual void DeleteAllFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
109  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
110  virtual void OnOkClick( 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 Component 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 DeleteAllFootprintFilter(wxCommandEvent &event)
virtual void EditOneFootprintFilter(wxCommandEvent &event)
virtual void AddAliasOfPart(wxCommandEvent &event)
virtual void DeleteAliasOfPart(wxCommandEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE(wxWindow *parent, wxWindowID id=ID_LIBEDIT_NOTEBOOK, const wxString &title=_("Library Component Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnUpdateInterchangeableUnits(wxUpdateUIEvent &event)
virtual void AddFootprintFilter(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
virtual void DeleteOneFootprintFilter(wxCommandEvent &event)
virtual void DeleteAllAliasOfPart(wxCommandEvent &event)
#define ID_LIBEDIT_NOTEBOOK
virtual void CopyDocFromRootToAlias(wxCommandEvent &event)
Class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE.
virtual void BrowseAndSelectDocFile(wxCommandEvent &event)