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 m_staticText31 =
new wxStaticText(
this, wxID_ANY,
_(
"Editing Options"), wxDefaultPosition, wxDefaultSize, 0 );
25 bMiddleLeftSizer->Add(
m_staticText31, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
27 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
28 bMiddleLeftSizer->Add(
m_staticline3, 0, wxEXPAND|wxBOTTOM, 5 );
30 wxBoxSizer* bSizerUniversal;
31 bSizerUniversal =
new wxBoxSizer( wxVERTICAL );
33 m_cbConstrainHV45Mode =
new wxCheckBox(
this, wxID_ANY,
_(
"Constrain actions to H, V, 45 degrees"), wxDefaultPosition, wxDefaultSize, 0 );
36 wxBoxSizer* bSizerRotationStep;
37 bSizerRotationStep =
new wxBoxSizer( wxHORIZONTAL );
39 m_rotationAngleLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Step for &rotate commands:"), wxDefaultPosition, wxDefaultSize, 0 );
41 bSizerRotationStep->Add(
m_rotationAngleLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
43 m_rotationAngleCtrl =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
44 m_rotationAngleCtrl->SetToolTip(
_(
"Set increment (in degrees) for context menu and hotkey rotation.") );
47 bSizerRotationStep->Add(
m_rotationAngleCtrl, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
49 m_rotationAngleUnits =
new wxStaticText(
this, wxID_ANY,
_(
"deg"), wxDefaultPosition, wxDefaultSize, 0 );
54 bSizerUniversal->Add( bSizerRotationStep, 0, wxEXPAND, 5 );
56 m_arcEditModeLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Arc editing mode:"), wxDefaultPosition, wxDefaultSize, 0 );
61 bSizerUniversal->Add( 0, 3, 0, wxEXPAND, 5 );
63 wxString m_arcEditModeChoices[] = {
_(
"Keep center, adjust radius"),
_(
"Keep endpoints or direction of starting point") };
64 int m_arcEditModeNChoices =
sizeof( m_arcEditModeChoices ) /
sizeof( wxString );
65 m_arcEditMode =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_arcEditModeNChoices, m_arcEditModeChoices, 0 );
67 bSizerUniversal->Add(
m_arcEditMode, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
70 bMiddleLeftSizer->Add( bSizerUniversal, 0, wxEXPAND|wxALL, 5 );
74 m_trackMouseDragLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Track mouse-drag mode:"), wxDefaultPosition, wxDefaultSize, 0 );
81 wxString m_trackMouseDragCtrlChoices[] = {
_(
"Move"),
_(
"Drag (45 degree mode)"),
_(
"Drag (free angle)") };
82 int m_trackMouseDragCtrlNChoices =
sizeof( m_trackMouseDragCtrlChoices ) /
sizeof( wxString );
83 m_trackMouseDragCtrl =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_trackMouseDragCtrlNChoices, m_trackMouseDragCtrlChoices, 0 );
87 wxBoxSizer* bSizerFlip;
88 bSizerFlip =
new wxBoxSizer( wxHORIZONTAL );
90 m_staticText33 =
new wxStaticText(
this, wxID_ANY,
_(
"Flip board items:"), wxDefaultPosition, wxDefaultSize, 0 );
92 bSizerFlip->Add(
m_staticText33, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
94 m_rbFlipLeftRight =
new wxRadioButton(
this, wxID_ANY,
_(
"Left/right"), wxDefaultPosition, wxDefaultSize, 0 );
95 bSizerFlip->Add(
m_rbFlipLeftRight, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 10 );
97 m_rbFlipTopBottom =
new wxRadioButton(
this, wxID_ANY,
_(
"Top/bottom"), wxDefaultPosition, wxDefaultSize, 0 );
98 bSizerFlip->Add(
m_rbFlipTopBottom, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 10 );
103 m_allowFreePads =
new wxCheckBox(
this, wxID_ANY,
_(
"Allow free pads"), wxDefaultPosition, wxDefaultSize, 0 );
104 m_allowFreePads->SetToolTip(
_(
"If checked, pads can be moved with respect to the rest of the footprint.") );
108 m_overrideLocks =
new wxCheckBox(
this, wxID_ANY,
_(
"Do not prompt for lock overrides for this session"), wxDefaultPosition, wxDefaultSize, 0 );
109 m_overrideLocks->SetToolTip(
_(
"If checked, no prompt will be shown when attempting to edit locked items. This setting is reset when KiCad restarts.") );
114 bMiddleLeftSizer->Add(
m_sizerBoardEdit, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
116 m_staticText32 =
new wxStaticText(
this, wxID_ANY,
_(
"Left Click Mouse Commands"), wxDefaultPosition, wxDefaultSize, 0 );
118 bMiddleLeftSizer->Add(
m_staticText32, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
120 m_staticline4 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
121 bMiddleLeftSizer->Add(
m_staticline4, 0, wxEXPAND|wxBOTTOM, 5 );
125 m_stHint1 =
new wxStaticText(
this, wxID_ANY,
_(
"Left click (and drag) actions depend on 2 modifier keys:\nShift and Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
129 wxFlexGridSizer* fgSizerCmdsWinLin;
130 fgSizerCmdsWinLin =
new wxFlexGridSizer( 0, 2, 8, 0 );
131 fgSizerCmdsWinLin->SetFlexibleDirection( wxBOTH );
132 fgSizerCmdsWinLin->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
134 wxStaticText* staticText61;
135 staticText61 =
new wxStaticText(
this, wxID_ANY,
_(
"Click"), wxDefaultPosition, wxDefaultSize, 0 );
136 staticText61->Wrap( -1 );
137 fgSizerCmdsWinLin->Add( staticText61, 0, wxRIGHT|wxLEFT, 5 );
139 wxStaticText* staticText71;
140 staticText71 =
new wxStaticText(
this, wxID_ANY,
_(
"Select item(s)"), wxDefaultPosition, wxDefaultSize, 0 );
141 staticText71->Wrap( -1 );
142 fgSizerCmdsWinLin->Add( staticText71, 0, wxRIGHT|wxLEFT, 5 );
144 wxStaticText* staticText611;
145 staticText611 =
new wxStaticText(
this, wxID_ANY,
_(
"Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
146 staticText611->Wrap( -1 );
147 fgSizerCmdsWinLin->Add( staticText611, 0, wxRIGHT|wxLEFT, 5 );
149 wxStaticText* staticText711;
150 staticText711 =
new wxStaticText(
this, wxID_ANY,
_(
"Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
151 staticText711->Wrap( -1 );
152 fgSizerCmdsWinLin->Add( staticText711, 0, wxRIGHT|wxLEFT, 5 );
154 wxStaticText* staticText81;
155 staticText81 =
new wxStaticText(
this, wxID_ANY,
_(
"Shift"), wxDefaultPosition, wxDefaultSize, 0 );
156 staticText81->Wrap( -1 );
157 fgSizerCmdsWinLin->Add( staticText81, 0, wxRIGHT|wxLEFT, 5 );
159 wxStaticText* staticText91;
160 staticText91 =
new wxStaticText(
this, wxID_ANY,
_(
"Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
161 staticText91->Wrap( -1 );
162 fgSizerCmdsWinLin->Add( staticText91, 0, wxRIGHT|wxLEFT, 5 );
164 wxStaticText* staticText121;
165 staticText121 =
new wxStaticText(
this, wxID_ANY,
_(
"Ctrl+Shift"), wxDefaultPosition, wxDefaultSize, 0 );
166 staticText121->Wrap( -1 );
167 fgSizerCmdsWinLin->Add( staticText121, 0, wxRIGHT|wxLEFT, 5 );
169 wxStaticText* staticText131;
170 staticText131 =
new wxStaticText(
this, wxID_ANY,
_(
"Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
171 staticText131->Wrap( -1 );
172 fgSizerCmdsWinLin->Add( staticText131, 0, wxRIGHT|wxLEFT, 5 );
174 wxStaticText* staticText161;
175 staticText161 =
new wxStaticText(
this, wxID_ANY,
_(
"Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
176 staticText161->Wrap( -1 );
177 fgSizerCmdsWinLin->Add( staticText161, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
179 wxString m_rbCtrlClickActionChoices[] = {
_(
"Toggle selection"),
_(
"Highlight net (for pads or tracks)") };
180 int m_rbCtrlClickActionNChoices =
sizeof( m_rbCtrlClickActionChoices ) /
sizeof( wxString );
181 m_rbCtrlClickAction =
new wxRadioBox(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, m_rbCtrlClickActionNChoices, m_rbCtrlClickActionChoices, 1, wxRA_SPECIFY_COLS );
193 m_stHint2 =
new wxStaticText(
this, wxID_ANY,
_(
"Left click (and drag) actions depend on 3 modifier keys:\nOption, Shift and Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
197 wxFlexGridSizer* fgSizerCmdsOSX;
198 fgSizerCmdsOSX =
new wxFlexGridSizer( 0, 2, 8, 0 );
199 fgSizerCmdsOSX->SetFlexibleDirection( wxBOTH );
200 fgSizerCmdsOSX->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
202 wxStaticText* staticText62;
203 staticText62 =
new wxStaticText(
this, wxID_ANY,
_(
"Click"), wxDefaultPosition, wxDefaultSize, 0 );
204 staticText62->Wrap( -1 );
205 fgSizerCmdsOSX->Add( staticText62, 0, wxRIGHT|wxLEFT, 5 );
207 wxStaticText* staticText72;
208 staticText72 =
new wxStaticText(
this, wxID_ANY,
_(
"Select item(s)"), wxDefaultPosition, wxDefaultSize, 0 );
209 staticText72->Wrap( -1 );
210 fgSizerCmdsOSX->Add( staticText72, 0, wxRIGHT|wxLEFT, 5 );
212 wxStaticText* staticText162;
213 staticText162 =
new wxStaticText(
this, wxID_ANY,
_(
"Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
214 staticText162->Wrap( -1 );
215 fgSizerCmdsOSX->Add( staticText162, 0, wxRIGHT|wxLEFT, 5 );
217 wxStaticText* staticText172;
218 staticText172 =
new wxStaticText(
this, wxID_ANY,
_(
"Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
219 staticText172->Wrap( -1 );
220 fgSizerCmdsOSX->Add( staticText172, 0, wxRIGHT|wxLEFT, 5 );
222 wxStaticText* staticText82;
223 staticText82 =
new wxStaticText(
this, wxID_ANY,
_(
"Shift"), wxDefaultPosition, wxDefaultSize, 0 );
224 staticText82->Wrap( -1 );
225 fgSizerCmdsOSX->Add( staticText82, 0, wxRIGHT|wxLEFT, 5 );
227 wxStaticText* staticText92;
228 staticText92 =
new wxStaticText(
this, wxID_ANY,
_(
"Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
229 staticText92->Wrap( -1 );
230 fgSizerCmdsOSX->Add( staticText92, 0, wxRIGHT|wxLEFT, 5 );
232 wxStaticText* staticText122;
233 staticText122 =
new wxStaticText(
this, wxID_ANY,
_(
"Shift+Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
234 staticText122->Wrap( -1 );
235 fgSizerCmdsOSX->Add( staticText122, 0, wxRIGHT|wxLEFT, 5 );
237 wxStaticText* staticText132;
238 staticText132 =
new wxStaticText(
this, wxID_ANY,
_(
"Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
239 staticText132->Wrap( -1 );
240 fgSizerCmdsOSX->Add( staticText132, 0, wxRIGHT|wxLEFT, 5 );
242 wxStaticText* staticText142;
243 staticText142 =
new wxStaticText(
this, wxID_ANY,
_(
"Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
244 staticText142->Wrap( -1 );
245 fgSizerCmdsOSX->Add( staticText142, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
247 wxString m_rbCtrlClickActionMacChoices[] = {
_(
"Toggle selection"),
_(
"Highlight net (for pads or tracks)") };
248 int m_rbCtrlClickActionMacNChoices =
sizeof( m_rbCtrlClickActionMacChoices ) /
sizeof( wxString );
249 m_rbCtrlClickActionMac =
new wxRadioBox(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, m_rbCtrlClickActionMacNChoices, m_rbCtrlClickActionMacChoices, 1, wxRA_SPECIFY_COLS );
253 wxStaticText* staticText102;
254 staticText102 =
new wxStaticText(
this, wxID_ANY,
_(
"Option"), wxDefaultPosition, wxDefaultSize, 0 );
255 staticText102->Wrap( -1 );
256 fgSizerCmdsOSX->Add( staticText102, 0, wxBOTTOM|wxLEFT|wxRIGHT, 5 );
258 wxStaticText* staticText112;
259 staticText112 =
new wxStaticText(
this, wxID_ANY,
_(
"Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
260 staticText112->Wrap( -1 );
261 fgSizerCmdsOSX->Add( staticText112, 0, wxBOTTOM|wxLEFT|wxRIGHT, 5 );
267 bMiddleLeftSizer->Add(
m_mouseCmdsOSX, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
270 bMargins->Add( bMiddleLeftSizer, 0, wxEXPAND|wxTOP|wxRIGHT, 5 );
273 bMargins->Add( 10, 0, 1, wxEXPAND, 5 );
275 m_optionsBook =
new wxSimplebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
277 fpPage =
new wxPanel(
m_optionsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
278 wxBoxSizer* fpOptionsSizer;
279 fpOptionsSizer =
new wxBoxSizer( wxVERTICAL );
281 m_staticText34 =
new wxStaticText( fpPage, wxID_ANY,
_(
"Magnetic Points"), wxDefaultPosition, wxDefaultSize, 0 );
283 fpOptionsSizer->Add(
m_staticText34, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
285 m_staticline5 =
new wxStaticLine( fpPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
286 fpOptionsSizer->Add(
m_staticline5, 0, wxEXPAND|wxBOTTOM, 5 );
288 wxBoxSizer* bSizer13;
289 bSizer13 =
new wxBoxSizer( wxVERTICAL );
291 m_magneticPads =
new wxCheckBox( fpPage, wxID_ANY,
_(
"Magnetic pads"), wxDefaultPosition, wxDefaultSize, 0 );
295 m_magneticGraphics =
new wxCheckBox( fpPage, wxID_ANY,
_(
"Magnetic graphics"), wxDefaultPosition, wxDefaultSize, 0 );
299 fpOptionsSizer->Add( bSizer13, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
302 fpPage->SetSizer( fpOptionsSizer );
304 fpOptionsSizer->Fit( fpPage );
307 pcbPage =
new wxPanel(
m_optionsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
308 wxBoxSizer* pcbOptionsSizer;
309 pcbOptionsSizer =
new wxBoxSizer( wxVERTICAL );
311 stMagneticPtsLabel1 =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Magnetic Points"), wxDefaultPosition, wxDefaultSize, 0 );
315 m_staticline6 =
new wxStaticLine( pcbPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
316 pcbOptionsSizer->Add(
m_staticline6, 0, wxEXPAND|wxBOTTOM, 5 );
318 wxFlexGridSizer* fgMagneticPoints;
319 fgMagneticPoints =
new wxFlexGridSizer( 0, 2, 5, 0 );
320 fgMagneticPoints->SetFlexibleDirection( wxVERTICAL );
321 fgMagneticPoints->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
323 m_staticText2 =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Snap to pads:"), wxDefaultPosition, wxDefaultSize, 0 );
325 m_staticText2->SetToolTip(
_(
"Capture cursor when the mouse enters a pad area") );
327 fgMagneticPoints->Add(
m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
329 wxString m_magneticPadChoiceChoices[] = {
_(
"Never"),
_(
"When routing tracks"),
_(
"Always") };
330 int m_magneticPadChoiceNChoices =
sizeof( m_magneticPadChoiceChoices ) /
sizeof( wxString );
331 m_magneticPadChoice =
new wxChoice( pcbPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticPadChoiceNChoices, m_magneticPadChoiceChoices, 0 );
335 fgMagneticPoints->Add(
m_magneticPadChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxRIGHT, 5 );
337 m_staticText21 =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Snap to tracks and vias:"), wxDefaultPosition, wxDefaultSize, 0 );
339 m_staticText21->SetToolTip(
_(
"Capture cursor when the mouse approaches a track") );
341 fgMagneticPoints->Add(
m_staticText21, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
343 wxString m_magneticTrackChoiceChoices[] = {
_(
"Never"),
_(
"When routing tracks"),
_(
"Always") };
344 int m_magneticTrackChoiceNChoices =
sizeof( m_magneticTrackChoiceChoices ) /
sizeof( wxString );
345 m_magneticTrackChoice =
new wxChoice( pcbPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticTrackChoiceNChoices, m_magneticTrackChoiceChoices, 0 );
349 fgMagneticPoints->Add(
m_magneticTrackChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxRIGHT, 5 );
351 m_staticText211 =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Snap to graphics:"), wxDefaultPosition, wxDefaultSize, 0 );
353 m_staticText211->SetToolTip(
_(
"Capture cursor when the mouse approaches graphical control points") );
355 fgMagneticPoints->Add(
m_staticText211, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
357 wxString m_magneticGraphicsChoiceChoices[] = {
_(
"Always"),
_(
"Never") };
358 int m_magneticGraphicsChoiceNChoices =
sizeof( m_magneticGraphicsChoiceChoices ) /
sizeof( wxString );
359 m_magneticGraphicsChoice =
new wxChoice( pcbPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticGraphicsChoiceNChoices, m_magneticGraphicsChoiceChoices, 0 );
366 pcbOptionsSizer->Add( fgMagneticPoints, 0, wxEXPAND|wxALL, 5 );
369 pcbOptionsSizer->Add( 0, 5, 0, wxEXPAND, 5 );
371 stRatsnestLabel =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
375 m_staticline7 =
new wxStaticLine( pcbPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
376 pcbOptionsSizer->Add(
m_staticline7, 0, wxEXPAND|wxBOTTOM, 5 );
378 wxBoxSizer* bRatsnest;
379 bRatsnest =
new wxBoxSizer( wxVERTICAL );
381 m_showSelectedRatsnest =
new wxCheckBox( pcbPage, wxID_ANY,
_(
"Always show selected ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
387 wxBoxSizer* bRatsnestLineThickness;
388 bRatsnestLineThickness =
new wxBoxSizer( wxHORIZONTAL );
390 m_ratsnestThicknessLabel =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Ratsnest line thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
394 m_ratsnestThickness =
new wxSpinCtrlDouble( pcbPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0.5, 10, 0.5, 0.5 );
396 bRatsnestLineThickness->Add(
m_ratsnestThickness, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
399 bRatsnest->Add( bRatsnestLineThickness, 1, wxEXPAND, 5 );
402 pcbOptionsSizer->Add( bRatsnest, 0, wxEXPAND|wxALL, 5 );
404 stMiscellaneousLabel =
new wxStaticText( pcbPage, wxID_ANY,
_(
"Miscellaneous"), wxDefaultPosition, wxDefaultSize, 0 );
408 m_staticline8 =
new wxStaticLine( pcbPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
409 pcbOptionsSizer->Add(
m_staticline8, 0, wxEXPAND|wxBOTTOM, 5 );
411 wxBoxSizer* bMiscellaneous;
412 bMiscellaneous =
new wxBoxSizer( wxVERTICAL );
414 m_escClearsNetHighlight =
new wxCheckBox( pcbPage, wxID_ANY,
_(
"<ESC> clears net highlighting"), wxDefaultPosition, wxDefaultSize, 0 );
418 m_showPageLimits =
new wxCheckBox( pcbPage, wxID_ANY,
_(
"Show page limits"), wxDefaultPosition, wxDefaultSize, 0 );
424 m_cbCourtyardCollisions =
new wxCheckBox( pcbPage, wxID_ANY,
_(
"Show courtyard collisions when moving/dragging"), wxDefaultPosition, wxDefaultSize, 0 );
428 m_autoRefillZones =
new wxCheckBox( pcbPage, wxID_ANY,
_(
"Automatically refill zones"), wxDefaultPosition, wxDefaultSize, 0 );
430 m_autoRefillZones->SetToolTip(
_(
"If checked, zones will be re-filled after each edit operation") );
435 pcbOptionsSizer->Add( bMiscellaneous, 1, wxEXPAND|wxALL, 5 );
438 pcbPage->SetSizer( pcbOptionsSizer );
440 pcbOptionsSizer->Fit( pcbPage );
446 bPanelSizer->Add( bMargins, 1, wxRIGHT, 5 );
449 this->SetSizer( bPanelSizer );
451 bPanelSizer->Fit(
this );
wxStaticText * m_trackMouseDragLabel
wxCheckBox * m_showPageLimits
wxCheckBox * m_magneticGraphics
wxStaticLine * m_staticline7
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
wxStaticText * m_staticText34
wxStaticLine * m_staticline6
wxCheckBox * m_escClearsNetHighlight
wxCheckBox * m_autoRefillZones
wxTextCtrl * m_rotationAngleCtrl
wxStaticText * stRatsnestLabel
wxCheckBox * m_cbConstrainHV45Mode
wxStaticLine * m_staticline8
wxCheckBox * m_allowFreePads
wxStaticText * m_staticText211
wxStaticText * stMiscellaneousLabel
wxStaticText * m_arcEditModeLabel
wxCheckBox * m_cbCourtyardCollisions
~PANEL_EDIT_OPTIONS_BASE()
wxRadioBox * m_rbCtrlClickActionMac
wxStaticText * m_rotationAngleUnits
wxSimplebook * m_optionsBook
wxRadioButton * m_rbFlipTopBottom
wxBoxSizer * m_mouseCmdsWinLin
wxStaticLine * m_staticline4
wxStaticText * m_staticText31
wxStaticText * m_staticText33
wxStaticText * m_ratsnestThicknessLabel
wxStaticText * stMagneticPtsLabel1
wxChoice * m_magneticGraphicsChoice
wxSpinCtrlDouble * m_ratsnestThickness
wxCheckBox * m_overrideLocks
wxRadioBox * m_rbCtrlClickAction
wxStaticText * m_staticText21
wxBoxSizer * m_mouseCmdsOSX
wxChoice * m_magneticTrackChoice
wxBoxSizer * m_sizerBoardEdit
wxChoice * m_trackMouseDragCtrl
wxStaticText * m_staticText2
wxStaticText * m_staticText32
wxStaticLine * m_staticline3
wxStaticLine * m_staticline5
wxCheckBox * m_showSelectedRatsnest
wxRadioButton * m_rbFlipLeftRight
wxCheckBox * m_magneticPads
wxStaticText * m_rotationAngleLabel
wxChoice * m_magneticPadChoice
A wxPanel that is designed to be reset in a standard manner.