KiCad PCB EDA Suite
dialog_edit_component_in_lib_base.cpp
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 
9 
11 
12 DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13 {
14  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15 
16  wxBoxSizer* bMainSizer;
17  bMainSizer = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* bUpperSizer;
20  bUpperSizer = new wxBoxSizer( wxVERTICAL );
21 
22  m_NoteBook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0|wxTAB_TRAVERSAL );
23  m_PanelBasic = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
24  wxBoxSizer* bSizerBasicPanel;
25  bSizerBasicPanel = new wxBoxSizer( wxVERTICAL );
26 
27  wxStaticBoxSizer* m_OptionsBoxSizer;
28  m_OptionsBoxSizer = new wxStaticBoxSizer( new wxStaticBox( m_PanelBasic, wxID_ANY, _("General") ), wxVERTICAL );
29 
30  m_AsConvertButt = new wxCheckBox( m_OptionsBoxSizer->GetStaticBox(), wxID_ANY, _("Has alternate symbol (DeMorgan)"), wxDefaultPosition, wxDefaultSize, 0 );
31  m_AsConvertButt->SetToolTip( _("Check this option if the component has an alternate body style (De Morgan)") );
32 
33  m_OptionsBoxSizer->Add( m_AsConvertButt, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
34 
35  m_ShowPinNumButt = new wxCheckBox( m_OptionsBoxSizer->GetStaticBox(), wxID_ANY, _("Show pin number"), wxDefaultPosition, wxDefaultSize, 0 );
36  m_ShowPinNumButt->SetValue(true);
37  m_ShowPinNumButt->SetToolTip( _("Show or hide pin numbers") );
38 
39  m_OptionsBoxSizer->Add( m_ShowPinNumButt, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
40 
41  m_ShowPinNameButt = new wxCheckBox( m_OptionsBoxSizer->GetStaticBox(), wxID_ANY, _("Show pin name"), wxDefaultPosition, wxDefaultSize, 0 );
42  m_ShowPinNameButt->SetValue(true);
43  m_ShowPinNameButt->SetToolTip( _("Show or hide pin names") );
44 
45  m_OptionsBoxSizer->Add( m_ShowPinNameButt, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
46 
47  m_PinsNameInsideButt = new wxCheckBox( m_OptionsBoxSizer->GetStaticBox(), wxID_ANY, _("Place pin names inside"), wxDefaultPosition, wxDefaultSize, 0 );
48  m_PinsNameInsideButt->SetValue(true);
49  m_PinsNameInsideButt->SetToolTip( _("Check this option to have pin names inside the body and pin number outside.\nIf not checked pins names and pins numbers are outside.") );
50 
51  m_OptionsBoxSizer->Add( m_PinsNameInsideButt, 0, wxALL, 5 );
52 
53 
54  bSizerBasicPanel->Add( m_OptionsBoxSizer, 0, 0, 5 );
55 
56  m_staticline3 = new wxStaticLine( m_PanelBasic, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
57  bSizerBasicPanel->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
58 
59  wxBoxSizer* bSizerMidBasicPanel;
60  bSizerMidBasicPanel = new wxBoxSizer( wxHORIZONTAL );
61 
62  wxBoxSizer* bSizernbunits;
63  bSizernbunits = new wxBoxSizer( wxVERTICAL );
64 
65  m_staticTextNbUnits = new wxStaticText( m_PanelBasic, wxID_ANY, _("Number of Units"), wxDefaultPosition, wxDefaultSize, 0 );
66  m_staticTextNbUnits->Wrap( -1 );
67  m_staticTextNbUnits->SetToolTip( _("Enter the number of units for a component that contains more than one unit") );
68 
69  bSizernbunits->Add( m_staticTextNbUnits, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
70 
71  m_SelNumberOfUnits = new wxSpinCtrl( m_PanelBasic, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 26, 1 );
72  bSizernbunits->Add( m_SelNumberOfUnits, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
73 
74 
75  bSizerMidBasicPanel->Add( bSizernbunits, 1, wxEXPAND, 5 );
76 
77  wxBoxSizer* bSizerOffset;
78  bSizerOffset = new wxBoxSizer( wxVERTICAL );
79 
80  m_staticTextskew = new wxStaticText( m_PanelBasic, wxID_ANY, _("Pin Name Position Offset"), wxDefaultPosition, wxDefaultSize, 0 );
81  m_staticTextskew->Wrap( -1 );
82  m_staticTextskew->SetToolTip( _("Margin (in 0.001 inches) between a pin name position and the component body.\nA value from 10 to 40 is usually good.") );
83 
84  bSizerOffset->Add( m_staticTextskew, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
85 
86  m_SetSkew = new wxSpinCtrl( m_PanelBasic, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 100, 0 );
87  bSizerOffset->Add( m_SetSkew, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
88 
89 
90  bSizerMidBasicPanel->Add( bSizerOffset, 1, wxEXPAND, 5 );
91 
92 
93  bSizerBasicPanel->Add( bSizerMidBasicPanel, 0, wxEXPAND, 5 );
94 
95  m_staticline1 = new wxStaticLine( m_PanelBasic, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
96  bSizerBasicPanel->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
97 
98  m_OptionPower = new wxCheckBox( m_PanelBasic, wxID_ANY, _("Define as power symbol"), wxDefaultPosition, wxDefaultSize, 0 );
99  m_OptionPower->SetToolTip( _("Check this option when the component is a power symbol") );
100 
101  bSizerBasicPanel->Add( m_OptionPower, 0, wxALL, 5 );
102 
103  m_OptionPartsLocked = new wxCheckBox( m_PanelBasic, wxID_ANY, _("All units are not interchangeable"), wxDefaultPosition, wxDefaultSize, 0 );
104  m_OptionPartsLocked->SetToolTip( _("Check this option when creating multiple unit components and all units are not interchangeable") );
105 
106  bSizerBasicPanel->Add( m_OptionPartsLocked, 0, wxALL, 5 );
107 
108 
109  m_PanelBasic->SetSizer( bSizerBasicPanel );
110  m_PanelBasic->Layout();
111  bSizerBasicPanel->Fit( m_PanelBasic );
112  m_NoteBook->AddPage( m_PanelBasic, _("Options"), true );
113  m_PanelDoc = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
114  wxBoxSizer* m_PanelDocBoxSizer;
115  m_PanelDocBoxSizer = new wxBoxSizer( wxVERTICAL );
116 
117  m_staticTextDescription = new wxStaticText( m_PanelDoc, wxID_ANY, _("Description"), wxDefaultPosition, wxDefaultSize, 0 );
118  m_staticTextDescription->Wrap( -1 );
119  m_staticTextDescription->SetToolTip( _("A short description that is displayed in Eeschema.\nCan be a very good help when selecting components in libraries components lists.") );
120 
121  m_PanelDocBoxSizer->Add( m_staticTextDescription, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
122 
123  m_DocCtrl = new wxTextCtrl( m_PanelDoc, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
124  m_DocCtrl->SetMaxLength( 0 );
125  m_PanelDocBoxSizer->Add( m_DocCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
126 
127  m_staticTextKeywords = new wxStaticText( m_PanelDoc, wxID_ANY, _("Keywords"), wxDefaultPosition, wxDefaultSize, 0 );
128  m_staticTextKeywords->Wrap( -1 );
129  m_staticTextKeywords->SetToolTip( _("Enter key words that can be used to select this component.\nKey words cannot have spaces and are separated by a space.") );
130 
131  m_PanelDocBoxSizer->Add( m_staticTextKeywords, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
132 
133  m_KeywordsCtrl = new wxTextCtrl( m_PanelDoc, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
134  m_KeywordsCtrl->SetMaxLength( 0 );
135  m_PanelDocBoxSizer->Add( m_KeywordsCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
136 
137  m_staticTextDocFileName = new wxStaticText( m_PanelDoc, wxID_ANY, _("Documentation File Name"), wxDefaultPosition, wxDefaultSize, 0 );
138  m_staticTextDocFileName->Wrap( -1 );
139  m_staticTextDocFileName->SetToolTip( _("Enter the documentation file (a .pdf document) associated to the component.") );
140 
141  m_PanelDocBoxSizer->Add( m_staticTextDocFileName, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
142 
143  m_DocfileCtrl = new wxTextCtrl( m_PanelDoc, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 400,-1 ), 0 );
144  m_DocfileCtrl->SetMaxLength( 0 );
145  m_PanelDocBoxSizer->Add( m_DocfileCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
146 
147  wxBoxSizer* bSizerPaneldocbutts;
148  bSizerPaneldocbutts = new wxBoxSizer( wxHORIZONTAL );
149 
150  m_ButtonCopyDoc = new wxButton( m_PanelDoc, ID_COPY_DOC_TO_ALIAS, _("Copy Document from Parent"), wxDefaultPosition, wxDefaultSize, 0 );
151  bSizerPaneldocbutts->Add( m_ButtonCopyDoc, 0, wxALL, 5 );
152 
153  m_buttonBrowseDocFiles = new wxButton( m_PanelDoc, ID_BROWSE_DOC_FILES, _("Browse Files"), wxDefaultPosition, wxDefaultSize, 0 );
154  bSizerPaneldocbutts->Add( m_buttonBrowseDocFiles, 0, wxALL, 5 );
155 
156 
157  m_PanelDocBoxSizer->Add( bSizerPaneldocbutts, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
158 
159 
160  m_PanelDoc->SetSizer( m_PanelDocBoxSizer );
161  m_PanelDoc->Layout();
162  m_PanelDocBoxSizer->Fit( m_PanelDoc );
163  m_NoteBook->AddPage( m_PanelDoc, _("Description"), false );
164  m_PanelAlias = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
165  wxBoxSizer* bSizerMainPanelAlias;
166  bSizerMainPanelAlias = new wxBoxSizer( wxHORIZONTAL );
167 
168  wxBoxSizer* bLeftBoxSizerPanelAlias;
169  bLeftBoxSizerPanelAlias = new wxBoxSizer( wxVERTICAL );
170 
171  m_staticTextAlias = new wxStaticText( m_PanelAlias, wxID_ANY, _("Alias List"), wxDefaultPosition, wxDefaultSize, 0 );
172  m_staticTextAlias->Wrap( -1 );
173  m_staticTextAlias->SetToolTip( _("An alias is a component that uses the body of its root component.\nIt has its own documentation and keywords.\nA fast way to extend a library with similar components") );
174 
175  bLeftBoxSizerPanelAlias->Add( m_staticTextAlias, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
176 
177  m_PartAliasListCtrl = new wxListBox( m_PanelAlias, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
178  bLeftBoxSizerPanelAlias->Add( m_PartAliasListCtrl, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
179 
180 
181  bSizerMainPanelAlias->Add( bLeftBoxSizerPanelAlias, 1, wxEXPAND, 5 );
182 
183  wxBoxSizer* bRightBoxSizerPanelAlias;
184  bRightBoxSizerPanelAlias = new wxBoxSizer( wxVERTICAL );
185 
186  m_ButtonAddeAlias = new wxButton( m_PanelAlias, ID_ADD_ALIAS, _("Add"), wxDefaultPosition, wxDefaultSize, 0 );
187  bRightBoxSizerPanelAlias->Add( m_ButtonAddeAlias, 0, wxALL|wxEXPAND, 5 );
188 
189  m_ButtonDeleteOneAlias = new wxButton( m_PanelAlias, ID_DELETE_ONE_ALIAS, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
190  bRightBoxSizerPanelAlias->Add( m_ButtonDeleteOneAlias, 0, wxALL|wxEXPAND, 5 );
191 
192  m_ButtonDeleteAllAlias = new wxButton( m_PanelAlias, ID_DELETE_ALL_ALIAS, _("Delete All"), wxDefaultPosition, wxDefaultSize, 0 );
193  bRightBoxSizerPanelAlias->Add( m_ButtonDeleteAllAlias, 0, wxALL, 5 );
194 
195 
196  bSizerMainPanelAlias->Add( bRightBoxSizerPanelAlias, 0, wxALIGN_CENTER_VERTICAL, 5 );
197 
198 
199  m_PanelAlias->SetSizer( bSizerMainPanelAlias );
200  m_PanelAlias->Layout();
201  bSizerMainPanelAlias->Fit( m_PanelAlias );
202  m_NoteBook->AddPage( m_PanelAlias, _("Alias"), false );
203  m_PanelFootprintFilter = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
204  wxBoxSizer* bPanelFpFilterBoxSizer;
205  bPanelFpFilterBoxSizer = new wxBoxSizer( wxHORIZONTAL );
206 
207  wxBoxSizer* bFpFilterLeftBoxSizer;
208  bFpFilterLeftBoxSizer = new wxBoxSizer( wxVERTICAL );
209 
210  m_staticTextFootprints = new wxStaticText( m_PanelFootprintFilter, wxID_ANY, _("Footprints"), wxDefaultPosition, wxDefaultSize, 0 );
211  m_staticTextFootprints->Wrap( -1 );
212  m_staticTextFootprints->SetToolTip( _("A list of footprints names that can be used for this component.\nFootprints names can used jockers.\n(like sm* to allow all footprints names starting by sm).") );
213 
214  bFpFilterLeftBoxSizer->Add( m_staticTextFootprints, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
215 
216  m_FootprintFilterListBox = new wxListBox( m_PanelFootprintFilter, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
217  bFpFilterLeftBoxSizer->Add( m_FootprintFilterListBox, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
218 
219 
220  bPanelFpFilterBoxSizer->Add( bFpFilterLeftBoxSizer, 1, wxEXPAND, 5 );
221 
222  wxBoxSizer* bFpFilterRightBoxSizer;
223  bFpFilterRightBoxSizer = new wxBoxSizer( wxVERTICAL );
224 
225  m_buttonAddFpF = new wxButton( m_PanelFootprintFilter, ID_ADD_FOOTPRINT_FILTER, _("Add"), wxDefaultPosition, wxDefaultSize, 0 );
226  bFpFilterRightBoxSizer->Add( m_buttonAddFpF, 0, wxALL|wxEXPAND, 5 );
227 
228  m_buttonEditOneFootprintFilter = new wxButton( m_PanelFootprintFilter, wxID_ANY, _("Edit"), wxDefaultPosition, wxDefaultSize, 0 );
229  bFpFilterRightBoxSizer->Add( m_buttonEditOneFootprintFilter, 0, wxALL|wxEXPAND, 5 );
230 
231  m_ButtonDeleteOneFootprintFilter = new wxButton( m_PanelFootprintFilter, ID_DELETE_ONE_FOOTPRINT_FILTER, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
232  bFpFilterRightBoxSizer->Add( m_ButtonDeleteOneFootprintFilter, 0, wxALL|wxEXPAND, 5 );
233 
234  m_ButtonDeleteAllFootprintFilter = new wxButton( m_PanelFootprintFilter, ID_DELETE_ALL_FOOTPRINT_FILTER, _("Delete All"), wxDefaultPosition, wxDefaultSize, 0 );
235  bFpFilterRightBoxSizer->Add( m_ButtonDeleteAllFootprintFilter, 0, wxALL|wxEXPAND, 5 );
236 
237 
238  bPanelFpFilterBoxSizer->Add( bFpFilterRightBoxSizer, 0, wxALIGN_CENTER_VERTICAL, 5 );
239 
240 
241  m_PanelFootprintFilter->SetSizer( bPanelFpFilterBoxSizer );
242  m_PanelFootprintFilter->Layout();
243  bPanelFpFilterBoxSizer->Fit( m_PanelFootprintFilter );
244  m_NoteBook->AddPage( m_PanelFootprintFilter, _("Footprint Filter"), false );
245 
246  bUpperSizer->Add( m_NoteBook, 1, wxEXPAND, 5 );
247 
248 
249  bMainSizer->Add( bUpperSizer, 1, wxEXPAND, 5 );
250 
251  m_stdSizerButton = new wxStdDialogButtonSizer();
252  m_stdSizerButtonOK = new wxButton( this, wxID_OK );
253  m_stdSizerButton->AddButton( m_stdSizerButtonOK );
254  m_stdSizerButtonCancel = new wxButton( this, wxID_CANCEL );
256  m_stdSizerButton->Realize();
257 
258  bMainSizer->Add( m_stdSizerButton, 0, wxEXPAND|wxALL, 5 );
259 
260 
261  this->SetSizer( bMainSizer );
262  this->Layout();
263  bMainSizer->Fit( this );
264 
265  // Connect Events
266  m_OptionPartsLocked->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::OnUpdateInterchangeableUnits ), NULL, this );
267  m_ButtonCopyDoc->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::CopyDocFromRootToAlias ), NULL, this );
268  m_buttonBrowseDocFiles->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::BrowseAndSelectDocFile ), NULL, this );
269  m_ButtonAddeAlias->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::AddAliasOfPart ), NULL, this );
270  m_ButtonDeleteOneAlias->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteAliasOfPart ), NULL, this );
271  m_ButtonDeleteAllAlias->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteAllAliasOfPart ), NULL, this );
272  m_buttonAddFpF->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::AddFootprintFilter ), NULL, this );
273  m_buttonEditOneFootprintFilter->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::EditOneFootprintFilter ), NULL, this );
274  m_ButtonDeleteOneFootprintFilter->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteOneFootprintFilter ), NULL, this );
275  m_ButtonDeleteAllFootprintFilter->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteAllFootprintFilter ), NULL, this );
276  m_stdSizerButtonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::OnCancelClick ), NULL, this );
277  m_stdSizerButtonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::OnOkClick ), NULL, this );
278 }
279 
281 {
282  // Disconnect Events
283  m_OptionPartsLocked->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::OnUpdateInterchangeableUnits ), NULL, this );
284  m_ButtonCopyDoc->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::CopyDocFromRootToAlias ), NULL, this );
285  m_buttonBrowseDocFiles->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::BrowseAndSelectDocFile ), NULL, this );
286  m_ButtonAddeAlias->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::AddAliasOfPart ), NULL, this );
287  m_ButtonDeleteOneAlias->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteAliasOfPart ), NULL, this );
288  m_ButtonDeleteAllAlias->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteAllAliasOfPart ), NULL, this );
289  m_buttonAddFpF->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::AddFootprintFilter ), NULL, this );
290  m_buttonEditOneFootprintFilter->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::EditOneFootprintFilter ), NULL, this );
291  m_ButtonDeleteOneFootprintFilter->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteOneFootprintFilter ), NULL, this );
292  m_ButtonDeleteAllFootprintFilter->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DeleteAllFootprintFilter ), NULL, this );
293  m_stdSizerButtonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::OnCancelClick ), NULL, this );
294  m_stdSizerButtonOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::OnOkClick ), NULL, this );
295 
296 }
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)
#define ID_DELETE_ALL_ALIAS
#define ID_DELETE_ONE_FOOTPRINT_FILTER
virtual void OnUpdateInterchangeableUnits(wxUpdateUIEvent &event)
#define ID_DELETE_ONE_ALIAS
virtual void AddFootprintFilter(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
virtual void DeleteOneFootprintFilter(wxCommandEvent &event)
#define ID_BROWSE_DOC_FILES
virtual void DeleteAllAliasOfPart(wxCommandEvent &event)
#define ID_ADD_FOOTPRINT_FILTER
virtual void CopyDocFromRootToAlias(wxCommandEvent &event)
#define ID_DELETE_ALL_FOOTPRINT_FILTER
#define ID_COPY_DOC_TO_ALIAS
virtual void BrowseAndSelectDocFile(wxCommandEvent &event)