14DIALOG_TRACK_VIA_PROPERTIES_BASE::DIALOG_TRACK_VIA_PROPERTIES_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
16 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
20 m_sbCommonSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Common") ), wxVERTICAL );
22 wxBoxSizer* bSizerNetWidgets;
23 bSizerNetWidgets =
new wxBoxSizer( wxHORIZONTAL );
25 wxBoxSizer* bNetWidgetsLeftCol;
26 bNetWidgetsLeftCol =
new wxBoxSizer( wxHORIZONTAL );
33 bNetWidgetsLeftCol->Add(
m_netSelector, 1, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
36 bSizerNetWidgets->Add( bNetWidgetsLeftCol, 1, wxALIGN_CENTER_VERTICAL|wxRIGHT, 10 );
38 wxBoxSizer* bNetWidgetsRightCol;
39 bNetWidgetsRightCol =
new wxBoxSizer( wxHORIZONTAL );
41 m_viaNotFree =
new wxCheckBox(
m_sbCommonSizer->GetStaticBox(), wxID_ANY,
_(
"Automatically update via nets"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE );
42 m_viaNotFree->SetToolTip(
_(
"Automatically change the net of this via when the pads or zones it touches are changed") );
44 bNetWidgetsRightCol->Add(
m_viaNotFree, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
47 bSizerNetWidgets->Add( bNetWidgetsRightCol, 1, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
50 m_sbCommonSizer->Add( bSizerNetWidgets, 5, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
64 m_sbTrackSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Tracks") ), wxHORIZONTAL );
66 wxBoxSizer* bSizerTracksLeftCol;
67 bSizerTracksLeftCol =
new wxBoxSizer( wxVERTICAL );
69 wxFlexGridSizer* fgTrackEnds;
70 fgTrackEnds =
new wxFlexGridSizer( 7, 5, 3, 3 );
71 fgTrackEnds->AddGrowableCol( 1 );
72 fgTrackEnds->AddGrowableCol( 3 );
73 fgTrackEnds->SetFlexibleDirection( wxBOTH );
74 fgTrackEnds->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
99 fgTrackEnds->Add(
m_TrackEndXCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 3 );
106 fgTrackEnds->Add(
m_TrackEndYCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 3 );
113 bSizerTracksLeftCol->Add( fgTrackEnds, 0, wxEXPAND|wxBOTTOM, 8 );
115 wxGridBagSizer* gbSizer1;
116 gbSizer1 =
new wxGridBagSizer( 3, 3 );
117 gbSizer1->SetFlexibleDirection( wxBOTH );
118 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
119 gbSizer1->SetEmptyCellSize( wxSize( -1,0 ) );
125 wxArrayString m_predefinedTrackWidthsCtrlChoices;
128 gbSizer1->Add(
m_predefinedTrackWidthsCtrl, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxBOTTOM, 3 );
136 gbSizer1->Add(
m_TrackWidthLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
139 gbSizer1->Add(
m_TrackWidthCtrl, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
143 gbSizer1->Add(
m_TrackWidthUnit, wxGBPosition( 2, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
146 gbSizer1->AddGrowableCol( 1 );
148 bSizerTracksLeftCol->Add( gbSizer1, 1, wxEXPAND|wxTOP, 5 );
151 m_sbTrackSizer->Add( bSizerTracksLeftCol, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
156 wxBoxSizer* bSizerTrackRightControl;
157 bSizerTrackRightControl =
new wxBoxSizer( wxVERTICAL );
159 wxFlexGridSizer* fgTrackRightSizer;
160 fgTrackRightSizer =
new wxFlexGridSizer( 1, 3, 3, 5 );
161 fgTrackRightSizer->AddGrowableCol( 2 );
162 fgTrackRightSizer->SetFlexibleDirection( wxBOTH );
163 fgTrackRightSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
167 fgTrackRightSizer->Add(
m_TrackLayerLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
170 fgTrackRightSizer->Add( 25, 0, 0, wxEXPAND, 5 );
173 fgTrackRightSizer->Add(
m_TrackLayerCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT, 5 );
176 bSizerTrackRightControl->Add( fgTrackRightSizer, 0, wxEXPAND|wxRIGHT, 3 );
178 wxBoxSizer* bSizerTrackRemoveSoldermask;
179 bSizerTrackRemoveSoldermask =
new wxBoxSizer( wxVERTICAL );
182 bSizerTrackRemoveSoldermask->Add( 0, 15, 0, wxEXPAND, 5 );
188 wxFlexGridSizer* fgSizerTrackMaskMargin;
189 fgSizerTrackMaskMargin =
new wxFlexGridSizer( 0, 4, 3, 5 );
190 fgSizerTrackMaskMargin->AddGrowableCol( 2 );
191 fgSizerTrackMaskMargin->SetFlexibleDirection( wxBOTH );
192 fgSizerTrackMaskMargin->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
202 m_trackMaskMarginCtrl->SetToolTip(
_(
"This is the local clearance between the track and the solder mask opening.\nLeave blank to use the value defined in the Board Setup.") );
211 bSizerTrackRemoveSoldermask->Add( fgSizerTrackMaskMargin, 1, wxEXPAND, 3 );
214 bSizerTrackRightControl->Add( bSizerTrackRemoveSoldermask, 1, wxEXPAND, 3 );
222 m_sbViaSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Vias") ), wxVERTICAL );
224 wxBoxSizer* bSizerViaCols;
225 bSizerViaCols =
new wxBoxSizer( wxHORIZONTAL );
227 wxBoxSizer* bSizerViasLeftCol;
228 bSizerViasLeftCol =
new wxBoxSizer( wxVERTICAL );
230 wxFlexGridSizer* fgViaPos;
231 fgViaPos =
new wxFlexGridSizer( 6, 5, 4, 2 );
232 fgViaPos->AddGrowableCol( 1 );
233 fgViaPos->AddGrowableCol( 3 );
234 fgViaPos->SetFlexibleDirection( wxBOTH );
235 fgViaPos->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
237 m_ViaXLabel =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Position X:"), wxDefaultPosition, wxDefaultSize, 0 );
239 fgViaPos->Add(
m_ViaXLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 1 );
241 m_ViaXCtrl =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
242 fgViaPos->Add(
m_ViaXCtrl, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 3 );
244 m_ViaYLabel =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Y:"), wxDefaultPosition, wxDefaultSize, 0 );
246 fgViaPos->Add(
m_ViaYLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 8 );
248 m_ViaYCtrl =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
249 fgViaPos->Add(
m_ViaYCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 3 );
251 m_ViaYUnit =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
253 fgViaPos->Add(
m_ViaYUnit, 0, wxALIGN_CENTER_VERTICAL, 5 );
256 bSizerViasLeftCol->Add( fgViaPos, 0, wxEXPAND|wxBOTTOM, 8 );
258 wxGridBagSizer* gbSizer3;
259 gbSizer3 =
new wxGridBagSizer( 3, 3 );
260 gbSizer3->SetFlexibleDirection( wxBOTH );
261 gbSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
262 gbSizer3->SetEmptyCellSize( wxSize( -1,0 ) );
268 wxArrayString m_predefinedViaSizesCtrlChoices;
271 gbSizer3->Add(
m_predefinedViaSizesCtrl, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxBOTTOM, 3 );
279 gbSizer3->Add(
m_ViaDiameterLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxLEFT|wxALIGN_CENTER_VERTICAL, 1 );
282 gbSizer3->Add(
m_ViaDiameterCtrl, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
286 gbSizer3->Add(
m_ViaDiameterUnit, wxGBPosition( 2, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
290 gbSizer3->Add(
m_ViaDrillLabel, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 1 );
292 m_ViaDrillCtrl =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
293 gbSizer3->Add(
m_ViaDrillCtrl, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
297 gbSizer3->Add(
m_ViaDrillUnit, wxGBPosition( 3, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
300 gbSizer3->AddGrowableCol( 1 );
302 bSizerViasLeftCol->Add( gbSizer3, 1, wxEXPAND|wxTOP, 5 );
305 bSizerViaCols->Add( bSizerViasLeftCol, 1, wxEXPAND, 5 );
308 bSizerViaCols->Add( 0, 0, 0, wxEXPAND|wxRIGHT|wxLEFT, 15 );
310 wxBoxSizer* viaRightColumn;
311 viaRightColumn =
new wxBoxSizer( wxVERTICAL );
313 wxFlexGridSizer* fgSizer4;
314 fgSizer4 =
new wxFlexGridSizer( 0, 2, 0, 5 );
315 fgSizer4->AddGrowableCol( 1 );
316 fgSizer4->AddGrowableRow( 0 );
317 fgSizer4->AddGrowableRow( 1 );
318 fgSizer4->AddGrowableRow( 2 );
319 fgSizer4->SetFlexibleDirection( wxBOTH );
320 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
324 fgSizer4->Add(
m_ViaTypeLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
326 wxString m_ViaTypeChoiceChoices[] = {
_(
"Through"),
_(
"Micro"),
_(
"Blind/buried") };
327 int m_ViaTypeChoiceNChoices =
sizeof( m_ViaTypeChoiceChoices ) /
sizeof( wxString );
328 m_ViaTypeChoice =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ViaTypeChoiceNChoices, m_ViaTypeChoiceChoices, 0 );
332 fgSizer4->Add(
m_ViaTypeChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
335 fgSizer4->Add( 0, 3, 1, wxEXPAND, 5 );
338 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
345 fgSizer4->Add(
m_ViaStartLayer, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
352 fgSizer4->Add(
m_ViaEndLayer, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
355 fgSizer4->Add( 0, 15, 1, wxEXPAND, 5 );
358 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
364 wxString m_annularRingsCtrlChoices[] = {
_(
"All copper layers"),
_(
"Start, end, and connected layers"),
_(
"Connected layers only") };
365 int m_annularRingsCtrlNChoices =
sizeof( m_annularRingsCtrlChoices ) /
sizeof( wxString );
366 m_annularRingsCtrl =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_annularRingsCtrlNChoices, m_annularRingsCtrlChoices, 0 );
372 fgSizer4->Add(
m_tentingFrontLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
374 wxString m_tentingFrontCtrlChoices[] = {
_(
"From design rules"),
_(
"Tented"),
_(
"Not tented") };
375 int m_tentingFrontCtrlNChoices =
sizeof( m_tentingFrontCtrlChoices ) /
sizeof( wxString );
376 m_tentingFrontCtrl =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_tentingFrontCtrlNChoices, m_tentingFrontCtrlChoices, 0 );
378 m_tentingFrontCtrl->SetToolTip(
_(
"Whether to tent (cover with soldermask) this via on the front side") );
382 m_btnLinkTenting =
new wxBitmapToggleButton(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
386 fgSizer4->Add(
m_btnLinkTenting, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
389 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
395 wxString m_tentingBackCtrlChoices[] = {
_(
"From design rules"),
_(
"Tented"),
_(
"Not tented") };
396 int m_tentingBackCtrlNChoices =
sizeof( m_tentingBackCtrlChoices ) /
sizeof( wxString );
397 m_tentingBackCtrl =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_tentingBackCtrlNChoices, m_tentingBackCtrlChoices, 0 );
399 m_tentingBackCtrl->SetToolTip(
_(
"Whether to tent (cover with soldermask) this via on the back side") );
404 viaRightColumn->Add( fgSizer4, 0, wxEXPAND|wxBOTTOM, 3 );
407 bSizerViaCols->Add( viaRightColumn, 1, wxEXPAND, 5 );
410 m_sbViaSizer->Add( bSizerViaCols, 0, wxALL|wxEXPAND, 5 );
412 m_staticline2 =
new wxStaticLine(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
420 wxBoxSizer* bSizer42;
421 bSizer42 =
new wxBoxSizer( wxVERTICAL );
423 m_staticText85 =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Board contains legacy teardrops."), wxDefaultPosition, wxDefaultSize, 0 );
427 m_staticText851 =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Use Edit > Edit Teardrops to apply automatic teardrops."), wxDefaultPosition, wxDefaultSize, 0 );
437 wxBoxSizer* bSizerTeardrops;
438 bSizerTeardrops =
new wxBoxSizer( wxVERTICAL );
440 wxBoxSizer* bSizerCols11;
441 bSizerCols11 =
new wxBoxSizer( wxHORIZONTAL );
443 wxBoxSizer* bSizerLeftCol11;
444 bSizerLeftCol11 =
new wxBoxSizer( wxVERTICAL );
447 bSizerLeftCol11->Add( 0, 2, 0, wxEXPAND, 5 );
449 m_cbTeardrops =
new wxCheckBox(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Add teardrops on via's track connections"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE );
450 bSizerLeftCol11->Add(
m_cbTeardrops, 0, wxBOTTOM|wxRIGHT, 3 );
453 m_cbTeardropsUseNextTrack->SetToolTip(
_(
"Allows a teardrop to extend over the first 2 connected track segments if the first track segment is too short to accommodate the best length.") );
458 bSizerCols11->Add( bSizerLeftCol11, 1, wxEXPAND|wxTOP|wxLEFT, 1 );
461 bSizerCols11->Add( 20, 0, 0, wxEXPAND, 5 );
463 wxBoxSizer* bSizerRightCol11;
464 bSizerRightCol11 =
new wxBoxSizer( wxVERTICAL );
466 wxBoxSizer* bSizer39;
467 bSizer39 =
new wxBoxSizer( wxHORIZONTAL );
469 m_stHDRatio =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Maximum track width:"), wxDefaultPosition, wxDefaultSize, 0 );
471 m_stHDRatio->SetToolTip(
_(
"Max pad/via size to track width ratio to create a teardrop.\n100 always creates a teardrop.") );
473 bSizer39->Add(
m_stHDRatio, 0, wxALIGN_CENTER_VERTICAL, 5 );
475 m_tcHDRatio =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 );
476 m_tcHDRatio->SetToolTip(
_(
"Tracks which are similar in size to the via do not need teardrops.") );
478 bSizer39->Add(
m_tcHDRatio, 0, wxRIGHT|wxLEFT, 5 );
485 bSizerRightCol11->Add( bSizer39, 0, wxEXPAND, 3 );
487 wxBoxSizer* bSizer17;
488 bSizer17 =
new wxBoxSizer( wxVERTICAL );
490 m_minTrackWidthHint =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"(as a percentage of pad/via/track size)"), wxDefaultPosition, wxDefaultSize, 0 );
495 bSizerRightCol11->Add( bSizer17, 0, wxEXPAND|wxLEFT, 5 );
498 bSizerCols11->Add( bSizerRightCol11, 1, wxEXPAND|wxLEFT, 10 );
501 bSizerTeardrops->Add( bSizerCols11, 0, wxEXPAND|wxTOP, 3 );
504 bSizerTeardrops->Add( 0, 5, 0, wxEXPAND, 5 );
506 wxBoxSizer* bSizerShapeColumns;
507 bSizerShapeColumns =
new wxBoxSizer( wxHORIZONTAL );
509 wxBoxSizer* bSizerLeftCol;
510 bSizerLeftCol =
new wxBoxSizer( wxVERTICAL );
516 bSizerShapeColumns->Add( bSizerLeftCol, 1, wxEXPAND|wxRIGHT, 10 );
519 bSizerShapeColumns->Add( 20, 0, 0, wxEXPAND, 5 );
521 wxBoxSizer* bSizer20;
522 bSizer20 =
new wxBoxSizer( wxVERTICAL );
524 wxFlexGridSizer* fgSizerRightCol;
525 fgSizerRightCol =
new wxFlexGridSizer( 0, 3, 3, 5 );
526 fgSizerRightCol->AddGrowableCol( 1 );
527 fgSizerRightCol->SetFlexibleDirection( wxBOTH );
528 fgSizerRightCol->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
534 m_tcLenPercent =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
535 fgSizerRightCol->Add(
m_tcLenPercent, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
537 wxBoxSizer* bSizer131;
538 bSizer131 =
new wxBoxSizer( wxHORIZONTAL );
546 m_stLenPercentHint->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_ITALIC, wxFONTWEIGHT_NORMAL,
false, wxEmptyString ) );
555 fgSizerRightCol->Add( bSizer131, 0, wxALIGN_CENTER_VERTICAL, 5 );
557 m_stMaxLen =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Maximum length (L):"), wxDefaultPosition, wxDefaultSize, 0 );
559 fgSizerRightCol->Add(
m_stMaxLen, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
561 m_tcTdMaxLen =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
562 fgSizerRightCol->Add(
m_tcTdMaxLen, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
566 fgSizerRightCol->Add(
m_stMaxLenUnits, 0, wxALIGN_CENTER_VERTICAL, 3 );
569 fgSizerRightCol->Add( 0, 3, 1, wxEXPAND, 5 );
572 fgSizerRightCol->Add( 0, 0, 1, wxEXPAND, 5 );
575 fgSizerRightCol->Add( 0, 0, 1, wxEXPAND, 5 );
582 fgSizerRightCol->Add(
m_tcWidthPercent, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
584 wxBoxSizer* bSizer1311;
585 bSizer1311 =
new wxBoxSizer( wxHORIZONTAL );
593 m_stWidthPercentHint->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_ITALIC, wxFONTWEIGHT_NORMAL,
false, wxEmptyString ) );
602 fgSizerRightCol->Add( bSizer1311, 0, wxALIGN_CENTER_VERTICAL, 5 );
608 m_tcMaxWidth =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
609 fgSizerRightCol->Add(
m_tcMaxWidth, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
616 bSizer20->Add( fgSizerRightCol, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
618 wxBoxSizer* bSizer44;
619 bSizer44 =
new wxBoxSizer( wxHORIZONTAL );
621 m_curvedEdges =
new wxCheckBox(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Curved edges"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER );
622 bSizer44->Add(
m_curvedEdges, 0, wxALIGN_CENTER_VERTICAL, 5 );
625 bSizer44->Add( 45, 0, 0, 0, 5 );
628 bSizer20->Add( bSizer44, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxTOP, 5 );
631 bSizerShapeColumns->Add( bSizer20, 1, wxEXPAND, 5 );
634 bSizerTeardrops->Add( bSizerShapeColumns, 1, wxEXPAND|wxBOTTOM, 3 );
656 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
wxStdDialogButtonSizer * m_StdButtons
wxChoice * m_tentingFrontCtrl
wxStaticText * m_annularRingsLabel
virtual void onViaEdit(wxCommandEvent &event)
wxStaticText * m_stLenPercentUnits
wxBoxSizer * m_legacyTeardropsWarning
wxStaticText * m_stMaxWidthLabel
wxStaticText * m_TrackEndYLabel
wxStaticText * m_ViaYLabel
wxStaticText * m_tentingBackLabel
wxStaticText * m_ViaEndLayerLabel1
PCB_LAYER_BOX_SELECTOR * m_ViaStartLayer
wxCheckBox * m_lockedCbox
wxChoice * m_tentingBackCtrl
wxStaticBoxSizer * m_sbCommonSizer
wxCheckBox * m_curvedEdges
wxStaticText * m_trackMaskMarginUnit
virtual void onTrackEdit(wxCommandEvent &event)
wxStaticText * m_TrackStartYUnit
wxStaticText * m_TrackEndXLabel
wxTextCtrl * m_TrackStartXCtrl
wxStaticText * m_predefinedTrackWidthsUnits
wxStaticText * m_TrackWidthLabel
wxStaticText * m_predefinedViaSizesLabel
DIALOG_TRACK_VIA_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Track & Via Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU)
virtual void onWidthEdit(wxCommandEvent &event)
wxStaticText * m_stMaxLenUnits
PCB_LAYER_BOX_SELECTOR * m_ViaEndLayer
~DIALOG_TRACK_VIA_PROPERTIES_BASE()
wxChoice * m_predefinedTrackWidthsCtrl
wxStaticText * m_trackMaskMarginLabel
wxStaticBoxSizer * m_sbTrackSizer
wxChoice * m_annularRingsCtrl
wxStaticBoxSizer * m_sbViaSizer
virtual void onWidthSelect(wxCommandEvent &event)
wxStaticText * m_ViaDrillUnit
wxButton * m_StdButtonsCancel
wxStaticText * m_TrackStartXLabel
wxStaticText * m_stWidthPercentLabel
wxBitmapToggleButton * m_btnLinkTenting
wxStaticText * m_stWidthPercentUnits
wxCheckBox * m_trackHasSolderMask
PCB_LAYER_BOX_SELECTOR * m_TrackLayerCtrl
wxStaticText * m_tentingFrontLabel
wxStaticText * m_stWidthPercentSuffix
virtual void onViaNotFreeClicked(wxCommandEvent &event)
wxStaticText * m_TrackStartYLabel
wxStaticText * m_stMaxLen
wxButton * m_StdButtonsOK
wxStaticText * m_ViaDiameterUnit
wxTextCtrl * m_TrackEndXCtrl
wxStaticLine * m_staticline1
wxCheckBox * m_cbTeardrops
wxTextCtrl * m_tcLenPercent
wxStaticText * m_minTrackWidthHint
wxStaticText * m_ViaDrillLabel
wxStaticText * m_ViaYUnit
wxStaticText * m_stLenPercentLabel
wxCheckBox * m_viaNotFree
wxStaticText * m_TrackWidthUnit
wxTextCtrl * m_tcWidthPercent
virtual void onFrontTentingChanged(wxCommandEvent &event)
wxStaticText * m_stLenPercentHint
virtual void onTeardropsUpdateUi(wxUpdateUIEvent &event)
wxStaticText * m_stLenPercentSuffix
wxChoice * m_ViaTypeChoice
wxStaticText * m_ViaTypeLabel
wxStaticText * m_stHDRatio
wxTextCtrl * m_ViaDiameterCtrl
wxChoice * m_predefinedViaSizesCtrl
wxStaticText * m_ViaXLabel
wxTextCtrl * m_trackMaskMarginCtrl
virtual void onTentingLinkToggle(wxCommandEvent &event)
wxStaticText * m_staticText85
virtual void onViaSelect(wxCommandEvent &event)
wxTextCtrl * m_ViaDrillCtrl
wxStaticText * m_ViaStartLayerLabel
wxStaticText * m_TrackEndYUnit
wxStaticText * m_stMaxWidthUnits
wxStaticText * m_netSelectorLabel
wxStaticBitmap * m_bitmapTeardrop
wxTextCtrl * m_TrackEndYCtrl
wxStaticText * m_techLayersLabel
wxStaticText * m_predefinedTrackWidthsLabel
wxTextCtrl * m_tcTdMaxLen
wxStaticText * m_stWidthPercentHint
wxTextCtrl * m_TrackStartYCtrl
wxStaticText * m_ViaDiameterLabel
wxStaticText * m_stHDRatioUnits
wxStaticBitmap * m_legacyTeardropsIcon
wxTextCtrl * m_TrackWidthCtrl
wxStaticText * m_predefinedViaSizesUnits
wxCheckBox * m_cbTeardropsUseNextTrack
wxStaticLine * m_staticline2
wxTextCtrl * m_tcMaxWidth
NET_SELECTOR * m_netSelector
wxStaticText * m_TrackLayerLabel
wxStaticText * m_staticText851
Class to display a pcb layer list in a wxBitmapComboBox.