14DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_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 );
18 wxBoxSizer* bMainSizer;
19 bMainSizer =
new wxBoxSizer( wxVERTICAL );
22 bSizer7 =
new wxBoxSizer( wxHORIZONTAL );
24 m_gridTypeNotebook =
new wxNotebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
26 wxBoxSizer* bSizerGridArray;
27 bSizerGridArray =
new wxBoxSizer( wxHORIZONTAL );
29 wxBoxSizer* bSizerGridLeft;
30 bSizerGridLeft =
new wxBoxSizer( wxVERTICAL );
32 wxStaticBoxSizer* sbSizerGridSize;
33 sbSizerGridSize =
new wxStaticBoxSizer(
new wxStaticBox(
m_gridPanel, wxID_ANY,
_(
"Grid Array Size") ), wxVERTICAL );
35 wxFlexGridSizer* fgSizerGridSize;
36 fgSizerGridSize =
new wxFlexGridSizer( 0, 2, 5, 5 );
37 fgSizerGridSize->AddGrowableCol( 1 );
38 fgSizerGridSize->SetFlexibleDirection( wxBOTH );
39 fgSizerGridSize->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
41 m_labelNx =
new wxStaticText( sbSizerGridSize->GetStaticBox(), wxID_ANY,
_(
"Horizontal count:"), wxDefaultPosition, wxDefaultSize, 0 );
43 m_labelNx->SetToolTip(
_(
"Number of columns") );
45 fgSizerGridSize->Add(
m_labelNx, 0, wxALIGN_CENTER_VERTICAL, 5 );
47 m_entryNx =
new TEXT_CTRL_EVAL( sbSizerGridSize->GetStaticBox(), wxID_ANY,
_(
"5"), wxDefaultPosition, wxDefaultSize, 0 );
50 fgSizerGridSize->Add(
m_entryNx, 0, wxEXPAND, 5 );
52 m_labelNy =
new wxStaticText( sbSizerGridSize->GetStaticBox(), wxID_ANY,
_(
"Vertical count:"), wxDefaultPosition, wxDefaultSize, 0 );
56 fgSizerGridSize->Add(
m_labelNy, 0, wxALIGN_CENTER_VERTICAL, 5 );
58 m_entryNy =
new TEXT_CTRL_EVAL( sbSizerGridSize->GetStaticBox(), wxID_ANY,
_(
"5"), wxDefaultPosition, wxDefaultSize, 0 );
62 fgSizerGridSize->Add(
m_entryNy, 0, wxEXPAND, 5 );
65 sbSizerGridSize->Add( fgSizerGridSize, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
68 bSizerGridLeft->Add( sbSizerGridSize, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 10 );
70 wxStaticBoxSizer* sbSizerItemsSpacing;
71 sbSizerItemsSpacing =
new wxStaticBoxSizer(
new wxStaticBox(
m_gridPanel, wxID_ANY,
_(
"Items Spacing") ), wxVERTICAL );
73 wxFlexGridSizer* fgSizerItemSpacing;
74 fgSizerItemSpacing =
new wxFlexGridSizer( 0, 3, 5, 5 );
75 fgSizerItemSpacing->AddGrowableCol( 1 );
76 fgSizerItemSpacing->SetFlexibleDirection( wxBOTH );
77 fgSizerItemSpacing->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
79 m_labelDx =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"Horizontal spacing:"), wxDefaultPosition, wxDefaultSize, 0 );
81 m_labelDx->SetToolTip(
_(
"Distance between columns") );
83 fgSizerItemSpacing->Add(
m_labelDx, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
85 m_entryDx =
new wxTextCtrl( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"5"), wxDefaultPosition, wxDefaultSize, 0 );
86 fgSizerItemSpacing->Add(
m_entryDx, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
88 m_unitLabelDx =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
90 fgSizerItemSpacing->Add(
m_unitLabelDx, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
92 m_labelDy =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"Vertical spacing:"), wxDefaultPosition, wxDefaultSize, 0 );
94 m_labelDy->SetToolTip(
_(
"Distance between rows") );
96 fgSizerItemSpacing->Add(
m_labelDy, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
98 m_entryDy =
new wxTextCtrl( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"5"), wxDefaultPosition, wxDefaultSize, 0 );
99 fgSizerItemSpacing->Add(
m_entryDy, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
101 m_unitLabelDy =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
103 fgSizerItemSpacing->Add(
m_unitLabelDy, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
106 fgSizerItemSpacing->Add( 0, 5, 1, wxEXPAND, 5 );
109 fgSizerItemSpacing->Add( 0, 0, 1, wxEXPAND, 5 );
112 fgSizerItemSpacing->Add( 0, 0, 1, wxEXPAND, 5 );
114 m_labelOffsetX =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"Horizontal offset:"), wxDefaultPosition, wxDefaultSize, 0 );
116 m_labelOffsetX->SetToolTip(
_(
"Offset added to the next row position.") );
118 fgSizerItemSpacing->Add(
m_labelOffsetX, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
120 m_entryOffsetX =
new wxTextCtrl( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"0"), wxDefaultPosition, wxDefaultSize, 0 );
121 fgSizerItemSpacing->Add(
m_entryOffsetX, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
123 m_unitLabelOffsetX =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
127 m_labelOffsetY =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"Vertical offset:"), wxDefaultPosition, wxDefaultSize, 0 );
129 m_labelOffsetY->SetToolTip(
_(
"Offset added to the next column position") );
131 fgSizerItemSpacing->Add(
m_labelOffsetY, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
133 m_entryOffsetY =
new wxTextCtrl( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"0"), wxDefaultPosition, wxDefaultSize, 0 );
134 fgSizerItemSpacing->Add(
m_entryOffsetY, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
136 m_unitLabelOffsetY =
new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
141 sbSizerItemsSpacing->Add( fgSizerItemSpacing, 1, wxEXPAND|wxBOTTOM, 5 );
144 bSizerGridLeft->Add( sbSizerItemsSpacing, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
146 wxStaticBoxSizer* sbSizerStagger;
147 sbSizerStagger =
new wxStaticBoxSizer(
new wxStaticBox(
m_gridPanel, wxID_ANY,
_(
"Stagger Settings") ), wxVERTICAL );
149 wxBoxSizer* bSizerStaggerset;
150 bSizerStaggerset =
new wxBoxSizer( wxHORIZONTAL );
152 m_labelStagger =
new wxStaticText( sbSizerStagger->GetStaticBox(), wxID_ANY,
_(
"Stagger:"), wxDefaultPosition, wxDefaultSize, 0 );
154 m_labelStagger->SetToolTip(
_(
"Value -1, 0 or 1 disable this option.") );
156 bSizerStaggerset->Add(
m_labelStagger, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
159 bSizerStaggerset->Add(
m_entryStagger, 1, wxRIGHT|wxLEFT|wxEXPAND, 5 );
162 sbSizerStagger->Add( bSizerStaggerset, 1, wxEXPAND, 5 );
164 m_staggerRows =
new wxRadioButton( sbSizerStagger->GetStaticBox(), wxID_ANY,
_(
"Rows"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
167 m_staggerCols =
new wxRadioButton( sbSizerStagger->GetStaticBox(), wxID_ANY,
_(
"Columns"), wxDefaultPosition, wxDefaultSize, 0 );
169 sbSizerStagger->Add(
m_staggerCols, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
172 bSizerGridLeft->Add( sbSizerStagger, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
175 bSizerGridArray->Add( bSizerGridLeft, 1, wxEXPAND, 5 );
180 wxBoxSizer* bSizer15;
181 bSizer15 =
new wxBoxSizer( wxVERTICAL );
185 wxString m_radioBoxGridNumberingAxisChoices[] = {
_(
"Horizontal, then vertical"),
_(
"Vertical, then horizontal") };
186 int m_radioBoxGridNumberingAxisNChoices =
sizeof( m_radioBoxGridNumberingAxisChoices ) /
sizeof( wxString );
194 wxString m_rbGridStartNumberingOptChoices[] = {
_(
"Use first free number"),
_(
"From start value") };
195 int m_rbGridStartNumberingOptNChoices =
sizeof( m_rbGridStartNumberingOptChoices ) /
sizeof( wxString );
200 wxString m_radioBoxGridNumberingSchemeChoices[] = {
_(
"Continuous (1, 2, 3...)"),
_(
"Coordinate (A1, A2, ... B1, ...)") };
201 int m_radioBoxGridNumberingSchemeNChoices =
sizeof( m_radioBoxGridNumberingSchemeChoices ) /
sizeof( wxString );
210 wxArrayString m_choicePriAxisNumberingChoices;
221 wxArrayString m_choiceSecAxisNumberingChoices;
228 wxFlexGridSizer* fgSizer1;
229 fgSizer1 =
new wxFlexGridSizer( 2, 3, 0, 0 );
230 fgSizer1->AddGrowableCol( 0 );
231 fgSizer1->SetFlexibleDirection( wxBOTH );
232 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
281 bSizer4 =
new wxBoxSizer( wxHORIZONTAL );
283 wxBoxSizer* bSizerCircLeft;
284 bSizerCircLeft =
new wxBoxSizer( wxVERTICAL );
286 wxStaticBoxSizer* sbSizerInfo;
287 sbSizerInfo =
new wxStaticBoxSizer(
new wxStaticBox(
m_circularPanel, wxID_ANY,
_(
"Reference Position") ), wxVERTICAL );
289 m_stInfoItems =
new wxStaticText( sbSizerInfo->GetStaticBox(), wxID_ANY,
_(
"Position of the selected item (or group) to duplicate"), wxDefaultPosition, wxDefaultSize, 0 );
291 sbSizerInfo->Add(
m_stInfoItems, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
293 wxFlexGridSizer* fgSizer4;
294 fgSizer4 =
new wxFlexGridSizer( 0, 3, 5, 5 );
295 fgSizer4->AddGrowableCol( 1 );
296 fgSizer4->SetFlexibleDirection( wxBOTH );
297 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
299 m_stRefPosXTxt =
new wxStaticText( sbSizerInfo->GetStaticBox(), wxID_ANY,
_(
"Ref point pos X:"), wxDefaultPosition, wxDefaultSize, 0 );
303 m_tcRefPosX =
new wxTextCtrl( sbSizerInfo->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
306 m_stRefPosXUnit =
new wxStaticText( sbSizerInfo->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
308 fgSizer4->Add(
m_stRefPosXUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
310 m_stRefPosYTxt =
new wxStaticText( sbSizerInfo->GetStaticBox(), wxID_ANY,
_(
"Ref point pos Y:"), wxDefaultPosition, wxDefaultSize, 0 );
314 m_tcRefPosY =
new wxTextCtrl( sbSizerInfo->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
317 m_stRefPosYUnit =
new wxStaticText( sbSizerInfo->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
319 fgSizer4->Add(
m_stRefPosYUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
322 sbSizerInfo->Add( fgSizer4, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
325 bSizerCircLeft->Add( sbSizerInfo, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
327 wxStaticBoxSizer* sbSizerCircParams;
328 sbSizerCircParams =
new wxStaticBoxSizer(
new wxStaticBox(
m_circularPanel, wxID_ANY,
_(
"Array Settings") ), wxVERTICAL );
330 m_radioBtnSetByPos =
new wxRadioButton( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"Set center by position"), wxDefaultPosition, wxDefaultSize, 0 );
334 wxFlexGridSizer* fgSizerArrayPrms;
335 fgSizerArrayPrms =
new wxFlexGridSizer( 0, 3, 5, 5 );
336 fgSizerArrayPrms->AddGrowableCol( 1 );
337 fgSizerArrayPrms->SetFlexibleDirection( wxBOTH );
338 fgSizerArrayPrms->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
340 m_labelCentreX =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"Center pos X:"), wxDefaultPosition, wxDefaultSize, 0 );
342 fgSizerArrayPrms->Add(
m_labelCentreX, 0, wxALIGN_CENTER_VERTICAL, 5 );
344 m_entryCentreX =
new wxTextCtrl( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"0"), wxDefaultPosition, wxDefaultSize, 0 );
347 m_unitLabelCentreX =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
351 m_labelCentreY =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"Center pos Y:"), wxDefaultPosition, wxDefaultSize, 0 );
353 fgSizerArrayPrms->Add(
m_labelCentreY, 0, wxALIGN_CENTER_VERTICAL, 5 );
355 m_entryCentreY =
new wxTextCtrl( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"0"), wxDefaultPosition, wxDefaultSize, 0 );
358 m_unitLabelCentreY =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
363 sbSizerCircParams->Add( fgSizerArrayPrms, 0, wxEXPAND|wxLEFT, 25 );
366 sbSizerCircParams->Add( 0, 15, 1, wxEXPAND, 5 );
368 m_radioBtnSetByRadius =
new wxRadioButton( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"Set center by radius"), wxDefaultPosition, wxDefaultSize, 0 );
371 wxBoxSizer* bSizerRadius;
372 bSizerRadius =
new wxBoxSizer( wxVERTICAL );
374 m_labelCircRadius =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"Radius of circular array:"), wxDefaultPosition, wxDefaultSize, 0 );
378 wxBoxSizer* bSizerRadiusValue;
379 bSizerRadiusValue =
new wxBoxSizer( wxHORIZONTAL );
381 m_tcValueCircRadius =
new wxTextCtrl( sbSizerCircParams->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
384 bSizerRadiusValue->Add(
m_tcValueCircRadius, 1, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT, 3 );
386 m_unitLabelCircRadius =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
391 bSizerRadius->Add( bSizerRadiusValue, 0, wxEXPAND, 5 );
393 m_labelCircCenterAngle =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"Angle from center to reference position:"), wxDefaultPosition, wxDefaultSize, 0 );
397 wxBoxSizer* bSizerRadiusValue1;
398 bSizerRadiusValue1 =
new wxBoxSizer( wxHORIZONTAL );
400 m_tcValueCircCenterAngle =
new wxTextCtrl( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"0"), wxDefaultPosition, wxDefaultSize, 0 );
413 m_unitLabelCircCenterAngle =
new wxStaticText( sbSizerCircParams->GetStaticBox(), wxID_ANY,
_(
"deg"), wxDefaultPosition, wxDefaultSize, 0 );
418 bSizerRadius->Add( bSizerRadiusValue1, 0, wxEXPAND, 5 );
421 sbSizerCircParams->Add( bSizerRadius, 0, wxEXPAND|wxLEFT, 25 );
424 sbSizerCircParams->Add( 0, 5, 0, 0, 5 );
427 bSizerCircLeft->Add( sbSizerCircParams, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
429 wxStaticBoxSizer* sbSizerDupPrms;
430 sbSizerDupPrms =
new wxStaticBoxSizer(
new wxStaticBox(
m_circularPanel, wxID_ANY,
_(
"Duplication Settings") ), wxVERTICAL );
432 wxFlexGridSizer* fgSizerDupPrms;
433 fgSizerDupPrms =
new wxFlexGridSizer( 0, 3, 5, 5 );
434 fgSizerDupPrms->AddGrowableCol( 1 );
435 fgSizerDupPrms->SetFlexibleDirection( wxBOTH );
436 fgSizerDupPrms->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
438 m_labelCircAngle =
new wxStaticText( sbSizerDupPrms->GetStaticBox(), wxID_ANY,
_(
"Angle between new items:"), wxDefaultPosition, wxDefaultSize, 0 );
440 fgSizerDupPrms->Add(
m_labelCircAngle, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
442 m_entryCircAngle =
new wxTextCtrl( sbSizerDupPrms->GetStaticBox(), wxID_ANY,
_(
"0"), wxDefaultPosition, wxDefaultSize, 0 );
443 m_entryCircAngle->SetToolTip(
_(
"Positive angles represent an anti-clockwise rotation. An angle of 0 will produce a full circle divided evenly into \"Count\" portions.") );
447 m_unitLabelCircAngle =
new wxStaticText( sbSizerDupPrms->GetStaticBox(), wxID_ANY,
_(
"deg"), wxDefaultPosition, wxDefaultSize, 0 );
451 m_labelCircCount =
new wxStaticText( sbSizerDupPrms->GetStaticBox(), wxID_ANY,
_(
"Item count:"), wxDefaultPosition, wxDefaultSize, 0 );
453 fgSizerDupPrms->Add(
m_labelCircCount, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
461 fgSizerDupPrms->Add( 0, 0, 0, wxEXPAND, 5 );
463 m_labelCircRotate =
new wxStaticText( sbSizerDupPrms->GetStaticBox(), wxID_ANY,
_(
"Rotate items:"), wxDefaultPosition, wxDefaultSize, 0 );
467 m_entryRotateItemsCb =
new wxCheckBox( sbSizerDupPrms->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
469 m_entryRotateItemsCb->SetToolTip(
_(
"Rotate the item as well as move it - multi-selections will be rotated together") );
474 sbSizerDupPrms->Add( fgSizerDupPrms, 0, wxBOTTOM|wxEXPAND, 5 );
477 bSizerCircLeft->Add( sbSizerDupPrms, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
480 bSizer4->Add( bSizerCircLeft, 1, wxEXPAND, 5 );
485 wxBoxSizer* bSizer13;
486 bSizer13 =
new wxBoxSizer( wxHORIZONTAL );
489 bSizer13->Add( 10, 0, 0, wxEXPAND, 5 );
493 wxString m_rbCircStartNumberingOptChoices[] = {
_(
"Use first free number"),
_(
"From start value") };
494 int m_rbCircStartNumberingOptNChoices =
sizeof( m_rbCircStartNumberingOptChoices ) /
sizeof( wxString );
495 m_rbCircStartNumberingOpt =
new wxRadioBox(
m_circPadNumberingSizer->GetStaticBox(), wxID_ANY,
_(
"Initial Pad Number:"), wxDefaultPosition, wxDefaultSize, m_rbCircStartNumberingOptNChoices, m_rbCircStartNumberingOptChoices, 1, wxRA_SPECIFY_COLS );
503 wxArrayString m_choiceCircNumberingChoices;
508 wxFlexGridSizer* fgSizer2;
509 fgSizer2 =
new wxFlexGridSizer( 0, 2, 0, 0 );
510 fgSizer2->AddGrowableCol( 0 );
511 fgSizer2->SetFlexibleDirection( wxBOTH );
512 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
523 fgSizer2->Add(
m_labelCircNumStep, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
550 bSizer8 =
new wxBoxSizer( wxVERTICAL );
552 wxStaticBoxSizer* sbSizerFootprintAnnotation;
553 sbSizerFootprintAnnotation =
new wxStaticBoxSizer(
new wxStaticBox(
m_footprintReannotatePanel, wxID_ANY,
_(
"Footprint Annotation") ), wxVERTICAL );
555 m_radioBtnKeepRefs =
new wxRadioButton( sbSizerFootprintAnnotation->GetStaticBox(), wxID_ANY,
_(
"Keep existing reference designators"), wxDefaultPosition, wxDefaultSize, 0 );
558 m_radioBtnUniqueRefs =
new wxRadioButton( sbSizerFootprintAnnotation->GetStaticBox(), wxID_ANY,
_(
"Assign unique reference designators"), wxDefaultPosition, wxDefaultSize, 0 );
560 m_radioBtnUniqueRefs->SetToolTip(
_(
"This can conflict with reference designators in the schematic that have not yet been synchronized with the board.") );
565 bSizer8->Add( sbSizerFootprintAnnotation, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
574 bMainSizer->Add( bSizer7, 1, wxEXPAND, 5 );
586 this->SetSizer( bMainSizer );
588 bMainSizer->Fit(
this );
wxTextCtrl * m_entryCentreX
wxRadioBox * m_radioBoxGridNumberingAxis
wxRadioBox * m_radioBoxGridNumberingScheme
wxStaticText * m_labelGridNumberingStep
wxCheckBox * m_entryRotateItemsCb
wxStaticText * m_labelCircCount
virtual void OnButtonPosition(wxCommandEvent &event)
wxBoxSizer * m_gridPadNumberingSizer
wxTextCtrl * m_entryGridSecNumberingOffset
wxStaticText * m_labelCircCenterAngle
virtual void OnRadiusChanged(wxCommandEvent &event)
wxTextCtrl * m_tcValueCircRadius
wxChoice * m_choiceSecAxisNumbering
virtual void OnClose(wxCloseEvent &event)
wxStaticText * m_unitLabelCircAngle
wxTextCtrl * m_entryOffsetX
wxRadioBox * m_rbCircStartNumberingOpt
wxStaticText * m_labelOffsetY
wxNotebook * m_gridTypeNotebook
wxPanel * m_gridPadNumberingPanel
wxStaticText * m_labelCentreX
wxStaticText * m_labelCircNumStart
wxStaticText * m_unitLabelDx
wxStaticText * m_unitLabelCircRadius
wxStaticText * m_unitLabelCentreY
wxStaticText * m_stRefPosYTxt
wxTextCtrl * m_entryOffsetY
wxTextCtrl * m_entryGridPriNumberingOffset
wxTextCtrl * m_entryGridPriNumberingStep
wxStaticText * m_labelCircNumbering
wxPanel * m_circularPadNumberingPanel
wxStaticText * m_stRefPosYUnit
wxStaticText * m_unitLabelOffsetY
wxRadioButton * m_radioBtnUniqueRefs
~DIALOG_CREATE_ARRAY_BASE()
TEXT_CTRL_EVAL * m_entryCircCount
TEXT_CTRL_EVAL * m_entryNx
wxTextCtrl * m_entryCentreY
wxStaticText * m_stRefPosXTxt
wxStaticText * m_unitLabelOffsetX
wxStaticText * m_labelPriAxisNumbering
wxButton * m_stdButtonsOK
wxStaticText * m_labelOffsetX
wxTextCtrl * m_entryCircAngle
wxChoice * m_choicePriAxisNumbering
wxStaticBoxSizer * m_circPadNumberingSizer
wxRadioButton * m_radioBtnSetByRadius
wxPanel * m_footprintReannotatePanel
wxRadioButton * m_staggerRows
wxStaticText * m_unitLabelCentreX
wxStaticText * m_labelCircNumStep
virtual void OnButtonRadius(wxCommandEvent &event)
wxStaticText * m_labelSecAxisNumbering
wxTextCtrl * m_entryCircNumberingStart
wxStaticText * m_labelCircRotate
virtual void OnParameterChanged(wxCommandEvent &event)
wxPanel * m_circularPanel
wxRadioButton * m_radioBtnKeepRefs
wxStaticText * m_labelCircAngle
DIALOG_CREATE_ARRAY_BASE(wxWindow *parent, wxWindowID id=wxID_DIALOG_CREATE_ARRAY, const wxString &title=_("Create Array"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStaticText * m_labelGridNumberingOffset
wxStaticText * m_stInfoItems
wxRadioButton * m_radioBtnSetByPos
wxButton * m_stdButtonsCancel
wxChoice * m_choiceCircNumbering
wxStaticText * m_labelCircRadius
wxCheckBox * m_checkBoxGridReverseNumbering
wxStaticText * m_stRefPosXUnit
TEXT_CTRL_EVAL * m_entryStagger
wxTextCtrl * m_entryGridSecNumberingStep
wxRadioBox * m_rbGridStartNumberingOpt
wxStaticText * m_labelCentreY
TEXT_CTRL_EVAL * m_entryNy
wxTextCtrl * m_tcValueCircCenterAngle
wxStaticText * m_unitLabelDy
wxTextCtrl * m_entryCircNumberingStep
wxStaticText * m_labelStagger
wxRadioButton * m_staggerCols
wxStaticText * m_unitLabelCircCenterAngle
wxStdDialogButtonSizer * m_stdButtons
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
wxTextCtrl wrapper to handle math expression evaluation.