12PANEL_EDIT_OPTIONS_BASE::PANEL_EDIT_OPTIONS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
18 bMargins =
new wxBoxSizer( wxHORIZONTAL );
20 wxBoxSizer* bMiddleLeftSizer;
21 bMiddleLeftSizer =
new wxBoxSizer( wxVERTICAL );
23 wxStaticBoxSizer* bOptionsSizer;
24 bOptionsSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Editing Options") ), wxVERTICAL );
26 wxBoxSizer* bSizerUniversal;
27 bSizerUniversal =
new wxBoxSizer( wxVERTICAL );
29 m_cbConstrainHV45Mode =
new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Constrain actions to H, V, 45 degrees"), wxDefaultPosition, wxDefaultSize, 0 );
32 wxBoxSizer* bSizerRotationStep;
33 bSizerRotationStep =
new wxBoxSizer( wxHORIZONTAL );
35 m_rotationAngleLabel =
new wxStaticText( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Step for &rotate commands:"), wxDefaultPosition, wxDefaultSize, 0 );
37 bSizerRotationStep->Add(
m_rotationAngleLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
39 m_rotationAngleCtrl =
new wxTextCtrl( bOptionsSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
40 m_rotationAngleCtrl->SetToolTip(
_(
"Set increment (in degrees) for context menu and hotkey rotation.") );
43 bSizerRotationStep->Add(
m_rotationAngleCtrl, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
45 m_rotationAngleUnits =
new wxStaticText( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"deg"), wxDefaultPosition, wxDefaultSize, 0 );
50 bSizerUniversal->Add( bSizerRotationStep, 0, wxEXPAND, 5 );
52 m_arcEditModeLabel =
new wxStaticText( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Arc editing mode:"), wxDefaultPosition, wxDefaultSize, 0 );
57 bSizerUniversal->Add( 0, 3, 0, wxEXPAND, 5 );
59 wxString m_arcEditModeChoices[] = {
_(
"Keep center, adjust radius"),
_(
"Keep endpoints or direction of starting point") };
60 int m_arcEditModeNChoices =
sizeof( m_arcEditModeChoices ) /
sizeof( wxString );
61 m_arcEditMode =
new wxChoice( bOptionsSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_arcEditModeNChoices, m_arcEditModeChoices, 0 );
63 bSizerUniversal->Add(
m_arcEditMode, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
66 bOptionsSizer->Add( bSizerUniversal, 0, wxEXPAND, 5 );
70 m_trackMouseDragLabel =
new wxStaticText( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Track mouse-drag mode:"), wxDefaultPosition, wxDefaultSize, 0 );
77 wxString m_trackMouseDragCtrlChoices[] = {
_(
"Move"),
_(
"Drag (45 degree mode)"),
_(
"Drag (free angle)") };
78 int m_trackMouseDragCtrlNChoices =
sizeof( m_trackMouseDragCtrlChoices ) /
sizeof( wxString );
79 m_trackMouseDragCtrl =
new wxChoice( bOptionsSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_trackMouseDragCtrlNChoices, m_trackMouseDragCtrlChoices, 0 );
86 wxString m_boardItemsFlipChoices[] = {
_(
"Left/right"),
_(
"Top/bottom") };
87 int m_boardItemsFlipNChoices =
sizeof( m_boardItemsFlipChoices ) /
sizeof( wxString );
88 m_boardItemsFlip =
new wxRadioBox( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Board items flip"), wxDefaultPosition, wxDefaultSize, m_boardItemsFlipNChoices, m_boardItemsFlipChoices, 1, wxRA_SPECIFY_ROWS );
95 m_allowFreePads =
new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Allow free pads"), wxDefaultPosition, wxDefaultSize, 0 );
96 m_allowFreePads->SetToolTip(
_(
"If checked, pads can be moved with respect to the rest of the footprint.") );
100 m_overrideLocks =
new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY,
_(
"Do not prompt for lock overrides for this session"), wxDefaultPosition, wxDefaultSize, 0 );
101 m_overrideLocks->SetToolTip(
_(
"If checked, no prompt will be shown when attempting to edit locked items. This setting is reset when KiCad restarts.") );
109 bMiddleLeftSizer->Add( bOptionsSizer, 0, wxEXPAND|wxALL, 5 );
111 m_mouseCmdsWinLin =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Left Click Mouse Commands") ), wxVERTICAL );
113 m_staticText181 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Left click (and drag) actions depend on 2 modifier keys:\nShift and Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
117 wxStaticLine* staticline11;
118 staticline11 =
new wxStaticLine(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
121 wxFlexGridSizer* fgSizerCmdsWinLin;
122 fgSizerCmdsWinLin =
new wxFlexGridSizer( 0, 2, 8, 0 );
123 fgSizerCmdsWinLin->SetFlexibleDirection( wxBOTH );
124 fgSizerCmdsWinLin->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
126 wxStaticText* staticText61;
127 staticText61 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Click"), wxDefaultPosition, wxDefaultSize, 0 );
128 staticText61->Wrap( -1 );
129 fgSizerCmdsWinLin->Add( staticText61, 0, wxRIGHT|wxLEFT, 5 );
131 wxStaticText* staticText71;
132 staticText71 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Select item(s)"), wxDefaultPosition, wxDefaultSize, 0 );
133 staticText71->Wrap( -1 );
134 fgSizerCmdsWinLin->Add( staticText71, 0, wxRIGHT|wxLEFT, 5 );
136 wxStaticText* staticText611;
137 staticText611 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
138 staticText611->Wrap( -1 );
139 fgSizerCmdsWinLin->Add( staticText611, 0, wxRIGHT|wxLEFT, 5 );
141 wxStaticText* staticText711;
142 staticText711 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
143 staticText711->Wrap( -1 );
144 fgSizerCmdsWinLin->Add( staticText711, 0, wxRIGHT|wxLEFT, 5 );
146 wxStaticText* staticText81;
147 staticText81 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Shift"), wxDefaultPosition, wxDefaultSize, 0 );
148 staticText81->Wrap( -1 );
149 fgSizerCmdsWinLin->Add( staticText81, 0, wxRIGHT|wxLEFT, 5 );
151 wxStaticText* staticText91;
152 staticText91 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
153 staticText91->Wrap( -1 );
154 fgSizerCmdsWinLin->Add( staticText91, 0, wxRIGHT|wxLEFT, 5 );
156 wxStaticText* staticText121;
157 staticText121 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Ctrl+Shift"), wxDefaultPosition, wxDefaultSize, 0 );
158 staticText121->Wrap( -1 );
159 fgSizerCmdsWinLin->Add( staticText121, 0, wxRIGHT|wxLEFT, 5 );
161 wxStaticText* staticText131;
162 staticText131 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
163 staticText131->Wrap( -1 );
164 fgSizerCmdsWinLin->Add( staticText131, 0, wxRIGHT|wxLEFT, 5 );
166 wxStaticText* staticText161;
167 staticText161 =
new wxStaticText(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY,
_(
"Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
168 staticText161->Wrap( -1 );
169 fgSizerCmdsWinLin->Add( staticText161, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
171 wxString m_rbCtrlClickActionChoices[] = {
_(
"Toggle selection"),
_(
"Highlight net (for pads or tracks)") };
172 int m_rbCtrlClickActionNChoices =
sizeof( m_rbCtrlClickActionChoices ) /
sizeof( wxString );
173 m_rbCtrlClickAction =
new wxRadioBox(
m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, m_rbCtrlClickActionNChoices, m_rbCtrlClickActionChoices, 1, wxRA_SPECIFY_COLS );
183 m_mouseCmdsOSX =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Left Click Mouse Commands") ), wxVERTICAL );
185 m_staticText1811 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Left click (and drag) actions depend on 3 modifier keys:\nOption, Shift and Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
189 wxStaticLine* staticline111;
190 staticline111 =
new wxStaticLine(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
193 wxFlexGridSizer* fgSizerCmdsOSX;
194 fgSizerCmdsOSX =
new wxFlexGridSizer( 0, 2, 8, 0 );
195 fgSizerCmdsOSX->SetFlexibleDirection( wxBOTH );
196 fgSizerCmdsOSX->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
198 wxStaticText* staticText62;
199 staticText62 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Click"), wxDefaultPosition, wxDefaultSize, 0 );
200 staticText62->Wrap( -1 );
201 fgSizerCmdsOSX->Add( staticText62, 0, wxRIGHT|wxLEFT, 5 );
203 wxStaticText* staticText72;
204 staticText72 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Select item(s)"), wxDefaultPosition, wxDefaultSize, 0 );
205 staticText72->Wrap( -1 );
206 fgSizerCmdsOSX->Add( staticText72, 0, wxRIGHT|wxLEFT, 5 );
208 wxStaticText* staticText162;
209 staticText162 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
210 staticText162->Wrap( -1 );
211 fgSizerCmdsOSX->Add( staticText162, 0, wxRIGHT|wxLEFT, 5 );
213 wxStaticText* staticText172;
214 staticText172 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
215 staticText172->Wrap( -1 );
216 fgSizerCmdsOSX->Add( staticText172, 0, wxRIGHT|wxLEFT, 5 );
218 wxStaticText* staticText82;
219 staticText82 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Shift"), wxDefaultPosition, wxDefaultSize, 0 );
220 staticText82->Wrap( -1 );
221 fgSizerCmdsOSX->Add( staticText82, 0, wxRIGHT|wxLEFT, 5 );
223 wxStaticText* staticText92;
224 staticText92 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
225 staticText92->Wrap( -1 );
226 fgSizerCmdsOSX->Add( staticText92, 0, wxRIGHT|wxLEFT, 5 );
228 wxStaticText* staticText122;
229 staticText122 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Shift+Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
230 staticText122->Wrap( -1 );
231 fgSizerCmdsOSX->Add( staticText122, 0, wxRIGHT|wxLEFT, 5 );
233 wxStaticText* staticText132;
234 staticText132 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
235 staticText132->Wrap( -1 );
236 fgSizerCmdsOSX->Add( staticText132, 0, wxRIGHT|wxLEFT, 5 );
238 wxStaticText* staticText142;
239 staticText142 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
240 staticText142->Wrap( -1 );
241 fgSizerCmdsOSX->Add( staticText142, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
243 wxString m_rbCtrlClickActionMacChoices[] = {
_(
"Toggle selection"),
_(
"Highlight net (for pads or tracks)") };
244 int m_rbCtrlClickActionMacNChoices =
sizeof( m_rbCtrlClickActionMacChoices ) /
sizeof( wxString );
245 m_rbCtrlClickActionMac =
new wxRadioBox(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, m_rbCtrlClickActionMacNChoices, m_rbCtrlClickActionMacChoices, 1, wxRA_SPECIFY_COLS );
249 wxStaticText* staticText102;
250 staticText102 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Option"), wxDefaultPosition, wxDefaultSize, 0 );
251 staticText102->Wrap( -1 );
252 fgSizerCmdsOSX->Add( staticText102, 0, wxRIGHT|wxLEFT, 5 );
254 wxStaticText* staticText112;
255 staticText112 =
new wxStaticText(
m_mouseCmdsOSX->GetStaticBox(), wxID_ANY,
_(
"Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
256 staticText112->Wrap( -1 );
257 fgSizerCmdsOSX->Add( staticText112, 0, wxRIGHT|wxLEFT, 5 );
266 bMargins->Add( bMiddleLeftSizer, 0, wxEXPAND|wxTOP|wxRIGHT, 5 );
268 m_optionsBook =
new wxSimplebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
270 fpPage =
new wxPanel(
m_optionsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
271 wxBoxSizer* bSizer10;
272 bSizer10 =
new wxBoxSizer( wxVERTICAL );
274 wxStaticBoxSizer* sbFPMagnets;
275 sbFPMagnets =
new wxStaticBoxSizer(
new wxStaticBox( fpPage, wxID_ANY,
_(
"Magnetic Points") ), wxVERTICAL );
277 m_magneticPads =
new wxCheckBox( sbFPMagnets->GetStaticBox(), wxID_ANY,
_(
"Magnetic pads"), wxDefaultPosition, wxDefaultSize, 0 );
281 m_magneticGraphics =
new wxCheckBox( sbFPMagnets->GetStaticBox(), wxID_ANY,
_(
"Magnetic graphics"), wxDefaultPosition, wxDefaultSize, 0 );
285 bSizer10->Add( sbFPMagnets, 0, wxEXPAND|wxTOP, 5 );
288 fpPage->SetSizer( bSizer10 );
290 bSizer10->Fit( fpPage );
293 pcbPage =
new wxPanel(
m_optionsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
294 wxBoxSizer* pcbOptionsSizer;
295 pcbOptionsSizer =
new wxBoxSizer( wxVERTICAL );
297 wxStaticBoxSizer* sbMagnets;
298 sbMagnets =
new wxStaticBoxSizer(
new wxStaticBox( pcbPage, wxID_ANY,
_(
"Magnetic Points") ), wxVERTICAL );
300 wxFlexGridSizer* fgSizer2;
301 fgSizer2 =
new wxFlexGridSizer( 0, 2, 5, 0 );
302 fgSizer2->SetFlexibleDirection( wxBOTH );
303 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
305 m_staticText2 =
new wxStaticText( sbMagnets->GetStaticBox(), wxID_ANY,
_(
"Snap to pads:"), wxDefaultPosition, wxDefaultSize, 0 );
307 m_staticText2->SetToolTip(
_(
"Capture cursor when the mouse enters a pad area") );
309 fgSizer2->Add(
m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
311 wxString m_magneticPadChoiceChoices[] = {
_(
"Never"),
_(
"When routing tracks"),
_(
"Always") };
312 int m_magneticPadChoiceNChoices =
sizeof( m_magneticPadChoiceChoices ) /
sizeof( wxString );
313 m_magneticPadChoice =
new wxChoice( sbMagnets->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticPadChoiceNChoices, m_magneticPadChoiceChoices, 0 );
317 fgSizer2->Add(
m_magneticPadChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT|wxLEFT, 5 );
319 m_staticText21 =
new wxStaticText( sbMagnets->GetStaticBox(), wxID_ANY,
_(
"Snap to tracks and vias:"), wxDefaultPosition, wxDefaultSize, 0 );
321 m_staticText21->SetToolTip(
_(
"Capture cursor when the mouse approaches a track") );
323 fgSizer2->Add(
m_staticText21, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
325 wxString m_magneticTrackChoiceChoices[] = {
_(
"Never"),
_(
"When routing tracks"),
_(
"Always") };
326 int m_magneticTrackChoiceNChoices =
sizeof( m_magneticTrackChoiceChoices ) /
sizeof( wxString );
327 m_magneticTrackChoice =
new wxChoice( sbMagnets->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticTrackChoiceNChoices, m_magneticTrackChoiceChoices, 0 );
333 m_staticText211 =
new wxStaticText( sbMagnets->GetStaticBox(), wxID_ANY,
_(
"Snap to graphics:"), wxDefaultPosition, wxDefaultSize, 0 );
335 m_staticText211->SetToolTip(
_(
"Capture cursor when the mouse approaches graphical control points") );
337 fgSizer2->Add(
m_staticText211, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
339 wxString m_magneticGraphicsChoiceChoices[] = {
_(
"Always"),
_(
"Never") };
340 int m_magneticGraphicsChoiceNChoices =
sizeof( m_magneticGraphicsChoiceChoices ) /
sizeof( wxString );
341 m_magneticGraphicsChoice =
new wxChoice( sbMagnets->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticGraphicsChoiceNChoices, m_magneticGraphicsChoiceChoices, 0 );
348 sbMagnets->Add( fgSizer2, 1, wxEXPAND|wxBOTTOM, 5 );
351 pcbOptionsSizer->Add( sbMagnets, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
353 wxStaticBoxSizer* sbSizer3;
354 sbSizer3 =
new wxStaticBoxSizer(
new wxStaticBox( pcbPage, wxID_ANY,
_(
"Ratsnest") ), wxVERTICAL );
356 m_showSelectedRatsnest =
new wxCheckBox( sbSizer3->GetStaticBox(), wxID_ANY,
_(
"Always show selected ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
359 m_OptDisplayCurvedRatsnestLines =
new wxCheckBox( sbSizer3->GetStaticBox(), wxID_ANY,
_(
"Show ratsnest with curved lines"), wxDefaultPosition, wxDefaultSize, 0 );
362 wxBoxSizer* bSizer11;
363 bSizer11 =
new wxBoxSizer( wxHORIZONTAL );
365 m_ratsnestThicknessLabel =
new wxStaticText( sbSizer3->GetStaticBox(), wxID_ANY,
_(
"Ratsnest line thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
369 m_ratsnestThickness =
new wxSpinCtrlDouble( sbSizer3->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0.5, 10, 0.5, 0.5 );
371 bSizer11->Add(
m_ratsnestThickness, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
374 sbSizer3->Add( bSizer11, 1, wxEXPAND, 5 );
377 pcbOptionsSizer->Add( sbSizer3, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
379 wxStaticBoxSizer* sbSizerMisc;
380 sbSizerMisc =
new wxStaticBoxSizer(
new wxStaticBox( pcbPage, wxID_ANY,
_(
"Miscellaneous") ), wxVERTICAL );
382 m_escClearsNetHighlight =
new wxCheckBox( sbSizerMisc->GetStaticBox(), wxID_ANY,
_(
"<ESC> clears net highlighting"), wxDefaultPosition, wxDefaultSize, 0 );
386 m_showPageLimits =
new wxCheckBox( sbSizerMisc->GetStaticBox(), wxID_ANY,
_(
"Show page limits"), wxDefaultPosition, wxDefaultSize, 0 );
392 m_cbCourtyardCollisions =
new wxCheckBox( sbSizerMisc->GetStaticBox(), wxID_ANY,
_(
"Show courtyard collisions when moving/dragging"), wxDefaultPosition, wxDefaultSize, 0 );
396 m_autoRefillZones =
new wxCheckBox( sbSizerMisc->GetStaticBox(), wxID_ANY,
_(
"Automatically refill zones"), wxDefaultPosition, wxDefaultSize, 0 );
398 m_autoRefillZones->SetToolTip(
_(
"If checked, zones will be re-filled after each edit operation") );
403 pcbOptionsSizer->Add( sbSizerMisc, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
406 pcbPage->SetSizer( pcbOptionsSizer );
408 pcbOptionsSizer->Fit( pcbPage );
414 bPanelSizer->Add( bMargins, 1, wxRIGHT, 5 );
417 this->SetSizer( bPanelSizer );
419 bPanelSizer->Fit(
this );
wxStaticText * m_trackMouseDragLabel
wxStaticBoxSizer * m_mouseCmdsWinLin
wxCheckBox * m_showPageLimits
wxCheckBox * m_magneticGraphics
PANEL_EDIT_OPTIONS_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)
wxCheckBox * m_OptDisplayCurvedRatsnestLines
wxCheckBox * m_escClearsNetHighlight
wxCheckBox * m_autoRefillZones
wxTextCtrl * m_rotationAngleCtrl
wxCheckBox * m_cbConstrainHV45Mode
wxCheckBox * m_allowFreePads
wxStaticText * m_staticText211
wxStaticText * m_arcEditModeLabel
wxCheckBox * m_cbCourtyardCollisions
~PANEL_EDIT_OPTIONS_BASE()
wxStaticBoxSizer * m_mouseCmdsOSX
wxRadioBox * m_rbCtrlClickActionMac
wxStaticText * m_rotationAngleUnits
wxSimplebook * m_optionsBook
wxStaticText * m_ratsnestThicknessLabel
wxStaticText * m_staticText1811
wxChoice * m_magneticGraphicsChoice
wxSpinCtrlDouble * m_ratsnestThickness
wxCheckBox * m_overrideLocks
wxRadioBox * m_rbCtrlClickAction
wxStaticText * m_staticText21
wxChoice * m_magneticTrackChoice
wxBoxSizer * m_sizerBoardEdit
wxStaticText * m_staticText181
wxChoice * m_trackMouseDragCtrl
wxStaticText * m_staticText2
wxRadioBox * m_boardItemsFlip
wxCheckBox * m_showSelectedRatsnest
wxCheckBox * m_magneticPads
wxStaticText * m_rotationAngleLabel
wxChoice * m_magneticPadChoice
A wxPanel that is designed to be reset in a standard manner.