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 );
283 wxString m_cbPadstackModeChoices[] = {
_(
"Normal"),
_(
"Front/Inner/Back"),
_(
"Custom") };
284 int m_cbPadstackModeNChoices =
sizeof( m_cbPadstackModeChoices ) /
sizeof( wxString );
285 m_cbPadstackMode =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbPadstackModeNChoices, m_cbPadstackModeChoices, 0 );
289 m_stEditLayer =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Edit layer:"), wxDefaultPosition, wxDefaultSize, 0 );
293 wxArrayString m_cbEditLayerChoices;
294 m_cbEditLayer =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbEditLayerChoices, 0 );
303 gbSizer3->Add(
m_ViaDiameterLabel, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxLEFT|wxALIGN_CENTER_VERTICAL, 1 );
306 gbSizer3->Add(
m_ViaDiameterCtrl, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
310 gbSizer3->Add(
m_ViaDiameterUnit, wxGBPosition( 3, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
314 gbSizer3->Add(
m_ViaDrillLabel, wxGBPosition( 4, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 1 );
316 m_ViaDrillCtrl =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
317 gbSizer3->Add(
m_ViaDrillCtrl, wxGBPosition( 4, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
321 gbSizer3->Add(
m_ViaDrillUnit, wxGBPosition( 4, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
324 gbSizer3->AddGrowableCol( 1 );
326 bSizerViasLeftCol->Add( gbSizer3, 1, wxEXPAND|wxTOP, 5 );
329 bSizerViaCols->Add( bSizerViasLeftCol, 1, wxEXPAND, 5 );
332 bSizerViaCols->Add( 0, 0, 0, wxEXPAND|wxRIGHT|wxLEFT, 15 );
334 wxBoxSizer* viaRightColumn;
335 viaRightColumn =
new wxBoxSizer( wxVERTICAL );
337 wxFlexGridSizer* fgSizer4;
338 fgSizer4 =
new wxFlexGridSizer( 0, 2, 0, 5 );
339 fgSizer4->AddGrowableCol( 1 );
340 fgSizer4->AddGrowableRow( 0 );
341 fgSizer4->AddGrowableRow( 1 );
342 fgSizer4->AddGrowableRow( 2 );
343 fgSizer4->SetFlexibleDirection( wxBOTH );
344 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
348 fgSizer4->Add(
m_ViaTypeLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
350 wxString m_ViaTypeChoiceChoices[] = {
_(
"Through"),
_(
"Micro"),
_(
"Blind/buried") };
351 int m_ViaTypeChoiceNChoices =
sizeof( m_ViaTypeChoiceChoices ) /
sizeof( wxString );
352 m_ViaTypeChoice =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ViaTypeChoiceNChoices, m_ViaTypeChoiceChoices, 0 );
356 fgSizer4->Add(
m_ViaTypeChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
359 fgSizer4->Add( 0, 3, 1, wxEXPAND, 5 );
362 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
369 fgSizer4->Add(
m_ViaStartLayer, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
376 fgSizer4->Add(
m_ViaEndLayer, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
379 fgSizer4->Add( 0, 15, 1, wxEXPAND, 5 );
382 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
388 wxString m_annularRingsCtrlChoices[] = {
_(
"All copper layers"),
_(
"Start, end, and connected layers"),
_(
"Connected layers only") };
389 int m_annularRingsCtrlNChoices =
sizeof( m_annularRingsCtrlChoices ) /
sizeof( wxString );
390 m_annularRingsCtrl =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_annularRingsCtrlNChoices, m_annularRingsCtrlChoices, 0 );
396 fgSizer4->Add(
m_tentingFrontLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
398 wxString m_tentingFrontCtrlChoices[] = {
_(
"From design rules"),
_(
"Tented"),
_(
"Not tented") };
399 int m_tentingFrontCtrlNChoices =
sizeof( m_tentingFrontCtrlChoices ) /
sizeof( wxString );
400 m_tentingFrontCtrl =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_tentingFrontCtrlNChoices, m_tentingFrontCtrlChoices, 0 );
402 m_tentingFrontCtrl->SetToolTip(
_(
"Whether to tent (cover with soldermask) this via on the front side") );
406 m_btnLinkTenting =
new wxBitmapToggleButton(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
410 fgSizer4->Add(
m_btnLinkTenting, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
413 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
419 wxString m_tentingBackCtrlChoices[] = {
_(
"From design rules"),
_(
"Tented"),
_(
"Not tented") };
420 int m_tentingBackCtrlNChoices =
sizeof( m_tentingBackCtrlChoices ) /
sizeof( wxString );
421 m_tentingBackCtrl =
new wxChoice(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_tentingBackCtrlNChoices, m_tentingBackCtrlChoices, 0 );
423 m_tentingBackCtrl->SetToolTip(
_(
"Whether to tent (cover with soldermask) this via on the back side") );
428 viaRightColumn->Add( fgSizer4, 0, wxEXPAND|wxBOTTOM, 3 );
431 bSizerViaCols->Add( viaRightColumn, 1, wxEXPAND, 5 );
434 m_sbViaSizer->Add( bSizerViaCols, 0, wxALL|wxEXPAND, 5 );
436 m_staticline2 =
new wxStaticLine(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
444 wxBoxSizer* bSizer42;
445 bSizer42 =
new wxBoxSizer( wxVERTICAL );
447 m_staticText85 =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Board contains legacy teardrops."), wxDefaultPosition, wxDefaultSize, 0 );
451 m_staticText851 =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Use Edit > Edit Teardrops to apply automatic teardrops."), wxDefaultPosition, wxDefaultSize, 0 );
461 wxBoxSizer* bSizerTeardrops;
462 bSizerTeardrops =
new wxBoxSizer( wxVERTICAL );
464 wxBoxSizer* bSizerCols11;
465 bSizerCols11 =
new wxBoxSizer( wxHORIZONTAL );
467 wxBoxSizer* bSizerLeftCol11;
468 bSizerLeftCol11 =
new wxBoxSizer( wxVERTICAL );
471 bSizerLeftCol11->Add( 0, 2, 0, wxEXPAND, 5 );
473 m_cbTeardrops =
new wxCheckBox(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Add teardrops on via's track connections"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE );
474 bSizerLeftCol11->Add(
m_cbTeardrops, 0, wxBOTTOM|wxRIGHT, 3 );
477 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.") );
482 bSizerCols11->Add( bSizerLeftCol11, 1, wxEXPAND|wxTOP|wxLEFT, 1 );
485 bSizerCols11->Add( 20, 0, 0, wxEXPAND, 5 );
487 wxBoxSizer* bSizerRightCol11;
488 bSizerRightCol11 =
new wxBoxSizer( wxVERTICAL );
490 wxBoxSizer* bSizer39;
491 bSizer39 =
new wxBoxSizer( wxHORIZONTAL );
493 m_stHDRatio =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Maximum track width:"), wxDefaultPosition, wxDefaultSize, 0 );
495 m_stHDRatio->SetToolTip(
_(
"Max pad/via size to track width ratio to create a teardrop.\n100 always creates a teardrop.") );
497 bSizer39->Add(
m_stHDRatio, 0, wxALIGN_CENTER_VERTICAL, 5 );
499 m_tcHDRatio =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 );
500 m_tcHDRatio->SetToolTip(
_(
"Tracks which are similar in size to the via do not need teardrops.") );
502 bSizer39->Add(
m_tcHDRatio, 0, wxRIGHT|wxLEFT, 5 );
509 bSizerRightCol11->Add( bSizer39, 0, wxEXPAND, 3 );
511 wxBoxSizer* bSizer17;
512 bSizer17 =
new wxBoxSizer( wxVERTICAL );
514 m_minTrackWidthHint =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"(as a percentage of pad/via/track size)"), wxDefaultPosition, wxDefaultSize, 0 );
519 bSizerRightCol11->Add( bSizer17, 0, wxEXPAND|wxLEFT, 5 );
522 bSizerCols11->Add( bSizerRightCol11, 1, wxEXPAND|wxLEFT, 10 );
525 bSizerTeardrops->Add( bSizerCols11, 0, wxEXPAND|wxTOP, 3 );
528 bSizerTeardrops->Add( 0, 5, 0, wxEXPAND, 5 );
530 wxBoxSizer* bSizerShapeColumns;
531 bSizerShapeColumns =
new wxBoxSizer( wxHORIZONTAL );
533 wxBoxSizer* bSizerLeftCol;
534 bSizerLeftCol =
new wxBoxSizer( wxVERTICAL );
540 bSizerShapeColumns->Add( bSizerLeftCol, 1, wxEXPAND|wxRIGHT, 10 );
543 bSizerShapeColumns->Add( 20, 0, 0, wxEXPAND, 5 );
545 wxBoxSizer* bSizer20;
546 bSizer20 =
new wxBoxSizer( wxVERTICAL );
548 wxFlexGridSizer* fgSizerRightCol;
549 fgSizerRightCol =
new wxFlexGridSizer( 0, 3, 3, 5 );
550 fgSizerRightCol->AddGrowableCol( 1 );
551 fgSizerRightCol->SetFlexibleDirection( wxBOTH );
552 fgSizerRightCol->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
558 m_tcLenPercent =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
559 fgSizerRightCol->Add(
m_tcLenPercent, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
561 wxBoxSizer* bSizer131;
562 bSizer131 =
new wxBoxSizer( wxHORIZONTAL );
570 m_stLenPercentHint->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_ITALIC, wxFONTWEIGHT_NORMAL,
false, wxEmptyString ) );
579 fgSizerRightCol->Add( bSizer131, 0, wxALIGN_CENTER_VERTICAL, 5 );
581 m_stMaxLen =
new wxStaticText(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Maximum length (L):"), wxDefaultPosition, wxDefaultSize, 0 );
583 fgSizerRightCol->Add(
m_stMaxLen, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
585 m_tcTdMaxLen =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
586 fgSizerRightCol->Add(
m_tcTdMaxLen, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
590 fgSizerRightCol->Add(
m_stMaxLenUnits, 0, wxALIGN_CENTER_VERTICAL, 3 );
593 fgSizerRightCol->Add( 0, 3, 1, wxEXPAND, 5 );
596 fgSizerRightCol->Add( 0, 0, 1, wxEXPAND, 5 );
599 fgSizerRightCol->Add( 0, 0, 1, wxEXPAND, 5 );
606 fgSizerRightCol->Add(
m_tcWidthPercent, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
608 wxBoxSizer* bSizer1311;
609 bSizer1311 =
new wxBoxSizer( wxHORIZONTAL );
617 m_stWidthPercentHint->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_ITALIC, wxFONTWEIGHT_NORMAL,
false, wxEmptyString ) );
626 fgSizerRightCol->Add( bSizer1311, 0, wxALIGN_CENTER_VERTICAL, 5 );
632 m_tcMaxWidth =
new wxTextCtrl(
m_sbViaSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
633 fgSizerRightCol->Add(
m_tcMaxWidth, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
640 bSizer20->Add( fgSizerRightCol, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
642 wxBoxSizer* bSizer44;
643 bSizer44 =
new wxBoxSizer( wxHORIZONTAL );
645 m_curvedEdges =
new wxCheckBox(
m_sbViaSizer->GetStaticBox(), wxID_ANY,
_(
"Curved edges"), wxDefaultPosition, wxDefaultSize, wxCHK_3STATE|wxCHK_ALLOW_3RD_STATE_FOR_USER );
646 bSizer44->Add(
m_curvedEdges, 0, wxALIGN_CENTER_VERTICAL, 5 );
649 bSizer44->Add( 45, 0, 0, 0, 5 );
652 bSizer20->Add( bSizer44, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxTOP, 5 );
655 bSizerShapeColumns->Add( bSizer20, 1, wxEXPAND, 5 );
658 bSizerTeardrops->Add( bSizerShapeColumns, 1, wxEXPAND|wxBOTTOM, 3 );
680 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
wxBoxSizer * m_sbPadstackSettings
wxStaticText * m_predefinedTrackWidthsUnits
wxStaticText * m_TrackWidthLabel
virtual void onEditLayerChanged(wxCommandEvent &event)
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
virtual void onPadstackModeChanged(wxCommandEvent &event)
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
wxChoice * m_cbPadstackMode
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
wxStaticText * m_stEditLayer
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_stPadstackMode
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.