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 3.9.0 Jun 3 2020)
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/combobox.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  wxBoxSizer* bButtonSize;
55  wxBitmapButton* m_bpAdd;
56  wxBitmapButton* m_bpMoveUp;
57  wxBitmapButton* m_bpMoveDown;
58  wxBitmapButton* m_bpDelete;
59  wxTextCtrl* m_SymbolNameCtrl;
60  wxTextCtrl* m_DescCtrl;
61  wxStaticText* staticKeywordsLabel;
62  wxTextCtrl* m_KeywordCtrl;
63  wxStaticText* m_inheritsStaticText;
65  wxBoxSizer* bSizerLowerBasicPanel;
66  wxCheckBox* m_AsConvertButt;
67  wxCheckBox* m_OptionPower;
70  wxStaticText* m_staticTextNbUnits;
71  wxSpinCtrl* m_SelNumberOfUnits;
72  wxCheckBox* m_OptionPartsLocked;
73  wxCheckBox* m_ShowPinNumButt;
74  wxCheckBox* m_ShowPinNameButt;
75  wxCheckBox* m_PinsNameInsideButt;
76  wxStaticText* m_nameOffsetLabel;
77  wxTextCtrl* m_nameOffsetCtrl;
78  wxStaticText* m_nameOffsetUnits;
80  wxStaticText* m_staticTextFootprints;
82  wxBitmapButton* m_addFilterButton;
83  wxBitmapButton* m_editFilterButton;
84  wxBitmapButton* m_deleteFilterButton;
86  wxStdDialogButtonSizer* m_stdSizerButton;
87  wxButton* m_stdSizerButtonOK;
89 
90  // Virtual event handlers, overide them in your derived class
91  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
92  virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
93  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
94  virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
95  virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
96  virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
97  virtual void OnSymbolNameKillFocus( wxFocusEvent& event ) { event.Skip(); }
98  virtual void OnSymbolNameText( wxCommandEvent& event ) { event.Skip(); }
99  virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
100  virtual void OnFilterDClick( wxMouseEvent& event ) { event.Skip(); }
101  virtual void OnEditFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
102  virtual void OnAddFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
103  virtual void OnDeleteFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
104  virtual void OnEditSpiceModel( wxCommandEvent& event ) { event.Skip(); }
105  virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
106 
107 
108  public:
109 
110  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 );
112 
113 };
114 
virtual void OnAddField(wxCommandEvent &event)
virtual void OnDeleteField(wxCommandEvent &event)
virtual void onPowerCheckBox(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
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 OnCancelButtonClick(wxCommandEvent &event)
virtual void OnSymbolNameKillFocus(wxFocusEvent &event)
#define ID_LIBEDIT_NOTEBOOK
virtual void OnEditFootprintFilter(wxCommandEvent &event)
#define _(s)
Definition: 3d_actions.cpp:33
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)