KiCad PCB EDA Suite
dialog_edit_footprint_for_BoardEditor_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Nov 10 2018)
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/radiobut.h>
33 #include <wx/gbsizer.h>
34 #include <wx/choice.h>
35 #include <wx/radiobox.h>
36 #include <wx/slider.h>
37 #include <wx/panel.h>
38 #include <wx/notebook.h>
39 #include <wx/dialog.h>
40 
42 
43 #define ID_NOTEBOOK 1000
44 #define ID_MODULE_PROPERTIES_UPDATE 1001
45 #define ID_MODULE_PROPERTIES_EXCHANGE 1002
46 #define ID_EDIT_FOOTPRINT 1003
47 #define ID_EDIT_LIBRARY_FOOTPRINT 1004
48 
53 {
54  private:
55  wxBoxSizer* m_GeneralBoxSizer;
56  wxBoxSizer* bSizerLeft;
57 
58  protected:
59  wxNotebook* m_NoteBook;
60  wxPanel* m_PanelGeneral;
62  wxBitmapButton* m_bpAdd;
63  wxBitmapButton* m_bpDelete;
64  wxStaticText* m_XPosLabel;
65  wxTextCtrl* m_ModPositionX;
66  wxStaticText* m_XPosUnit;
67  wxStaticText* m_YPosLabel;
68  wxTextCtrl* m_ModPositionY;
69  wxStaticText* m_YPosUnit;
70  wxRadioButton* m_Orient0;
71  wxRadioButton* m_Orient90;
72  wxRadioButton* m_Orient270;
73  wxRadioButton* m_Orient180;
74  wxRadioButton* m_OrientOther;
75  wxTextCtrl* m_OrientValueCtrl;
76  wxStaticText* m_BoardSideLabel;
77  wxChoice* m_BoardSideCtrl;
78  wxRadioBox* m_AutoPlaceCtrl;
79  wxStaticBoxSizer* m_sizerAP;
80  wxBoxSizer* m_sizerAllow90;
81  wxStaticText* m_allow90Label;
82  wxSlider* m_CostRot90Ctrl;
83  wxBoxSizer* m_sizerAllow180;
84  wxStaticText* m_allow180Label;
85  wxSlider* m_CostRot180Ctrl;
86  wxButton* m_buttonUpdate;
87  wxButton* m_buttonExchange;
89  wxButton* m_button5;
90  wxRadioBox* m_AttributsCtrl;
92  wxStaticText* m_staticTextInfo;
93  wxStaticText* m_staticTextInfoValPos;
94  wxStaticText* m_staticTextInfoValNeg;
95  wxStaticText* m_NetClearanceLabel;
96  wxTextCtrl* m_NetClearanceCtrl;
97  wxStaticText* m_NetClearanceUnits;
98  wxStaticText* m_SolderMaskMarginLabel;
100  wxStaticText* m_SolderMaskMarginUnits;
104  wxStaticText* m_staticTextRatio;
107  wxStaticText* m_staticTextInfoCopper;
108  wxStaticText* m_staticText16;
110  wxPanel* m_Panel3D;
111  wxBoxSizer* bSizerMain3D;
113  wxBitmapButton* m_buttonAdd;
114  wxBitmapButton* m_buttonBrowse;
115  wxBitmapButton* m_buttonRemove;
116  wxButton* m_button8;
117  wxBoxSizer* bLowerSizer3D;
118  wxStaticText* m_libraryIDLabel;
119  wxStaticText* m_staticLibraryID;
120  wxStdDialogButtonSizer* m_sdbSizerStdButtons;
123 
124  // Virtual event handlers, overide them in your derived class
125  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
126  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
127  virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }
128  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
129  virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
130  virtual void ModuleOrientEvent( wxCommandEvent& event ) { event.Skip(); }
131  virtual void OnOtherOrientation( wxCommandEvent& event ) { event.Skip(); }
132  virtual void UpdateModule( wxCommandEvent& event ) { event.Skip(); }
133  virtual void ExchangeModule( wxCommandEvent& event ) { event.Skip(); }
134  virtual void EditFootprint( wxCommandEvent& event ) { event.Skip(); }
135  virtual void EditLibraryFootprint( wxCommandEvent& event ) { event.Skip(); }
136  virtual void On3DModelCellChanged( wxGridEvent& event ) { event.Skip(); }
137  virtual void On3DModelSelected( wxGridEvent& event ) { event.Skip(); }
138  virtual void OnAdd3DRow( wxCommandEvent& event ) { event.Skip(); }
139  virtual void OnAdd3DModel( wxCommandEvent& event ) { event.Skip(); }
140  virtual void OnRemove3DModel( wxCommandEvent& event ) { event.Skip(); }
141  virtual void Cfg3DPath( wxCommandEvent& event ) { event.Skip(); }
142 
143 
144  public:
145 
146  DIALOG_FOOTPRINT_BOARD_EDITOR_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 );
148 
149 };
150 
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:83
#define _(s)
wxTextCtrl wrapper to handle math expression evaluation.
DIALOG_FOOTPRINT_BOARD_EDITOR_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)