KiCad PCB EDA Suite
PANEL_SETUP_FEATURE_CONSTRAINTS_BASE Class Reference

Class PANEL_SETUP_FEATURE_CONSTRAINTS_BASE. More...

#include <panel_setup_feature_constraints_base.h>

Inheritance diagram for PANEL_SETUP_FEATURE_CONSTRAINTS_BASE:
PANEL_SETUP_FEATURE_CONSTRAINTS

Public Member Functions

 PANEL_SETUP_FEATURE_CONSTRAINTS_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_SETUP_FEATURE_CONSTRAINTS_BASE ()
 

Protected Member Functions

virtual void onChangeOutlineOpt (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_staticText26
 
wxStaticBitmap * m_bitmapBlindBuried
 
wxCheckBox * m_OptAllowBlindBuriedVias
 
wxStaticBitmap * m_bitmap_uVia
 
wxCheckBox * m_OptAllowMicroVias
 
wxStaticLine * m_staticline2
 
wxStaticText * m_stCircleToPolyOpt
 
wxStaticText * m_maxErrorTitle
 
wxTextCtrl * m_maxErrorCtrl
 
wxStaticText * m_maxErrorUnits
 
wxBoxSizer * m_bSizerPolygonFillOption
 
wxStaticLine * m_staticline1
 
wxStaticText * m_stZoneFilledPolysOpt
 
wxStaticBitmap * m_bitmapZoneFillOpt
 
wxRadioButton * m_rbOutlinePolygonBestQ
 
wxRadioButton * m_rbOutlinePolygonFastest
 
wxStaticText * m_staticText23
 
wxStaticBitmap * m_bitmapClearance
 
wxStaticText * m_clearanceTitle
 
wxTextCtrl * m_clearanceCtrl
 
wxStaticText * m_clearanceUnits
 
wxStaticBitmap * m_bitmapMinTrackWidth
 
wxStaticText * m_TrackMinWidthTitle
 
wxTextCtrl * m_TrackMinWidthCtrl
 
wxStaticText * m_TrackMinWidthUnits
 
wxStaticBitmap * m_bitmapMinViaAnnulus
 
wxStaticText * m_ViaMinAnnulusTitle
 
wxTextCtrl * m_ViaMinAnnulusCtrl
 
wxStaticText * m_ViaMinAnnulusUnits
 
wxStaticBitmap * m_bitmapMinViaDiameter
 
wxStaticText * m_ViaMinTitle
 
wxTextCtrl * m_SetViasMinSizeCtrl
 
wxStaticText * m_ViaMinUnits
 
wxStaticBitmap * m_bitmapEdgeClearance
 
wxStaticText * m_EdgeClearanceLabel
 
wxTextCtrl * m_EdgeClearanceCtrl
 
wxStaticText * m_EdgeClearanceUnits
 
wxStaticLine * m_staticline3
 
wxStaticLine * m_staticline4
 
wxStaticLine * m_staticline5
 
wxStaticLine * m_staticline6
 
wxStaticText * m_staticText24
 
wxStaticBitmap * m_bitmapMinViaDrill
 
wxStaticText * m_MinDrillTitle
 
wxTextCtrl * m_MinDrillCtrl
 
wxStaticText * m_MinDrillUnits
 
wxStaticBitmap * m_bitmapMinHoleClearance
 
wxStaticText * m_HoleToHoleTitle
 
wxTextCtrl * m_SetHoleToHoleCtrl
 
wxStaticText * m_HoleToHoleUnits
 
wxStaticLine * m_staticline8
 
wxStaticLine * m_staticline9
 
wxStaticLine * m_staticline10
 
wxStaticLine * m_staticline11
 
wxStaticText * m_staticText25
 
wxStaticBitmap * m_bitmapMinuViaDiameter
 
wxStaticText * m_uviaMinSizeLabel
 
wxTextCtrl * m_uviaMinSizeCtrl
 
wxStaticText * m_uviaMinSizeUnits
 
wxStaticBitmap * m_bitmapMinuViaDrill
 
wxStaticText * m_uviaMinDrillLabel
 
wxTextCtrl * m_uviaMinDrillCtrl
 
wxStaticText * m_uviaMinDrillUnits
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_SETUP_FEATURE_CONSTRAINTS_BASE()

PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::PANEL_SETUP_FEATURE_CONSTRAINTS_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

Definition at line 12 of file panel_setup_feature_constraints_base.cpp.

12  : wxPanel( parent, id, pos, size, style, name )
13 {
14  wxBoxSizer* bMainSizer;
15  bMainSizer = new wxBoxSizer( wxHORIZONTAL );
16 
17  wxBoxSizer* sbFeatureRules;
18  sbFeatureRules = new wxBoxSizer( wxVERTICAL );
19 
20  m_staticText26 = new wxStaticText( this, wxID_ANY, _("Allowed features"), wxDefaultPosition, wxDefaultSize, 0 );
21  m_staticText26->Wrap( -1 );
22  sbFeatureRules->Add( m_staticText26, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
23 
24  wxFlexGridSizer* fgSizerViaOpt;
25  fgSizerViaOpt = new wxFlexGridSizer( 0, 2, 0, 0 );
26  fgSizerViaOpt->SetFlexibleDirection( wxBOTH );
27  fgSizerViaOpt->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
28 
29  m_bitmapBlindBuried = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
30  fgSizerViaOpt->Add( m_bitmapBlindBuried, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
31 
32  m_OptAllowBlindBuriedVias = new wxCheckBox( this, wxID_ANY, _("Allow blind/buried vias"), wxDefaultPosition, wxDefaultSize, 0 );
33  fgSizerViaOpt->Add( m_OptAllowBlindBuriedVias, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
34 
35  m_bitmap_uVia = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
36  fgSizerViaOpt->Add( m_bitmap_uVia, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
37 
38  m_OptAllowMicroVias = new wxCheckBox( this, wxID_ANY, _("Allow micro vias (uVias)"), wxDefaultPosition, wxDefaultSize, 0 );
39  fgSizerViaOpt->Add( m_OptAllowMicroVias, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
40 
41 
42  sbFeatureRules->Add( fgSizerViaOpt, 0, wxEXPAND|wxTOP, 5 );
43 
44 
45  sbFeatureRules->Add( 0, 5, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
46 
47  wxBoxSizer* bSizerArcToPoly;
48  bSizerArcToPoly = new wxBoxSizer( wxVERTICAL );
49 
50  m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
51  bSizerArcToPoly->Add( m_staticline2, 0, wxEXPAND | wxALL, 2 );
52 
53  m_stCircleToPolyOpt = new wxStaticText( this, wxID_ANY, _("Arc/circle drawing"), wxDefaultPosition, wxDefaultSize, 0 );
54  m_stCircleToPolyOpt->Wrap( -1 );
55  m_stCircleToPolyOpt->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
56 
57  bSizerArcToPoly->Add( m_stCircleToPolyOpt, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
58 
59  wxFlexGridSizer* fgSizer2;
60  fgSizer2 = new wxFlexGridSizer( 0, 4, 3, 0 );
61  fgSizer2->AddGrowableCol( 2 );
62  fgSizer2->SetFlexibleDirection( wxBOTH );
63  fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
64 
65 
66  fgSizer2->Add( 15, 0, 1, wxEXPAND, 5 );
67 
68  m_maxErrorTitle = new wxStaticText( this, wxID_ANY, _("Maximum deviation:"), wxDefaultPosition, wxDefaultSize, 0 );
69  m_maxErrorTitle->Wrap( -1 );
70  m_maxErrorTitle->SetToolTip( _("This is the maximum distance between a circle and the polygonal shape that approximate it.\nThe error max defines the number of segments of this polygon.") );
71 
72  fgSizer2->Add( m_maxErrorTitle, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT|wxLEFT, 5 );
73 
74  m_maxErrorCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
75  fgSizer2->Add( m_maxErrorCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND|wxLEFT|wxRIGHT, 5 );
76 
77  m_maxErrorUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
78  m_maxErrorUnits->Wrap( -1 );
79  fgSizer2->Add( m_maxErrorUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
80 
81 
82  bSizerArcToPoly->Add( fgSizer2, 0, wxEXPAND|wxBOTTOM, 5 );
83 
84 
85  sbFeatureRules->Add( bSizerArcToPoly, 0, wxEXPAND|wxTOP, 5 );
86 
87  m_bSizerPolygonFillOption = new wxBoxSizer( wxVERTICAL );
88 
89  m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
90  m_bSizerPolygonFillOption->Add( m_staticline1, 0, wxEXPAND | wxALL, 2 );
91 
92  m_stZoneFilledPolysOpt = new wxStaticText( this, wxID_ANY, _("Zone fill strategy"), wxDefaultPosition, wxDefaultSize, 0 );
93  m_stZoneFilledPolysOpt->Wrap( -1 );
94  m_stZoneFilledPolysOpt->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
95 
97 
98  wxBoxSizer* bSizer5;
99  bSizer5 = new wxBoxSizer( wxHORIZONTAL );
100 
101  m_bitmapZoneFillOpt = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
102  bSizer5->Add( m_bitmapZoneFillOpt, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
103 
104  wxBoxSizer* bSizerOutlinesOpts;
105  bSizerOutlinesOpts = new wxBoxSizer( wxVERTICAL );
106 
107  m_rbOutlinePolygonBestQ = new wxRadioButton( this, wxID_ANY, _("Stroked outlines (legacy)"), wxDefaultPosition, wxDefaultSize, 0 );
108  bSizerOutlinesOpts->Add( m_rbOutlinePolygonBestQ, 0, wxALL, 4 );
109 
110  m_rbOutlinePolygonFastest = new wxRadioButton( this, wxID_ANY, _("Smoothed polygons (best performance)"), wxDefaultPosition, wxDefaultSize, 0 );
111  m_rbOutlinePolygonFastest->SetValue( true );
112  bSizerOutlinesOpts->Add( m_rbOutlinePolygonFastest, 0, wxALL, 4 );
113 
114 
115  bSizer5->Add( bSizerOutlinesOpts, 1, wxEXPAND, 5 );
116 
117 
118  m_bSizerPolygonFillOption->Add( bSizer5, 1, wxEXPAND, 15 );
119 
120 
121  sbFeatureRules->Add( m_bSizerPolygonFillOption, 0, wxEXPAND|wxTOP, 10 );
122 
123 
124  bMainSizer->Add( sbFeatureRules, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
125 
126 
127  bMainSizer->Add( 0, 0, 0, wxEXPAND|wxRIGHT|wxLEFT, 15 );
128 
129  wxBoxSizer* sbFeatureConstraints;
130  sbFeatureConstraints = new wxBoxSizer( wxVERTICAL );
131 
132  wxFlexGridSizer* fgFeatureConstraints;
133  fgFeatureConstraints = new wxFlexGridSizer( 0, 4, 0, 0 );
134  fgFeatureConstraints->SetFlexibleDirection( wxBOTH );
135  fgFeatureConstraints->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
136 
137  m_staticText23 = new wxStaticText( this, wxID_ANY, _("Copper"), wxDefaultPosition, wxDefaultSize, 0 );
138  m_staticText23->Wrap( -1 );
139  fgFeatureConstraints->Add( m_staticText23, 0, wxTOP|wxBOTTOM|wxLEFT, 5 );
140 
141 
142  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND, 5 );
143 
144 
145  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND, 5 );
146 
147 
148  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND, 5 );
149 
150  m_bitmapClearance = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
151  fgFeatureConstraints->Add( m_bitmapClearance, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
152 
153  m_clearanceTitle = new wxStaticText( this, wxID_ANY, _("Minimum clearance:"), wxDefaultPosition, wxDefaultSize, 0 );
154  m_clearanceTitle->Wrap( -1 );
155  fgFeatureConstraints->Add( m_clearanceTitle, 0, wxALIGN_CENTER_VERTICAL, 5 );
156 
157  m_clearanceCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
158  fgFeatureConstraints->Add( m_clearanceCtrl, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
159 
160  m_clearanceUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
161  m_clearanceUnits->Wrap( -1 );
162  fgFeatureConstraints->Add( m_clearanceUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
163 
164  m_bitmapMinTrackWidth = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
165  fgFeatureConstraints->Add( m_bitmapMinTrackWidth, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
166 
167  m_TrackMinWidthTitle = new wxStaticText( this, wxID_ANY, _("Minimum track width:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
168  m_TrackMinWidthTitle->Wrap( -1 );
169  fgFeatureConstraints->Add( m_TrackMinWidthTitle, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
170 
171  m_TrackMinWidthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
172  m_TrackMinWidthCtrl->SetMinSize( wxSize( 120,-1 ) );
173 
174  fgFeatureConstraints->Add( m_TrackMinWidthCtrl, 0, wxALIGN_LEFT|wxALIGN_TOP|wxEXPAND|wxALL, 5 );
175 
176  m_TrackMinWidthUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
177  m_TrackMinWidthUnits->Wrap( -1 );
178  fgFeatureConstraints->Add( m_TrackMinWidthUnits, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
179 
180  m_bitmapMinViaAnnulus = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
181  fgFeatureConstraints->Add( m_bitmapMinViaAnnulus, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
182 
183  m_ViaMinAnnulusTitle = new wxStaticText( this, wxID_ANY, _("Minimum via annulus:"), wxDefaultPosition, wxDefaultSize, 0 );
184  m_ViaMinAnnulusTitle->Wrap( -1 );
185  fgFeatureConstraints->Add( m_ViaMinAnnulusTitle, 0, wxALIGN_CENTER_VERTICAL, 5 );
186 
187  m_ViaMinAnnulusCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
188  fgFeatureConstraints->Add( m_ViaMinAnnulusCtrl, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
189 
190  m_ViaMinAnnulusUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
191  m_ViaMinAnnulusUnits->Wrap( -1 );
192  fgFeatureConstraints->Add( m_ViaMinAnnulusUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
193 
194  m_bitmapMinViaDiameter = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
195  fgFeatureConstraints->Add( m_bitmapMinViaDiameter, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
196 
197  m_ViaMinTitle = new wxStaticText( this, wxID_ANY, _("Minimum via diameter:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
198  m_ViaMinTitle->Wrap( -1 );
199  fgFeatureConstraints->Add( m_ViaMinTitle, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
200 
201  m_SetViasMinSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
202  fgFeatureConstraints->Add( m_SetViasMinSizeCtrl, 0, wxEXPAND|wxALL|wxALIGN_CENTER_VERTICAL, 5 );
203 
204  m_ViaMinUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
205  m_ViaMinUnits->Wrap( -1 );
206  fgFeatureConstraints->Add( m_ViaMinUnits, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
207 
208  m_bitmapEdgeClearance = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
209  fgFeatureConstraints->Add( m_bitmapEdgeClearance, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
210 
211  m_EdgeClearanceLabel = new wxStaticText( this, wxID_ANY, _("Copper edge clearance:"), wxDefaultPosition, wxDefaultSize, 0 );
212  m_EdgeClearanceLabel->Wrap( -1 );
213  fgFeatureConstraints->Add( m_EdgeClearanceLabel, 0, wxALIGN_CENTER_VERTICAL, 5 );
214 
215  m_EdgeClearanceCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
216  fgFeatureConstraints->Add( m_EdgeClearanceCtrl, 0, wxALL|wxEXPAND, 5 );
217 
218  m_EdgeClearanceUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
219  m_EdgeClearanceUnits->Wrap( -1 );
220  fgFeatureConstraints->Add( m_EdgeClearanceUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
221 
222  m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
223  fgFeatureConstraints->Add( m_staticline3, 0, wxTOP|wxEXPAND, 20 );
224 
225  m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
226  fgFeatureConstraints->Add( m_staticline4, 0, wxEXPAND|wxTOP, 20 );
227 
228  m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
229  fgFeatureConstraints->Add( m_staticline5, 0, wxEXPAND|wxTOP, 20 );
230 
231  m_staticline6 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
232  fgFeatureConstraints->Add( m_staticline6, 0, wxEXPAND|wxTOP, 20 );
233 
234  m_staticText24 = new wxStaticText( this, wxID_ANY, _("Holes"), wxDefaultPosition, wxDefaultSize, 0 );
235  m_staticText24->Wrap( -1 );
236  fgFeatureConstraints->Add( m_staticText24, 0, wxALL, 5 );
237 
238 
239  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND|wxTOP, 5 );
240 
241 
242  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND|wxTOP, 5 );
243 
244 
245  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND|wxTOP, 5 );
246 
247  m_bitmapMinViaDrill = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
248  fgFeatureConstraints->Add( m_bitmapMinViaDrill, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
249 
250  m_MinDrillTitle = new wxStaticText( this, wxID_ANY, _("Minimum through hole:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
251  m_MinDrillTitle->Wrap( -1 );
252  fgFeatureConstraints->Add( m_MinDrillTitle, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
253 
254  m_MinDrillCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
255  fgFeatureConstraints->Add( m_MinDrillCtrl, 0, wxEXPAND|wxALL|wxALIGN_CENTER_VERTICAL, 5 );
256 
257  m_MinDrillUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
258  m_MinDrillUnits->Wrap( -1 );
259  fgFeatureConstraints->Add( m_MinDrillUnits, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
260 
261  m_bitmapMinHoleClearance = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
262  fgFeatureConstraints->Add( m_bitmapMinHoleClearance, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
263 
264  m_HoleToHoleTitle = new wxStaticText( this, wxID_ANY, _("Hole to hole clearance:"), wxDefaultPosition, wxDefaultSize, 0 );
265  m_HoleToHoleTitle->Wrap( -1 );
266  fgFeatureConstraints->Add( m_HoleToHoleTitle, 0, wxALIGN_CENTER_VERTICAL, 5 );
267 
268  m_SetHoleToHoleCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
269  fgFeatureConstraints->Add( m_SetHoleToHoleCtrl, 0, wxEXPAND|wxALL|wxALIGN_CENTER_VERTICAL, 5 );
270 
271  m_HoleToHoleUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
272  m_HoleToHoleUnits->Wrap( -1 );
273  fgFeatureConstraints->Add( m_HoleToHoleUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
274 
275  m_staticline8 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
276  fgFeatureConstraints->Add( m_staticline8, 0, wxEXPAND|wxTOP, 20 );
277 
278  m_staticline9 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
279  fgFeatureConstraints->Add( m_staticline9, 0, wxEXPAND|wxTOP, 20 );
280 
281  m_staticline10 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
282  fgFeatureConstraints->Add( m_staticline10, 0, wxEXPAND|wxTOP, 20 );
283 
284  m_staticline11 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
285  fgFeatureConstraints->Add( m_staticline11, 0, wxEXPAND|wxTOP, 20 );
286 
287  m_staticText25 = new wxStaticText( this, wxID_ANY, _("uVias"), wxDefaultPosition, wxDefaultSize, 0 );
288  m_staticText25->Wrap( -1 );
289  fgFeatureConstraints->Add( m_staticText25, 0, wxALL, 5 );
290 
291 
292  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND|wxTOP, 5 );
293 
294 
295  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND|wxTOP, 5 );
296 
297 
298  fgFeatureConstraints->Add( 0, 0, 1, wxEXPAND|wxTOP, 5 );
299 
300  m_bitmapMinuViaDiameter = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
301  fgFeatureConstraints->Add( m_bitmapMinuViaDiameter, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
302 
303  m_uviaMinSizeLabel = new wxStaticText( this, wxID_ANY, _("Minimum uVia diameter:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
304  m_uviaMinSizeLabel->Wrap( -1 );
305  fgFeatureConstraints->Add( m_uviaMinSizeLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
306 
307  m_uviaMinSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
308  fgFeatureConstraints->Add( m_uviaMinSizeCtrl, 0, wxEXPAND|wxALL|wxALIGN_CENTER_VERTICAL, 5 );
309 
310  m_uviaMinSizeUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
311  m_uviaMinSizeUnits->Wrap( -1 );
312  fgFeatureConstraints->Add( m_uviaMinSizeUnits, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
313 
314  m_bitmapMinuViaDrill = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
315  fgFeatureConstraints->Add( m_bitmapMinuViaDrill, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
316 
317  m_uviaMinDrillLabel = new wxStaticText( this, wxID_ANY, _("Minimum uVia drill:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
318  m_uviaMinDrillLabel->Wrap( -1 );
319  fgFeatureConstraints->Add( m_uviaMinDrillLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
320 
321  m_uviaMinDrillCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
322  fgFeatureConstraints->Add( m_uviaMinDrillCtrl, 0, wxEXPAND|wxALL|wxALIGN_CENTER_VERTICAL, 5 );
323 
324  m_uviaMinDrillUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
325  m_uviaMinDrillUnits->Wrap( -1 );
326  fgFeatureConstraints->Add( m_uviaMinDrillUnits, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT, 5 );
327 
328 
329  sbFeatureConstraints->Add( fgFeatureConstraints, 1, wxEXPAND|wxLEFT, 5 );
330 
331 
332  bMainSizer->Add( sbFeatureConstraints, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
333 
334 
335  this->SetSizer( bMainSizer );
336  this->Layout();
337  bMainSizer->Fit( this );
338 
339  // Connect Events
340  m_rbOutlinePolygonBestQ->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::onChangeOutlineOpt ), NULL, this );
341  m_rbOutlinePolygonFastest->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::onChangeOutlineOpt ), NULL, this );
342 }
virtual void onChangeOutlineOpt(wxCommandEvent &event)
#define NULL
const char * name
Definition: DXF_plotter.cpp:60
#define _(s)
Definition: 3d_actions.cpp:33

References _, m_bitmap_uVia, m_bitmapBlindBuried, m_bitmapClearance, m_bitmapEdgeClearance, m_bitmapMinHoleClearance, m_bitmapMinTrackWidth, m_bitmapMinuViaDiameter, m_bitmapMinuViaDrill, m_bitmapMinViaAnnulus, m_bitmapMinViaDiameter, m_bitmapMinViaDrill, m_bitmapZoneFillOpt, m_bSizerPolygonFillOption, m_clearanceCtrl, m_clearanceTitle, m_clearanceUnits, m_EdgeClearanceCtrl, m_EdgeClearanceLabel, m_EdgeClearanceUnits, m_HoleToHoleTitle, m_HoleToHoleUnits, m_maxErrorCtrl, m_maxErrorTitle, m_maxErrorUnits, m_MinDrillCtrl, m_MinDrillTitle, m_MinDrillUnits, m_OptAllowBlindBuriedVias, m_OptAllowMicroVias, m_rbOutlinePolygonBestQ, m_rbOutlinePolygonFastest, m_SetHoleToHoleCtrl, m_SetViasMinSizeCtrl, m_staticline1, m_staticline10, m_staticline11, m_staticline2, m_staticline3, m_staticline4, m_staticline5, m_staticline6, m_staticline8, m_staticline9, m_staticText23, m_staticText24, m_staticText25, m_staticText26, m_stCircleToPolyOpt, m_stZoneFilledPolysOpt, m_TrackMinWidthCtrl, m_TrackMinWidthTitle, m_TrackMinWidthUnits, m_uviaMinDrillCtrl, m_uviaMinDrillLabel, m_uviaMinDrillUnits, m_uviaMinSizeCtrl, m_uviaMinSizeLabel, m_uviaMinSizeUnits, m_ViaMinAnnulusCtrl, m_ViaMinAnnulusTitle, m_ViaMinAnnulusUnits, m_ViaMinTitle, m_ViaMinUnits, NULL, and onChangeOutlineOpt().

◆ ~PANEL_SETUP_FEATURE_CONSTRAINTS_BASE()

PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::~PANEL_SETUP_FEATURE_CONSTRAINTS_BASE ( )

Definition at line 344 of file panel_setup_feature_constraints_base.cpp.

345 {
346  // Disconnect Events
347  m_rbOutlinePolygonBestQ->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::onChangeOutlineOpt ), NULL, this );
348  m_rbOutlinePolygonFastest->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::onChangeOutlineOpt ), NULL, this );
349 
350 }
virtual void onChangeOutlineOpt(wxCommandEvent &event)
#define NULL

References m_rbOutlinePolygonBestQ, m_rbOutlinePolygonFastest, NULL, and onChangeOutlineOpt().

Member Function Documentation

◆ onChangeOutlineOpt()

virtual void PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::onChangeOutlineOpt ( wxCommandEvent &  event)
inlineprotectedvirtual

Member Data Documentation

◆ m_bitmap_uVia

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmap_uVia
protected

◆ m_bitmapBlindBuried

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapBlindBuried
protected

◆ m_bitmapClearance

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapClearance
protected

◆ m_bitmapEdgeClearance

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapEdgeClearance
protected

◆ m_bitmapMinHoleClearance

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinHoleClearance
protected

◆ m_bitmapMinTrackWidth

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinTrackWidth
protected

◆ m_bitmapMinuViaDiameter

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinuViaDiameter
protected

◆ m_bitmapMinuViaDrill

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinuViaDrill
protected

◆ m_bitmapMinViaAnnulus

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinViaAnnulus
protected

◆ m_bitmapMinViaDiameter

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinViaDiameter
protected

◆ m_bitmapMinViaDrill

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapMinViaDrill
protected

◆ m_bitmapZoneFillOpt

wxStaticBitmap* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bitmapZoneFillOpt
protected

◆ m_bSizerPolygonFillOption

wxBoxSizer* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_bSizerPolygonFillOption
protected

◆ m_clearanceCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_clearanceCtrl
protected

◆ m_clearanceTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_clearanceTitle
protected

◆ m_clearanceUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_clearanceUnits
protected

◆ m_EdgeClearanceCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_EdgeClearanceCtrl
protected

◆ m_EdgeClearanceLabel

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_EdgeClearanceLabel
protected

◆ m_EdgeClearanceUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_EdgeClearanceUnits
protected

◆ m_HoleToHoleTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_HoleToHoleTitle
protected

◆ m_HoleToHoleUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_HoleToHoleUnits
protected

◆ m_maxErrorCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_maxErrorCtrl
protected

◆ m_maxErrorTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_maxErrorTitle
protected

◆ m_maxErrorUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_maxErrorUnits
protected

◆ m_MinDrillCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_MinDrillCtrl
protected

◆ m_MinDrillTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_MinDrillTitle
protected

◆ m_MinDrillUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_MinDrillUnits
protected

◆ m_OptAllowBlindBuriedVias

wxCheckBox* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_OptAllowBlindBuriedVias
protected

◆ m_OptAllowMicroVias

wxCheckBox* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_OptAllowMicroVias
protected

◆ m_rbOutlinePolygonBestQ

◆ m_rbOutlinePolygonFastest

◆ m_SetHoleToHoleCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_SetHoleToHoleCtrl
protected

◆ m_SetViasMinSizeCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_SetViasMinSizeCtrl
protected

◆ m_staticline1

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline1
protected

◆ m_staticline10

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline10
protected

◆ m_staticline11

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline11
protected

◆ m_staticline2

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline2
protected

◆ m_staticline3

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline3
protected

◆ m_staticline4

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline4
protected

◆ m_staticline5

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline5
protected

◆ m_staticline6

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline6
protected

◆ m_staticline8

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline8
protected

◆ m_staticline9

wxStaticLine* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticline9
protected

◆ m_staticText23

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticText23
protected

◆ m_staticText24

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticText24
protected

◆ m_staticText25

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticText25
protected

◆ m_staticText26

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_staticText26
protected

◆ m_stCircleToPolyOpt

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_stCircleToPolyOpt
protected

◆ m_stZoneFilledPolysOpt

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_stZoneFilledPolysOpt
protected

◆ m_TrackMinWidthCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_TrackMinWidthCtrl
protected

◆ m_TrackMinWidthTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_TrackMinWidthTitle
protected

◆ m_TrackMinWidthUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_TrackMinWidthUnits
protected

◆ m_uviaMinDrillCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_uviaMinDrillCtrl
protected

◆ m_uviaMinDrillLabel

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_uviaMinDrillLabel
protected

◆ m_uviaMinDrillUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_uviaMinDrillUnits
protected

◆ m_uviaMinSizeCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_uviaMinSizeCtrl
protected

◆ m_uviaMinSizeLabel

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_uviaMinSizeLabel
protected

◆ m_uviaMinSizeUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_uviaMinSizeUnits
protected

◆ m_ViaMinAnnulusCtrl

wxTextCtrl* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_ViaMinAnnulusCtrl
protected

◆ m_ViaMinAnnulusTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_ViaMinAnnulusTitle
protected

◆ m_ViaMinAnnulusUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_ViaMinAnnulusUnits
protected

◆ m_ViaMinTitle

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_ViaMinTitle
protected

◆ m_ViaMinUnits

wxStaticText* PANEL_SETUP_FEATURE_CONSTRAINTS_BASE::m_ViaMinUnits
protected

The documentation for this class was generated from the following files: