KiCad PCB EDA Suite
dialog_footprint_properties_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.10.0-39-g3487c3cb)
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 TEXT_CTRL_EVAL;
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/bmpbuttn.h>
24 #include <wx/bitmap.h>
25 #include <wx/image.h>
26 #include <wx/icon.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/choice.h>
33 #include <wx/radiobut.h>
34 #include <wx/gbsizer.h>
35 #include <wx/radiobox.h>
36 #include <wx/slider.h>
37 #include <wx/checkbox.h>
38 #include <wx/panel.h>
39 #include <wx/notebook.h>
40 #include <wx/dialog.h>
41 
43 
44 #define ID_NOTEBOOK 1000
45 
50 {
51  private:
52  wxBoxSizer* m_GeneralBoxSizer;
53  wxBoxSizer* bSizerLeft;
54 
55  protected:
56  wxNotebook* m_NoteBook;
57  wxPanel* m_PanelGeneral;
59  wxBitmapButton* m_bpAdd;
60  wxBitmapButton* m_bpDelete;
61  wxStaticText* m_XPosLabel;
62  wxTextCtrl* m_ModPositionX;
63  wxStaticText* m_XPosUnit;
64  wxStaticText* m_YPosLabel;
65  wxTextCtrl* m_ModPositionY;
66  wxStaticText* m_YPosUnit;
67  wxStaticText* m_BoardSideLabel;
68  wxChoice* m_BoardSideCtrl;
69  wxRadioButton* m_Orient0;
70  wxRadioButton* m_Orient90;
71  wxRadioButton* m_Orient270;
72  wxRadioButton* m_Orient180;
73  wxRadioButton* m_OrientOther;
74  wxTextCtrl* m_OrientValueCtrl;
75  wxRadioBox* m_AutoPlaceCtrl;
76  wxStaticBoxSizer* m_sizerAP;
77  wxBoxSizer* m_sizerAllow90;
78  wxStaticText* m_allow90Label;
79  wxSlider* m_CostRot90Ctrl;
80  wxBoxSizer* m_sizerAllow180;
81  wxStaticText* m_allow180Label;
82  wxSlider* m_CostRot180Ctrl;
83  wxButton* m_buttonUpdate;
84  wxButton* m_buttonExchange;
86  wxButton* m_button5;
87  wxStaticText* m_componentTypeLabel;
88  wxChoice* m_componentType;
89  wxCheckBox* m_boardOnly;
90  wxCheckBox* m_excludeFromPosFiles;
91  wxCheckBox* m_excludeFromBOM;
93  wxStaticText* m_staticTextInfo;
94  wxStaticText* m_staticTextInfoValPos;
95  wxStaticText* m_staticTextInfoValNeg;
96  wxStaticText* m_NetClearanceLabel;
97  wxTextCtrl* m_NetClearanceCtrl;
98  wxStaticText* m_NetClearanceUnits;
99  wxStaticText* m_SolderMaskMarginLabel;
101  wxStaticText* m_SolderMaskMarginUnits;
105  wxStaticText* m_PasteMarginRatioLabel;
107  wxStaticText* m_PasteMarginRatioUnits;
108  wxStaticText* m_staticTextInfoCopper;
109  wxStaticText* m_staticTextInfoPaste;
110  wxStaticText* m_staticText16;
112  wxStaticText* m_libraryIDLabel;
113  wxTextCtrl* m_tcLibraryID;
114  wxStdDialogButtonSizer* m_sdbSizerStdButtons;
117 
118  // Virtual event handlers, override them in your derived class
119  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
120  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
121  virtual void OnPageChange( wxNotebookEvent& event ) { event.Skip(); }
122  virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }
123  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
124  virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
125  virtual void FootprintOrientEvent( wxCommandEvent& event ) { event.Skip(); }
126  virtual void OnOtherOrientation( wxCommandEvent& event ) { event.Skip(); }
127  virtual void UpdateFootprint( wxCommandEvent& event ) { event.Skip(); }
128  virtual void ChangeFootprint( wxCommandEvent& event ) { event.Skip(); }
129  virtual void EditFootprint( wxCommandEvent& event ) { event.Skip(); }
130  virtual void EditLibraryFootprint( wxCommandEvent& event ) { event.Skip(); }
131 
132 
133  public:
134 
135  DIALOG_FOOTPRINT_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Footprint Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
136 
138 
139 };
140 
virtual void ChangeFootprint(wxCommandEvent &event)
Class DIALOG_FOOTPRINT_PROPERTIES_BASE.
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
virtual void EditLibraryFootprint(wxCommandEvent &event)
#define _(s)
DIALOG_FOOTPRINT_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Footprint Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnUpdateUI(wxUpdateUIEvent &event)
virtual void OnOtherOrientation(wxCommandEvent &event)
virtual void UpdateFootprint(wxCommandEvent &event)
virtual void OnAddField(wxCommandEvent &event)
virtual void OnGridSize(wxSizeEvent &event)
wxTextCtrl wrapper to handle math expression evaluation.
virtual void OnPageChange(wxNotebookEvent &event)
virtual void EditFootprint(wxCommandEvent &event)
virtual void FootprintOrientEvent(wxCommandEvent &event)
virtual void OnInitDlg(wxInitDialogEvent &event)
virtual void OnDeleteField(wxCommandEvent &event)