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 TEXT_CTRL_EVAL;
16 class 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/textctrl.h>
26 #include <wx/choice.h>
27 #include <wx/statline.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/listctrl.h>
37 #include <wx/button.h>
38 #include <wx/notebook.h>
39 #include <pcb_base_frame.h>
40 #include <pcb_draw_panel_gal.h>
41 #include <wx/dialog.h>
42 #include <wx/spinctrl.h>
43 #include <wx/grid.h>
44 
46 
51 {
52  private:
53 
54  protected:
55  enum
56  {
60  };
61 
62  wxNotebook* m_notebook;
63  wxPanel* m_panelGeneral;
64  wxStaticText* m_PadNumText;
65  wxTextCtrl* m_PadNumCtrl;
66  wxStaticText* m_PadNameText;
67  wxTextCtrl* m_PadNetNameCtrl;
68  wxStaticText* m_staticText44;
69  wxChoice* m_PadType;
70  wxStaticText* m_staticText45;
71  wxChoice* m_PadShape;
72  wxStaticText* m_staticText4;
74  wxStaticText* m_PadPosX_Unit;
75  wxStaticText* m_staticText41;
77  wxStaticText* m_PadPosY_Unit;
78  wxStaticText* m_staticText12;
80  wxStaticText* m_PadShapeSizeX_Unit;
81  wxStaticText* m_staticText15;
83  wxStaticText* m_PadShapeSizeY_Unit;
84  wxStaticText* m_PadOrientText;
85  wxChoice* m_PadOrient;
86  wxStaticText* m_staticText491;
88  wxStaticText* m_customOrientUnits;
89  wxStaticText* m_staticText17;
91  wxStaticText* m_PadShapeOffsetX_Unit;
92  wxStaticText* m_staticText19;
94  wxStaticText* m_PadShapeOffsetY_Unit;
95  wxStaticText* m_staticText38;
97  wxStaticText* m_PadLengthDie_Unit;
98  wxStaticLine* m_staticline4;
99  wxStaticLine* m_staticline5;
100  wxStaticLine* m_staticline6;
101  wxStaticText* m_staticText21;
103  wxStaticText* m_PadShapeDelta_Unit;
104  wxStaticText* m_staticText23;
106  wxStaticLine* m_staticline7;
107  wxStaticLine* m_staticline8;
108  wxStaticLine* m_staticline9;
115  wxStaticText* m_staticText47;
116  wxChoice* m_DrillShapeCtrl;
117  wxStaticText* m_staticText51;
118  wxStaticText* m_textPadDrillX;
120  wxStaticText* m_PadDrill_X_Unit;
121  wxStaticText* m_textPadDrillY;
123  wxStaticText* m_PadDrill_Y_Unit;
125  wxStaticBitmap* m_FlippedWarningIcon;
126  wxStaticText* m_staticText86;
127  wxStaticText* m_staticText511;
129  wxCheckBox* m_PadLayerAdhCmp;
130  wxCheckBox* m_PadLayerAdhCu;
131  wxCheckBox* m_PadLayerPateCmp;
132  wxCheckBox* m_PadLayerPateCu;
133  wxCheckBox* m_PadLayerSilkCmp;
134  wxCheckBox* m_PadLayerSilkCu;
135  wxCheckBox* m_PadLayerMaskCmp;
136  wxCheckBox* m_PadLayerMaskCu;
137  wxCheckBox* m_PadLayerDraft;
138  wxCheckBox* m_PadLayerECO1;
139  wxCheckBox* m_PadLayerECO2;
141  wxStaticText* m_staticTextWarning;
143  wxStaticText* m_staticTextInfoNegVal;
146  wxStaticText* m_NetClearanceUnits;
147  wxStaticText* m_MaskClearanceTitle;
149  wxStaticText* m_SolderMaskMarginUnits;
150  wxStaticText* m_staticTextSolderPaste;
153  wxStaticText* m_staticTextRatio;
156  wxStaticBoxSizer* m_sbSizerZonesSettings;
157  wxStaticText* m_staticText40;
159  wxStaticText* m_staticText49;
161  wxStaticText* m_ThermalWidthUnits;
162  wxStaticText* m_staticText52;
164  wxStaticText* m_ThermalGapUnits;
167  wxTextCtrl* m_textCtrlNone;
168  wxStaticText* m_staticTextcps;
174  wxListView* m_listCtrlPrimitives;
175  wxButton* m_buttonDel;
176  wxButton* m_buttonEditShape;
177  wxButton* m_buttonAddShape;
178  wxButton* m_buttonDup;
179  wxButton* m_buttonGeometry;
180  wxButton* m_buttonImport;
181  wxStaticText* m_staticModuleSideValue;
182  wxStaticText* m_staticTitleModuleRot;
183  wxStaticText* m_staticModuleRotValue;
184  wxPanel* m_panelShowPad;
187  wxCheckBox* m_cbShowPadOutline;
188  wxStaticLine* m_staticline13;
189  wxStdDialogButtonSizer* m_sdbSizer;
190  wxButton* m_sdbSizerOK;
191  wxButton* m_sdbSizerCancel;
192 
193  // Virtual event handlers, overide them in your derived class
194  virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
195  virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
196  virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
197  virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
198  virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
199  virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
200  virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
201  virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
202  virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
203  virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
204  virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
205  virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
206  virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
207  virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
208  virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
209  virtual void onImportPrimitives( wxCommandEvent& event ) { event.Skip(); }
210  virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
211  virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
212  virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
213 
214 
215  public:
216 
217  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 );
219 
220 };
221 
226 {
227  private:
228 
229  protected:
230  wxStaticText* m_staticTextInfo;
231  wxStaticText* m_staticTextPosStart;
232  wxStaticText* m_staticTextStartX;
234  wxStaticText* m_staticTextStartY;
236  wxStaticText* m_staticTextPosUnit;
237  wxStaticText* m_staticTextPosEnd;
238  wxStaticText* m_staticTextEndX;
240  wxStaticText* m_staticTextEndY;
242  wxStaticText* m_staticTextEndUnit;
243  wxStaticText* m_staticTextAngle;
245  wxStaticText* m_staticTextAngleUnit;
246  wxStaticText* m_staticTextThickness;
247  wxTextCtrl* m_textCtrlThickness;
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_staticTextMoveX;
272  wxStaticText* m_staticTextMoveY;
274  wxStaticText* m_staticTextMoveUnit;
275  wxStaticText* m_staticTextAngle;
277  wxStaticText* m_staticTextAngleUnit;
278  wxStaticText* m_staticTextSF;
280  wxStaticText* m_staticTextDupCnt;
282  wxStaticLine* m_staticline1;
283  wxStdDialogButtonSizer* m_sdbSizer;
284  wxButton* m_sdbSizerOK;
285  wxButton* m_sdbSizerCancel;
286 
287  public:
288 
289  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 );
291 
292 };
293 
298 {
299  private:
300 
301  protected:
303  wxStaticText* m_staticTextValidate;
305  wxButton* m_buttonAdd;
306  wxButton* m_buttonDelete;
307  wxPanel* m_panelPoly;
308  wxStaticText* m_staticTextThickness;
311  wxStaticText* m_staticTextInfo;
312  wxStaticLine* m_staticline3;
313  wxStdDialogButtonSizer* m_sdbSizer;
314  wxButton* m_sdbSizerOK;
315  wxButton* m_sdbSizerCancel;
316 
317  // Virtual event handlers, overide them in your derived class
318  virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
319  virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
320  virtual void onButtonAdd( wxCommandEvent& event ) { event.Skip(); }
321  virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
322  virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
323  virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
324 
325 
326  public:
327 
328  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 );
330 
331 };
332 
333 #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:70
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 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 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 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 onImportPrimitives(wxCommandEvent &event)
virtual void OnCancel(wxCommandEvent &event)
Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE.