KiCad PCB EDA Suite
dialog_pad_properties_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Apr 19 2018)
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 TEXT_CTRL_EVAL;
15 class WX_GRID;
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 <widgets/net_selector.h>
26 #include <wx/choice.h>
27 #include <wx/combobox.h>
28 #include <wx/sizer.h>
29 #include <wx/bitmap.h>
30 #include <wx/image.h>
31 #include <wx/icon.h>
32 #include <wx/statbmp.h>
33 #include <wx/checkbox.h>
34 #include <wx/statbox.h>
35 #include <wx/panel.h>
36 #include <wx/simplebook.h>
37 #include <wx/listctrl.h>
38 #include <wx/button.h>
39 #include <wx/notebook.h>
40 #include <pcb_base_frame.h>
41 #include <pcb_draw_panel_gal.h>
42 #include <wx/statline.h>
43 #include <wx/dialog.h>
44 #include <wx/spinctrl.h>
45 #include <wx/grid.h>
46 #include <wx/bmpbuttn.h>
47 
49 
54 {
55  private:
56 
57  protected:
58  enum
59  {
62  };
63 
64  wxNotebook* m_notebook;
65  wxPanel* m_panelGeneral;
66  wxStaticText* m_PadNumText;
67  wxTextCtrl* m_PadNumCtrl;
68  wxStaticText* m_PadNameText;
70  wxStaticText* m_staticText44;
71  wxChoice* m_PadType;
72  wxStaticText* m_staticText45;
73  wxChoice* m_PadShape;
74  wxStaticText* m_posXLabel;
75  wxTextCtrl* m_posXCtrl;
76  wxStaticText* m_posXUnits;
77  wxStaticText* m_posYLabel;
78  wxTextCtrl* m_posYCtrl;
79  wxStaticText* m_posYUnits;
80  wxStaticText* m_sizeXLabel;
81  wxTextCtrl* m_sizeXCtrl;
82  wxStaticText* m_sizeXUnits;
83  wxStaticText* m_sizeYLabel;
84  wxTextCtrl* m_sizeYCtrl;
85  wxStaticText* m_sizeYUnits;
86  wxStaticText* m_PadOrientText;
87  wxComboBox* m_orientation;
88  wxStaticText* m_staticText491;
89  wxStaticText* m_offsetXLabel;
90  wxTextCtrl* m_offsetXCtrl;
91  wxStaticText* m_offsetXUnits;
92  wxStaticText* m_offsetYLabel;
93  wxTextCtrl* m_offsetYCtrl;
94  wxStaticText* m_offsetYUnits;
95  wxStaticText* m_padToDieLabel;
96  wxTextCtrl* m_padToDieCtrl;
97  wxStaticText* m_padToDieUnits;
98  wxStaticText* m_trapDeltaLabel;
99  wxTextCtrl* m_trapDeltaCtrl;
100  wxStaticText* m_trapDeltaUnits;
101  wxStaticText* m_trapAxisLabel;
102  wxChoice* m_trapAxisCtrl;
106  wxStaticText* m_cornerRadiusLabel;
108  wxStaticText* m_cornerRadiusUnits;
109  wxStaticText* m_holeShapeLabel;
110  wxChoice* m_holeShapeCtrl;
111  wxStaticText* m_staticText51;
112  wxStaticText* m_holeXLabel;
113  wxTextCtrl* m_holeXCtrl;
114  wxStaticText* m_holeXUnits;
115  wxStaticText* m_holeYLabel;
116  wxTextCtrl* m_holeYCtrl;
117  wxStaticText* m_holeYUnits;
119  wxStaticBitmap* m_FlippedWarningIcon;
120  wxStaticText* m_staticText86;
121  wxStaticText* m_staticText511;
123  wxStaticText* m_techLayersLabel;
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;
137  wxStaticText* m_staticTextInfoNegVal;
138  wxStaticText* m_clearanceLabel;
139  wxTextCtrl* m_clearanceCtrl;
140  wxStaticText* m_clearanceUnits;
141  wxStaticText* m_maskClearanceLabel;
142  wxTextCtrl* m_maskClearanceCtrl;
143  wxStaticText* m_maskClearanceUnits;
144  wxStaticText* m_pasteClearanceLabel;
145  wxTextCtrl* m_pasteClearanceCtrl;
146  wxStaticText* m_pasteClearanceUnits;
147  wxStaticText* m_staticTextRatio;
150  wxSimplebook* m_nonCopperWarningBook;
151  wxStaticText* m_nonCopperNote;
152  wxStaticBitmap* m_nonCopperWarningIcon;
153  wxStaticText* m_nonCopperWarningText;
154  wxStaticBoxSizer* m_sbSizerZonesSettings;
155  wxStaticText* m_staticText40;
157  wxStaticText* m_spokeWidthLabel;
158  wxTextCtrl* m_spokeWidthCtrl;
159  wxStaticText* m_spokeWidthUnits;
160  wxStaticText* m_thermalGapLabel;
161  wxTextCtrl* m_thermalGapCtrl;
162  wxStaticText* m_thermalGapUnits;
166  wxStaticText* m_staticTextcps;
172  wxListView* m_listCtrlPrimitives;
173  wxButton* m_buttonDel;
174  wxButton* m_buttonEditShape;
175  wxButton* m_buttonAddShape;
176  wxButton* m_buttonDup;
177  wxButton* m_buttonGeometry;
178  wxStaticText* m_parentInfoLine1;
179  wxStaticText* m_parentInfoLine2;
180  wxPanel* m_panelShowPad;
183  wxCheckBox* m_cbShowPadOutline;
184  wxStaticLine* m_staticline13;
185  wxStdDialogButtonSizer* m_sdbSizer;
186  wxButton* m_sdbSizerOK;
187  wxButton* m_sdbSizerCancel;
188 
189  // Virtual event handlers, overide them in your derived class
190  virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
191  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
192  virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
193  virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
194  virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
195  virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
196  virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
197  virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
198  virtual void onCornerRadiusChange( wxCommandEvent& event ) { event.Skip(); }
199  virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
200  virtual void OnUpdateUINonCopperWarning( wxUpdateUIEvent& event ) { event.Skip(); }
201  virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
202  virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
203  virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
204  virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
205  virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
206  virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
207  virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
208  virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
209  virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
210  virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
211 
212 
213  public:
214 
215  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( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
217 
218 };
219 
224 {
225  private:
226 
227  protected:
228  wxStaticText* m_staticTextPosStart;
229  wxStaticText* m_startXLabel;
231  wxStaticText* m_startXUnits;
232  wxStaticText* m_startYLabel;
234  wxStaticText* m_startYUnits;
235  wxStaticText* m_staticTextPosEnd;
236  wxStaticText* m_endXLabel;
238  wxStaticText* m_endXUnits;
239  wxStaticText* m_endYLabel;
241  wxStaticText* m_endYUnits;
242  wxStaticText* m_radiusLabel;
244  wxStaticText* m_radiusUnits;
245  wxStaticText* m_thicknessLabel;
246  wxTextCtrl* m_thicknessCtrl;
247  wxStaticText* m_thicknessUnits;
248  wxStaticText* m_staticTextInfo;
249  wxStaticLine* m_staticline1;
250  wxStdDialogButtonSizer* m_sdbSizer;
251  wxButton* m_sdbSizerOK;
252  wxButton* m_sdbSizerCancel;
253 
254  public:
255 
256  DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
258 
259 };
260 
265 {
266  private:
267 
268  protected:
269  wxStaticText* m_staticTextMove;
270  wxStaticText* m_xLabel;
272  wxStaticText* m_xUnits;
273  wxStaticText* m_yLabel;
275  wxStaticText* m_yUnits;
276  wxStaticText* m_rotationLabel;
278  wxStaticText* m_rotationUnits;
279  wxStaticText* m_scaleLabel;
281  wxStaticText* m_staticTextDupCnt;
283  wxStaticLine* m_staticline1;
284  wxStdDialogButtonSizer* m_sdbSizer;
285  wxButton* m_sdbSizerOK;
286  wxButton* m_sdbSizerCancel;
287 
288  public:
289 
290  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( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE );
292 
293 };
294 
299 {
300  private:
301 
302  protected:
304  wxBitmapButton* m_addButton;
305  wxBitmapButton* m_deleteButton;
306  wxStaticText* m_thicknessLabel;
308  wxStaticText* m_thicknessUnits;
309  wxPanel* m_panelPoly;
310  wxStaticBitmap* m_warningIcon;
311  wxStaticText* m_warningText;
312  wxStaticLine* m_staticline3;
313  wxStaticText* m_statusLine1;
314  wxStaticText* m_statusLine2;
315  wxStdDialogButtonSizer* m_sdbSizer;
316  wxButton* m_sdbSizerOK;
317  wxButton* m_sdbSizerCancel;
318 
319  // Virtual event handlers, overide them in your derived class
320  virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
321  virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
322  virtual void OnButtonAdd( wxCommandEvent& event ) { event.Skip(); }
323  virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
324  virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
325  virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
326 
327 
328  public:
329 
330  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( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
332 
333 };
334 
335 #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:82
virtual void OnValuesChanged(wxCommandEvent &event)
virtual void OnPrimitiveSelection(wxListEvent &event)
virtual void OnInitDialog(wxInitDialogEvent &event)
Classes used in Pcbnew, CvPcb and GerbView.
Class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE.
virtual void OnDrillShapeSelected(wxCommandEvent &event)
virtual void PadTypeSelected(wxCommandEvent &event)
virtual void onCornerRadiusChange(wxCommandEvent &event)
virtual void onDeletePrimitive(wxCommandEvent &event)
virtual void onCornerSizePercentChange(wxCommandEvent &event)
virtual void OnPadShapeSelection(wxCommandEvent &event)
wxStaticBoxSizer * m_sbSizerCustomShapedZonesSettings
virtual void onPaintPolyPanel(wxPaintEvent &event)
virtual void PadOrientEvent(wxCommandEvent &event)
Class DIALOG_PAD_PROPERTIES_BASE.
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnUpdateUI(wxUpdateUIEvent &event)
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(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxTextCtrl wrapper to handle math expression evaluation.
virtual void OnUpdateUINonCopperWarning(wxUpdateUIEvent &event)
virtual void OnSetLayers(wxCommandEvent &event)
virtual void onEditPrimitive(wxCommandEvent &event)
virtual void onGeometryTransform(wxCommandEvent &event)
virtual void onChangePadMode(wxCommandEvent &event)
virtual void OnButtonAdd(wxCommandEvent &event)
virtual void OnCancel(wxCommandEvent &event)
Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE.