KiCad PCB EDA Suite
dialog_pad_properties_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jul 2 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
8 #ifndef __DIALOG_PAD_PROPERTIES_BASE_H__
9 #define __DIALOG_PAD_PROPERTIES_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 class DIALOG_SHIM;
15 class wxListView;
16 
17 #include "dialog_shim.h"
18 #include <wx/string.h>
19 #include <wx/stattext.h>
20 #include <wx/gdicmn.h>
21 #include <wx/font.h>
22 #include <wx/colour.h>
23 #include <wx/settings.h>
24 #include <wx/textctrl.h>
25 #include <wx/choice.h>
26 #include <wx/sizer.h>
27 #include <wx/statline.h>
28 #include <wx/statbox.h>
29 #include <wx/checkbox.h>
30 #include <wx/panel.h>
31 #include <wx/bitmap.h>
32 #include <wx/image.h>
33 #include <wx/icon.h>
34 #include <wx/listctrl.h>
35 #include <wx/button.h>
36 #include <wx/notebook.h>
37 #include <wxBasePcbFrame.h>
38 #include <pcb_draw_panel_gal.h>
39 #include <wx/dialog.h>
40 #include <wx/spinctrl.h>
41 #include <wx/grid.h>
42 
44 
49 {
50  private:
51 
52  protected:
53  enum
54  {
58  };
59 
60  wxNotebook* m_notebook;
61  wxPanel* m_panelGeneral;
62  wxStaticText* m_PadNumText;
63  wxTextCtrl* m_PadNumCtrl;
64  wxStaticText* m_PadNameText;
65  wxTextCtrl* m_PadNetNameCtrl;
66  wxStaticText* m_staticText44;
67  wxChoice* m_PadType;
68  wxStaticText* m_staticText45;
69  wxChoice* m_PadShape;
70  wxStaticText* m_staticText4;
71  wxTextCtrl* m_PadPosition_X_Ctrl;
72  wxStaticText* m_PadPosX_Unit;
73  wxStaticText* m_staticText41;
74  wxTextCtrl* m_PadPosition_Y_Ctrl;
75  wxStaticText* m_PadPosY_Unit;
76  wxStaticText* m_staticText12;
77  wxTextCtrl* m_ShapeSize_X_Ctrl;
78  wxStaticText* m_PadShapeSizeX_Unit;
79  wxStaticText* m_staticText15;
80  wxTextCtrl* m_ShapeSize_Y_Ctrl;
81  wxStaticText* m_PadShapeSizeY_Unit;
82  wxStaticText* m_PadOrientText;
83  wxChoice* m_PadOrient;
84  wxStaticText* m_staticText491;
85  wxTextCtrl* m_PadOrientCtrl;
86  wxStaticText* m_customOrientUnits;
87  wxStaticText* m_staticText17;
88  wxTextCtrl* m_ShapeOffset_X_Ctrl;
89  wxStaticText* m_PadShapeOffsetX_Unit;
90  wxStaticText* m_staticText19;
91  wxTextCtrl* m_ShapeOffset_Y_Ctrl;
92  wxStaticText* m_PadShapeOffsetY_Unit;
93  wxStaticText* m_staticText38;
94  wxTextCtrl* m_LengthPadToDieCtrl;
95  wxStaticText* m_PadLengthDie_Unit;
96  wxStaticLine* m_staticline4;
97  wxStaticLine* m_staticline5;
98  wxStaticLine* m_staticline6;
99  wxStaticText* m_staticText21;
100  wxTextCtrl* m_ShapeDelta_Ctrl;
101  wxStaticText* m_PadShapeDelta_Unit;
102  wxStaticText* m_staticText23;
104  wxStaticLine* m_staticline7;
105  wxStaticLine* m_staticline8;
106  wxStaticLine* m_staticline9;
108  wxTextCtrl* m_tcCornerSizeRatio;
113  wxStaticText* m_staticText47;
114  wxChoice* m_DrillShapeCtrl;
115  wxStaticText* m_staticText51;
116  wxStaticText* m_textPadDrillX;
117  wxTextCtrl* m_PadDrill_X_Ctrl;
118  wxStaticText* m_PadDrill_X_Unit;
119  wxStaticText* m_textPadDrillY;
120  wxTextCtrl* m_PadDrill_Y_Ctrl;
121  wxStaticText* m_PadDrill_Y_Unit;
122  wxStaticText* m_staticText511;
124  wxCheckBox* m_PadLayerAdhCmp;
125  wxCheckBox* m_PadLayerAdhCu;
126  wxCheckBox* m_PadLayerPateCmp;
127  wxCheckBox* m_PadLayerPateCu;
128  wxCheckBox* m_PadLayerSilkCmp;
129  wxCheckBox* m_PadLayerSilkCu;
130  wxCheckBox* m_PadLayerMaskCmp;
131  wxCheckBox* m_PadLayerMaskCu;
132  wxCheckBox* m_PadLayerDraft;
133  wxCheckBox* m_PadLayerECO1;
134  wxCheckBox* m_PadLayerECO2;
135  wxStaticText* m_staticTitleModuleRot;
136  wxStaticText* m_staticModuleRotValue;
137  wxStaticText* m_staticTitleModuleSide;
138  wxStaticText* m_staticModuleSideValue;
142  wxStaticText* m_NetClearanceUnits;
143  wxStaticText* m_MaskClearanceTitle;
145  wxStaticText* m_SolderMaskMarginUnits;
146  wxStaticText* m_staticTextSolderPaste;
149  wxStaticText* m_staticTextRatio;
152  wxStaticBoxSizer* m_sbSizerZonesSettings;
153  wxStaticText* m_staticText40;
155  wxStaticText* m_staticText49;
156  wxTextCtrl* m_ThermalWidthCtrl;
157  wxStaticText* m_ThermalWidthUnits;
158  wxStaticText* m_staticText52;
159  wxTextCtrl* m_ThermalGapCtrl;
160  wxStaticText* m_ThermalGapUnits;
161  wxStaticText* m_staticTextcps;
163  wxStaticText* m_staticTextWarning;
168  wxListView* m_listCtrlPrimitives;
169  wxButton* m_buttonDel;
170  wxButton* m_buttonEditShape;
171  wxButton* m_buttonAddShape;
172  wxButton* m_buttonDup;
173  wxButton* m_buttonGeometry;
174  wxButton* m_buttonImport;
175  wxPanel* m_panelShowPad;
179  wxStdDialogButtonSizer* m_sdbSizer;
180  wxButton* m_sdbSizerOK;
181  wxButton* m_sdbSizerCancel;
182 
183  // Virtual event handlers, overide them in your derived class
184  virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
185  virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
186  virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
187  virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
188  virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
189  virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
190  virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
191  virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
192  virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
193  virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
194  virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
195  virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
196  virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
197  virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
198  virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
199  virtual void onImportPrimitives( wxCommandEvent& event ) { event.Skip(); }
200  virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
201  virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
202 
203 
204  public:
205 
206  DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_DIALOG_EDIT_PAD, const wxString& title = _("Pad Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 785,659 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSUNKEN_BORDER );
208 
209 };
210 
215 {
216  private:
217 
218  protected:
219  wxStaticText* m_staticTextInfo;
220  wxStaticText* m_staticTextPosStart;
221  wxStaticText* m_staticTextStartX;
222  wxTextCtrl* m_textCtrPosX;
223  wxStaticText* m_staticTextStartY;
224  wxTextCtrl* m_textCtrPosY;
225  wxStaticText* m_staticTextPosUnit;
226  wxStaticText* m_staticTextPosEnd;
227  wxStaticText* m_staticTextEndX;
228  wxTextCtrl* m_textCtrEndX;
229  wxStaticText* m_staticTextEndY;
230  wxTextCtrl* m_textCtrEndY;
231  wxStaticText* m_staticTextEndUnit;
232  wxStaticText* m_staticTextAngle;
233  wxTextCtrl* m_textCtrAngle;
234  wxStaticText* m_staticTextAngleUnit;
235  wxStaticText* m_staticTextThickness;
236  wxTextCtrl* m_textCtrlThickness;
238  wxStaticLine* m_staticline1;
239  wxStdDialogButtonSizer* m_sdbSizer;
240  wxButton* m_sdbSizerOK;
241  wxButton* m_sdbSizerCancel;
242 
243  public:
244 
245  DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 561,243 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
247 
248 };
249 
254 {
255  private:
256 
257  protected:
258  wxStaticText* m_staticTextMove;
259  wxStaticText* m_staticTextMoveX;
260  wxTextCtrl* m_textCtrMoveX;
261  wxStaticText* m_staticTextMoveY;
262  wxTextCtrl* m_textCtrMoveY;
263  wxStaticText* m_staticTextMoveUnit;
264  wxStaticText* m_staticTextAngle;
265  wxTextCtrl* m_textCtrAngle;
266  wxStaticText* m_staticTextAngleUnit;
267  wxStaticText* m_staticTextSF;
269  wxStaticText* m_staticTextDupCnt;
271  wxStaticLine* m_staticline1;
272  wxStdDialogButtonSizer* m_sdbSizer;
273  wxButton* m_sdbSizerOK;
274  wxButton* m_sdbSizerCancel;
275 
276  public:
277 
278  DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Pad Custom Shape Geometry Transform"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 472,208 ), long style = wxDEFAULT_DIALOG_STYLE );
280 
281 };
282 
287 {
288  private:
289 
290  protected:
292  wxStaticText* m_staticTextValidate;
294  wxButton* m_buttonAdd;
295  wxButton* m_buttonDelete;
296  wxPanel* m_panelPoly;
297  wxStaticText* m_staticTextThickness;
298  wxTextCtrl* m_textCtrlThickness;
300  wxStaticText* m_staticTextInfo;
301  wxStaticLine* m_staticline3;
302  wxStdDialogButtonSizer* m_sdbSizer;
303  wxButton* m_sdbSizerOK;
304  wxButton* m_sdbSizerCancel;
305 
306  // Virtual event handlers, overide them in your derived class
307  virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
308  virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
309  virtual void onButtonAdd( wxCommandEvent& event ) { event.Skip(); }
310  virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
311  virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
312  virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
313 
314 
315  public:
316 
317  DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Basic Shape Polygon"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 503,396 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
319 
320 };
321 
322 #endif //__DIALOG_PAD_PROPERTIES_BASE_H__
virtual void onPrimitiveDClick(wxMouseEvent &event)
KIGFX::GAL_DISPLAY_OPTIONS m_galOptions
virtual void onAddPrimitive(wxCommandEvent &event)
Class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE.
virtual void OnButtonDelete(wxCommandEvent &event)
virtual void onPolyPanelResize(wxSizeEvent &event)
virtual void OnPaintShowPanel(wxPaintEvent &event)
virtual void onGridSelect(wxGridRangeSelectEvent &event)
virtual void onCellSelect(wxGridEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
virtual void OnValuesChanged(wxCommandEvent &event)
virtual void OnPrimitiveSelection(wxListEvent &event)
virtual void OnInitDialog(wxInitDialogEvent &event)
Class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE.
virtual void OnDrillShapeSelected(wxCommandEvent &event)
virtual void PadTypeSelected(wxCommandEvent &event)
DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(561, 243), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void onDeletePrimitive(wxCommandEvent &event)
virtual void onCornerSizePercentChange(wxCommandEvent &event)
Classes used in Pcbnew, CvPcb and GerbView.
virtual void OnPadShapeSelection(wxCommandEvent &event)
virtual void onPaintPolyPanel(wxPaintEvent &event)
virtual void PadOrientEvent(wxCommandEvent &event)
Class DIALOG_PAD_PROPERTIES_BASE.
wxStdDialogButtonSizer * m_sdbSizer
DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Basic Shape Polygon"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(503, 396), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void onDuplicatePrimitive(wxCommandEvent &event)
DIALOG_PAD_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_DIALOG_EDIT_PAD, const wxString &title=_("Pad Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(785, 659), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSUNKEN_BORDER)
virtual void OnSetLayers(wxCommandEvent &event)
virtual void onEditPrimitive(wxCommandEvent &event)
DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Pad Custom Shape Geometry Transform"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(472, 208), long style=wxDEFAULT_DIALOG_STYLE)
virtual void onGeometryTransform(wxCommandEvent &event)
virtual void onButtonAdd(wxCommandEvent &event)
virtual void onImportPrimitives(wxCommandEvent &event)
virtual void OnCancel(wxCommandEvent &event)
Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE.