KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_pad_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
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 TEXT_CTRL_EVAL;
14
15#include "dialog_shim.h"
16#include <wx/string.h>
17#include <wx/stattext.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/choice.h>
23#include <wx/textctrl.h>
25#include <wx/gbsizer.h>
26#include <wx/statline.h>
27#include <wx/sizer.h>
28#include <wx/panel.h>
29#include <wx/checkbox.h>
30#include <wx/simplebook.h>
31#include <wx/combobox.h>
32#include <wx/bitmap.h>
33#include <wx/image.h>
34#include <wx/icon.h>
35#include <wx/statbmp.h>
36#include <wx/statbox.h>
37#include <wx/spinctrl.h>
38#include <wx/notebook.h>
39#include <wx/button.h>
40#include <wx/dialog.h>
41
43
44#define wxID_DIALOG_EDIT_PAD 1000
45#define wxID_PADNUMCTRL 1001
46
51{
52 private:
53
54 protected:
55 wxBoxSizer* m_MainSizer;
56 wxNotebook* m_notebook;
58 wxBoxSizer* m_LeftBoxSizer;
59 wxStaticText* m_padTypeLabel;
60 wxChoice* m_padType;
61 wxStaticText* m_padNumLabel;
62 wxTextCtrl* m_padNumCtrl;
63 wxStaticText* m_padNetLabel;
65 wxStaticText* m_posXLabel;
66 wxTextCtrl* m_posXCtrl;
67 wxStaticText* m_posXUnits;
68 wxStaticText* m_posYLabel;
69 wxTextCtrl* m_posYCtrl;
70 wxStaticText* m_posYUnits;
71 wxStaticLine* m_staticline5;
72 wxBoxSizer* m_padstackControls;
73 wxStaticText* m_staticText891;
75 wxStaticText* m_staticText90;
76 wxChoice* m_cbEditLayer;
77 wxStaticText* m_shapeLabel;
79 wxSimplebook* m_shapePropsBook;
80 wxPanel* m_emptyProps;
81 wxPanel* m_trapProps;
82 wxFlexGridSizer* fgSizerTrapProps;
83 wxStaticText* m_trapDeltaLabel;
84 wxTextCtrl* m_trapDeltaCtrl;
85 wxStaticText* m_trapDeltaUnits;
86 wxStaticText* m_trapAxisLabel;
87 wxChoice* m_trapAxisCtrl;
89 wxFlexGridSizer* fgSizerRoundingProps;
90 wxStaticText* m_cornerRatioLabel;
92 wxStaticText* m_cornerRatioUnits;
93 wxStaticText* m_cornerRadiusLabel;
94 wxTextCtrl* m_cornerRadiusCtrl;
95 wxStaticText* m_cornerRadiusUnits;
97 wxStaticText* m_chamferRatioLabel;
99 wxStaticText* m_chamferRatioUnits;
101 wxCheckBox* m_cbTopLeft;
102 wxCheckBox* m_cbTopRight;
103 wxCheckBox* m_cbBottomLeft;
104 wxCheckBox* m_cbBottomRight;
105 wxPanel* m_mixedProps;
110 wxCheckBox* m_cbTopLeft1;
111 wxCheckBox* m_cbTopRight1;
112 wxCheckBox* m_cbBottomLeft1;
113 wxCheckBox* m_cbBottomRight1;
117 wxStaticText* m_sizeXLabel;
118 wxTextCtrl* m_sizeXCtrl;
119 wxStaticText* m_sizeXUnits;
120 wxStaticText* m_sizeYLabel;
121 wxTextCtrl* m_sizeYCtrl;
122 wxStaticText* m_sizeYUnits;
123 wxStaticText* m_PadOrientText;
124 wxComboBox* m_cb_padrotation;
125 wxStaticText* m_orientationUnits;
126 wxStaticLine* m_staticline6;
127 wxCheckBox* m_offsetShapeOpt;
129 wxFlexGridSizer* m_offsetCtrls;
130 wxStaticText* m_offsetXLabel;
131 wxTextCtrl* m_offsetXCtrl;
132 wxStaticText* m_offsetXUnits;
133 wxStaticText* m_offsetYLabel;
134 wxTextCtrl* m_offsetYCtrl;
135 wxStaticText* m_offsetYUnits;
136 wxStaticLine* m_staticline7;
137 wxGridBagSizer* m_gbSizerHole;
138 wxStaticText* m_holeShapeLabel;
140 wxStaticText* m_holeXLabel;
141 wxTextCtrl* m_holeXCtrl;
142 wxStaticText* m_holeXUnits;
143 wxStaticText* m_holeYLabel;
144 wxTextCtrl* m_holeYCtrl;
145 wxStaticText* m_holeYUnits;
146 wxStaticLine* m_staticline71;
147 wxCheckBox* m_padToDieOpt;
148 wxStaticText* m_padToDieLabel;
149 wxTextCtrl* m_padToDieCtrl;
150 wxStaticText* m_padToDieUnits;
151 wxBoxSizer* m_middleBoxSizer;
153 wxStaticBitmap* m_FlippedWarningIcon;
154 wxStaticText* m_staticText86;
155 wxStaticText* m_copperLayersLabel;
157 wxStaticText* m_techLayersLabel;
160 wxCheckBox* m_layerFrontPaste;
161 wxCheckBox* m_layerBackPaste;
162 wxCheckBox* m_layerFrontSilk;
163 wxCheckBox* m_layerBackSilk;
164 wxCheckBox* m_layerFrontMask;
165 wxCheckBox* m_layerBackMask;
166 wxCheckBox* m_layerUserDwgs;
167 wxCheckBox* m_layerECO1;
168 wxCheckBox* m_layerECO2;
173 wxStaticBitmap* m_legacyTeardropsIcon;
174 wxStaticText* m_staticText85;
175 wxStaticText* m_staticText851;
176 wxCheckBox* m_cbTeardrops;
179 wxStaticText* m_stHDRatio;
180 wxSpinCtrlDouble* m_spTeardropHDPercent;
181 wxStaticText* m_minTrackWidthUnits;
182 wxStaticText* m_minTrackWidthHint;
183 wxStaticText* m_staticText87;
184 wxStaticText* m_teardropShapeLabel;
185 wxStaticLine* m_staticline51;
186 wxStaticBitmap* m_bitmapTeardrop;
187 wxStaticText* m_stHsetting;
188 wxSpinCtrlDouble* m_spTeardropLenPercent;
189 wxStaticText* m_stLenPercentUnits;
190 wxStaticText* m_stLenPercentHint;
191 wxStaticText* m_staticText88;
192 wxStaticText* m_stMaxLen;
193 wxTextCtrl* m_tcTdMaxLen;
194 wxStaticText* m_stMaxLenUnits;
195 wxStaticText* m_stVsetting;
196 wxSpinCtrlDouble* m_spTeardropSizePercent;
198 wxStaticText* m_stWidthPercentHint;
199 wxStaticText* m_staticText89;
200 wxStaticText* m_stTdMaxSize;
201 wxTextCtrl* m_tcMaxHeight;
202 wxStaticText* m_stMaxHeightUnits;
203 wxCheckBox* m_curvedEdges;
204 wxStaticText* m_curvePointsLabel;
205 wxSpinCtrl* m_curvePointsCtrl;
206 wxStaticBoxSizer* m_sbSizerZonesSettings;
207 wxStaticText* m_padConnectionLabel;
209 wxStaticText* m_zoneKnockoutLabel;
211 wxStaticText* m_thermalGapLabel;
212 wxTextCtrl* m_thermalGapCtrl;
213 wxStaticText* m_thermalGapUnits;
214 wxStaticText* m_spokeWidthLabel;
215 wxTextCtrl* m_spokeWidthCtrl;
216 wxStaticText* m_spokeWidthUnits;
217 wxStaticText* m_spokeAngleLabel;
218 wxTextCtrl* m_spokeAngleCtrl;
219 wxStaticText* m_spokeAngleUnits;
223 wxStaticText* m_clearanceLabel;
224 wxTextCtrl* m_clearanceCtrl;
225 wxStaticText* m_clearanceUnits;
226 wxStaticText* m_maskMarginLabel;
227 wxTextCtrl* m_maskMarginCtrl;
228 wxStaticText* m_maskMarginUnits;
229 wxStaticText* m_pasteMarginLabel;
230 wxTextCtrl* m_pasteMarginCtrl;
231 wxStaticText* m_pasteMarginUnits;
236 wxStaticText* m_nonCopperNote;
238 wxStaticBitmap* m_nonCopperWarningIcon;
240 wxSimplebook* m_stackupImagesBook;
241 wxPanel* page0;
242 wxStaticBitmap* m_stackupImage0;
243 wxPanel* page1;
244 wxStaticBitmap* m_stackupImage1;
245 wxPanel* page2;
246 wxStaticBitmap* m_stackupImage2;
247 wxPanel* page3;
248 wxPanel* page4;
249 wxStaticBitmap* m_stackupImage4;
250 wxPanel* page5;
251 wxStaticBitmap* m_stackupImage5;
252 wxPanel* page6;
253 wxStaticBitmap* m_stackupImage6;
254 wxPanel* page7;
255 wxStaticBitmap* m_stackupImage7;
257 wxBoxSizer* m_padPreviewSizer;
258 wxStaticText* m_parentInfo;
260 wxStdDialogButtonSizer* m_sdbSizer;
261 wxButton* m_sdbSizerOK;
263
264 // Virtual event handlers, override them in your derived class
265 virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
266 virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
267 virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
268 virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
269 virtual void OnPadstackModeChanged( wxCommandEvent& event ) { event.Skip(); }
270 virtual void OnEditLayerChanged( wxCommandEvent& event ) { event.Skip(); }
271 virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
272 virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
273 virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
274 virtual void onCornerRadiusChange( wxCommandEvent& event ) { event.Skip(); }
275 virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
276 virtual void OnOffsetCheckbox( wxCommandEvent& event ) { event.Skip(); }
277 virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
278 virtual void OnPadToDieCheckbox( wxCommandEvent& event ) { event.Skip(); }
279 virtual void OnSetCopperLayers( wxCommandEvent& event ) { event.Skip(); }
280 virtual void onModify( wxCommandEvent& event ) { event.Skip(); }
281 virtual void onTeardropsUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
282 virtual void onModify( wxSpinDoubleEvent& event ) { event.Skip(); }
283 virtual void onTeardropCurvePointsUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
284 virtual void OnUpdateUINonCopperWarning( wxUpdateUIEvent& event ) { event.Skip(); }
285 virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
286 virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
287
288
289 public:
290
291 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 );
292
294
295};
296
Class DIALOG_PAD_PROPERTIES_BASE.
virtual void PadOrientEvent(wxCommandEvent &event)
virtual void onChangePadMode(wxCommandEvent &event)
virtual void OnInitDialog(wxInitDialogEvent &event)
virtual void onModify(wxSpinDoubleEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void onTeardropCurvePointsUpdateUi(wxUpdateUIEvent &event)
virtual void OnPadToDieCheckbox(wxCommandEvent &event)
virtual void OnUpdateUINonCopperWarning(wxUpdateUIEvent &event)
virtual void OnPadstackModeChanged(wxCommandEvent &event)
virtual void onTeardropsUpdateUi(wxUpdateUIEvent &event)
virtual void OnCancel(wxCommandEvent &event)
virtual void PadTypeSelected(wxCommandEvent &event)
virtual void OnPadShapeSelection(wxCommandEvent &event)
virtual void OnEditLayerChanged(wxCommandEvent &event)
virtual void OnUpdateUI(wxUpdateUIEvent &event)
virtual void onModify(wxCommandEvent &event)
virtual void onCornerRadiusChange(wxCommandEvent &event)
virtual void OnValuesChanged(wxCommandEvent &event)
virtual void OnOffsetCheckbox(wxCommandEvent &event)
virtual void onCornerSizePercentChange(wxCommandEvent &event)
virtual void OnDrillShapeSelected(wxCommandEvent &event)
virtual void OnSetLayers(wxCommandEvent &event)
virtual void OnSetCopperLayers(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
wxTextCtrl wrapper to handle math expression evaluation.
#define wxID_DIALOG_EDIT_PAD
#define _(s)