KiCad PCB EDA Suite
dialog_pad_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
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>
13class DIALOG_SHIM;
14class TEXT_CTRL_EVAL;
15class WX_GRID;
16class wxListView;
17
18#include "dialog_shim.h"
19#include <wx/string.h>
20#include <wx/stattext.h>
21#include <wx/gdicmn.h>
22#include <wx/font.h>
23#include <wx/colour.h>
24#include <wx/settings.h>
25#include <wx/choice.h>
26#include <wx/textctrl.h>
28#include <wx/gbsizer.h>
29#include <wx/statline.h>
30#include <wx/panel.h>
31#include <wx/sizer.h>
32#include <wx/checkbox.h>
33#include <wx/simplebook.h>
34#include <wx/combobox.h>
35#include <wx/bitmap.h>
36#include <wx/image.h>
37#include <wx/icon.h>
38#include <wx/statbmp.h>
39#include <wx/statbox.h>
40#include <wx/listctrl.h>
41#include <wx/button.h>
42#include <wx/notebook.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 wxBoxSizer* m_MainSizer;
65 wxNotebook* m_notebook;
67 wxBoxSizer* m_LeftBoxSizer;
68 wxStaticText* m_padTypeLabel;
69 wxChoice* m_padType;
70 wxStaticText* m_padNumLabel;
71 wxTextCtrl* m_padNumCtrl;
72 wxStaticText* m_padNetLabel;
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 wxStaticLine* m_staticline5;
81 wxStaticText* m_shapeLabel;
83 wxSimplebook* m_shapePropsBook;
84 wxPanel* m_emptyProps;
85 wxPanel* m_trapProps;
86 wxFlexGridSizer* fgSizerTrapProps;
87 wxStaticText* m_trapDeltaLabel;
88 wxTextCtrl* m_trapDeltaCtrl;
89 wxStaticText* m_trapDeltaUnits;
90 wxStaticText* m_trapAxisLabel;
91 wxChoice* m_trapAxisCtrl;
93 wxFlexGridSizer* fgSizerRoundingProps;
94 wxStaticText* m_cornerRatioLabel;
96 wxStaticText* m_cornerRatioUnits;
97 wxStaticText* m_cornerRadiusLabel;
98 wxTextCtrl* m_cornerRadiusCtrl;
99 wxStaticText* m_cornerRadiusUnits;
101 wxStaticText* m_chamferRatioLabel;
103 wxStaticText* m_chamferRatioUnits;
105 wxCheckBox* m_cbTopLeft;
106 wxCheckBox* m_cbTopRight;
107 wxCheckBox* m_cbBottomLeft;
108 wxCheckBox* m_cbBottomRight;
109 wxPanel* m_mixedProps;
114 wxCheckBox* m_cbTopLeft1;
115 wxCheckBox* m_cbTopRight1;
116 wxCheckBox* m_cbBottomLeft1;
117 wxCheckBox* m_cbBottomRight1;
121 wxStaticText* m_sizeXLabel;
122 wxTextCtrl* m_sizeXCtrl;
123 wxStaticText* m_sizeXUnits;
124 wxStaticText* m_sizeYLabel;
125 wxTextCtrl* m_sizeYCtrl;
126 wxStaticText* m_sizeYUnits;
127 wxStaticText* m_PadOrientText;
128 wxComboBox* m_cb_padrotation;
129 wxStaticText* m_orientationUnits;
130 wxStaticLine* m_staticline6;
131 wxGridBagSizer* m_gbSizerHole;
132 wxStaticText* m_holeShapeLabel;
134 wxStaticText* m_holeXLabel;
135 wxTextCtrl* m_holeXCtrl;
136 wxStaticText* m_holeXUnits;
137 wxStaticText* m_holeYLabel;
138 wxTextCtrl* m_holeYCtrl;
139 wxStaticText* m_holeYUnits;
140 wxStaticLine* m_staticline7;
141 wxCheckBox* m_offsetShapeOpt;
143 wxFlexGridSizer* m_offsetCtrls;
144 wxStaticText* m_offsetXLabel;
145 wxTextCtrl* m_offsetXCtrl;
146 wxStaticText* m_offsetXUnits;
147 wxStaticText* m_offsetYLabel;
148 wxTextCtrl* m_offsetYCtrl;
149 wxStaticText* m_offsetYUnits;
150 wxStaticLine* m_staticline71;
151 wxCheckBox* m_padToDieOpt;
152 wxStaticText* m_padToDieLabel;
153 wxTextCtrl* m_padToDieCtrl;
154 wxStaticText* m_padToDieUnits;
155 wxBoxSizer* m_middleBoxSizer;
157 wxStaticBitmap* m_FlippedWarningIcon;
158 wxStaticText* m_staticText86;
159 wxStaticText* m_copperLayersLabel;
161 wxStaticText* m_techLayersLabel;
162 wxCheckBox* m_PadLayerAdhCmp;
163 wxCheckBox* m_PadLayerAdhCu;
164 wxCheckBox* m_PadLayerPateCmp;
165 wxCheckBox* m_PadLayerPateCu;
166 wxCheckBox* m_PadLayerSilkCmp;
167 wxCheckBox* m_PadLayerSilkCu;
168 wxCheckBox* m_PadLayerMaskCmp;
169 wxCheckBox* m_PadLayerMaskCu;
170 wxCheckBox* m_PadLayerDraft;
171 wxCheckBox* m_PadLayerECO1;
172 wxCheckBox* m_PadLayerECO2;
178 wxStaticText* m_clearanceLabel;
179 wxTextCtrl* m_clearanceCtrl;
180 wxStaticText* m_clearanceUnits;
181 wxStaticText* m_maskMarginLabel;
182 wxTextCtrl* m_maskMarginCtrl;
183 wxStaticText* m_maskMarginUnits;
184 wxStaticText* m_pasteMarginLabel;
185 wxTextCtrl* m_pasteMarginCtrl;
186 wxStaticText* m_pasteMarginUnits;
191 wxStaticText* m_nonCopperNote;
193 wxStaticBitmap* m_nonCopperWarningIcon;
195 wxStaticBoxSizer* m_sbSizerZonesSettings;
196 wxStaticText* m_staticText40;
198 wxStaticText* m_staticTextcps;
200 wxStaticText* m_thermalGapLabel;
201 wxTextCtrl* m_thermalGapCtrl;
202 wxStaticText* m_thermalGapUnits;
203 wxStaticText* m_spokeWidthLabel;
204 wxTextCtrl* m_spokeWidthCtrl;
205 wxStaticText* m_spokeWidthUnits;
206 wxStaticText* m_spokeAngleLabel;
207 wxTextCtrl* m_spokeAngleCtrl;
208 wxStaticText* m_spokeAngleUnits;
216 wxButton* m_buttonDup;
218 wxButton* m_buttonDel;
219 wxSimplebook* m_stackupImagesBook;
220 wxPanel* page0;
221 wxStaticBitmap* m_stackupImage0;
222 wxPanel* page1;
223 wxStaticBitmap* m_stackupImage1;
224 wxPanel* page2;
225 wxStaticBitmap* m_stackupImage2;
226 wxPanel* page3;
227 wxPanel* page4;
228 wxStaticBitmap* m_stackupImage4;
229 wxPanel* page5;
230 wxStaticBitmap* m_stackupImage5;
231 wxPanel* page6;
232 wxStaticBitmap* m_stackupImage6;
233 wxPanel* page7;
234 wxStaticBitmap* m_stackupImage7;
236 wxBoxSizer* m_padPreviewSizer;
237 wxStaticText* m_parentInfo;
239 wxStdDialogButtonSizer* m_sdbSizer;
240 wxButton* m_sdbSizerOK;
242
243 // Virtual event handlers, override them in your derived class
244 virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
245 virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
246 virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
247 virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
248 virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
249 virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
250 virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
251 virtual void onCornerRadiusChange( wxCommandEvent& event ) { event.Skip(); }
252 virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
253 virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
254 virtual void OnOffsetCheckbox( wxCommandEvent& event ) { event.Skip(); }
255 virtual void OnPadToDieCheckbox( wxCommandEvent& event ) { event.Skip(); }
256 virtual void OnSetCopperLayers( wxCommandEvent& event ) { event.Skip(); }
257 virtual void OnUpdateUINonCopperWarning( wxUpdateUIEvent& event ) { event.Skip(); }
258 virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
259 virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
260 virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
261 virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
262 virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
263 virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
264 virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
265 virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
266 virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
267
268
269 public:
270
271 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 );
272
274
275};
276
281{
282 private:
283
284 protected:
285 wxStaticText* m_staticTextPosStart;
286 wxStaticText* m_startXLabel;
288 wxStaticText* m_startXUnits;
289 wxStaticText* m_startYLabel;
291 wxStaticText* m_startYUnits;
292 wxStaticText* m_staticTextPosCtrl1;
293 wxStaticText* m_ctrl1XLabel;
295 wxStaticText* m_ctrl1XUnits;
296 wxStaticText* m_ctrl1YLabel;
298 wxStaticText* m_ctrl1YUnits;
299 wxStaticText* m_staticTextPosCtrl2;
300 wxStaticText* m_ctrl2XLabel;
302 wxStaticText* m_ctrl2XUnits;
303 wxStaticText* m_ctrl2YLabel;
305 wxStaticText* m_ctrl2YUnits;
306 wxStaticText* m_staticTextPosEnd;
307 wxStaticText* m_endXLabel;
309 wxStaticText* m_endXUnits;
310 wxStaticText* m_endYLabel;
312 wxStaticText* m_endYUnits;
313 wxStaticText* m_radiusLabel;
315 wxStaticText* m_radiusUnits;
316 wxStaticText* m_thicknessLabel;
317 wxTextCtrl* m_thicknessCtrl;
318 wxStaticText* m_thicknessUnits;
319 wxCheckBox* m_filledCtrl;
320 wxStaticLine* m_staticline1;
321 wxStdDialogButtonSizer* m_sdbSizer;
322 wxButton* m_sdbSizerOK;
324
325 public:
326
327 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 );
328
330
331};
332
337{
338 private:
339
340 protected:
341 wxStaticText* m_staticTextMove;
342 wxStaticText* m_xLabel;
344 wxStaticText* m_xUnits;
345 wxStaticText* m_yLabel;
347 wxStaticText* m_yUnits;
348 wxStaticText* m_rotationLabel;
350 wxStaticText* m_rotationUnits;
351 wxStaticText* m_scaleLabel;
353 wxStaticText* m_staticTextDupCnt;
355 wxStaticLine* m_staticline1;
356 wxStdDialogButtonSizer* m_sdbSizer;
357 wxButton* m_sdbSizerOK;
359
360 public:
361
362 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 );
363
365
366};
367
372{
373 private:
374
375 protected:
377 wxBitmapButton* m_addButton;
378 wxBitmapButton* m_deleteButton;
379 wxStaticText* m_thicknessLabel;
381 wxStaticText* m_thicknessUnits;
382 wxCheckBox* m_filledCtrl;
383 wxPanel* m_panelPoly;
384 wxStaticBitmap* m_warningIcon;
385 wxStaticText* m_warningText;
386 wxStaticLine* m_staticline3;
387 wxStaticText* m_statusLine1;
388 wxStdDialogButtonSizer* m_sdbSizer;
389 wxButton* m_sdbSizerOK;
391
392 // Virtual event handlers, override them in your derived class
393 virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
394 virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
395 virtual void OnButtonAdd( wxCommandEvent& event ) { event.Skip(); }
396 virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
397 virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
398 virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
399
400
401 public:
402
403 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 );
404
406
407};
408
Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE.
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)
Class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE.
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)
Class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE.
virtual void onGridSelect(wxGridRangeSelectEvent &event)
virtual void onCellSelect(wxGridEvent &event)
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)
virtual void onPolyPanelResize(wxSizeEvent &event)
virtual void OnButtonAdd(wxCommandEvent &event)
virtual void OnButtonDelete(wxCommandEvent &event)
virtual void onPaintPolyPanel(wxPaintEvent &event)
Class DIALOG_PAD_PROPERTIES_BASE.
virtual void PadOrientEvent(wxCommandEvent &event)
virtual void onChangePadMode(wxCommandEvent &event)
virtual void OnInitDialog(wxInitDialogEvent &event)
virtual void onEditPrimitive(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void onDeletePrimitive(wxCommandEvent &event)
virtual void OnPadToDieCheckbox(wxCommandEvent &event)
virtual void OnUpdateUINonCopperWarning(wxUpdateUIEvent &event)
virtual void OnCancel(wxCommandEvent &event)
virtual void PadTypeSelected(wxCommandEvent &event)
virtual void OnPadShapeSelection(wxCommandEvent &event)
virtual void OnUpdateUI(wxUpdateUIEvent &event)
virtual void onCornerRadiusChange(wxCommandEvent &event)
virtual void OnValuesChanged(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)
virtual void OnOffsetCheckbox(wxCommandEvent &event)
virtual void onAddPrimitive(wxCommandEvent &event)
virtual void onCornerSizePercentChange(wxCommandEvent &event)
virtual void OnDrillShapeSelected(wxCommandEvent &event)
virtual void OnSetLayers(wxCommandEvent &event)
virtual void onPrimitiveDClick(wxMouseEvent &event)
virtual void OnPrimitiveSelection(wxListEvent &event)
virtual void OnSetCopperLayers(wxCommandEvent &event)
virtual void onGeometryTransform(wxCommandEvent &event)
virtual void onDuplicatePrimitive(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
wxTextCtrl wrapper to handle math expression evaluation.
#define _(s)