KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_eeschema_editing_options_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_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 )
13{
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer = new wxBoxSizer( wxHORIZONTAL );
16
17 wxBoxSizer* bLeftColumn;
18 bLeftColumn = new wxBoxSizer( wxVERTICAL );
19
20 m_editingLabel = new wxStaticText( this, wxID_ANY, _("Editing"), wxDefaultPosition, wxDefaultSize, 0 );
21 m_editingLabel->Wrap( -1 );
22 bLeftColumn->Add( m_editingLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
23
24 m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
25 bLeftColumn->Add( m_staticline3, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
26
27 wxBoxSizer* bSizer5;
28 bSizer5 = new wxBoxSizer( wxVERTICAL );
29
30 wxBoxSizer* bSizer61;
31 bSizer61 = new wxBoxSizer( wxHORIZONTAL );
32
33 m_staticText24 = new wxStaticText( this, wxID_ANY, _("Line drawing mode:"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_staticText24->Wrap( -1 );
35 bSizer61->Add( m_staticText24, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
36
37 wxString m_choiceLineModeChoices[] = { _("Free Angle"), _("90 deg Angle"), _("45 deg Angle") };
38 int m_choiceLineModeNChoices = sizeof( m_choiceLineModeChoices ) / sizeof( wxString );
39 m_choiceLineMode = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceLineModeNChoices, m_choiceLineModeChoices, 0 );
40 m_choiceLineMode->SetSelection( 1 );
41 bSizer61->Add( m_choiceLineMode, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
42
43
44 bSizer5->Add( bSizer61, 1, wxEXPAND, 5 );
45
46 m_staticTextArcEdit = new wxStaticText( this, wxID_ANY, _("Arc editing mode:"), wxDefaultPosition, wxDefaultSize, 0 );
47 m_staticTextArcEdit->Wrap( -1 );
48 bSizer5->Add( m_staticTextArcEdit, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
49
50
51 bSizer5->Add( 0, 3, 0, 0, 5 );
52
53 wxString m_choiceArcModeChoices[] = { _("Keep center, adjust radius"), _("Keep endpoints or direction of starting point"), _("Keep center and radius, adjust endpoints") };
54 int m_choiceArcModeNChoices = sizeof( m_choiceArcModeChoices ) / sizeof( wxString );
55 m_choiceArcMode = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceArcModeNChoices, m_choiceArcModeChoices, 0 );
56 m_choiceArcMode->SetSelection( 1 );
57 bSizer5->Add( m_choiceArcMode, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
58
59 m_mouseDragIsDrag = new wxCheckBox( this, wxID_ANY, _("Mouse drag performs Drag (G) operation"), wxDefaultPosition, wxDefaultSize, 0 );
60 m_mouseDragIsDrag->SetToolTip( _("If unchecked, mouse drag will perform move (M) operation") );
61
62 bSizer5->Add( m_mouseDragIsDrag, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
63
64 m_cbAutoStartWires = new wxCheckBox( this, wxID_ANY, _("Automatically start wires on unconnected pins"), wxDefaultPosition, wxDefaultSize, 0 );
65 m_cbAutoStartWires->SetToolTip( _("When enabled, you can start wiring by clicking on unconnected pins even when the wire tool is not active") );
66
67 bSizer5->Add( m_cbAutoStartWires, 0, wxLEFT|wxTOP, 5 );
68
69 m_escClearsNetHighlight = new wxCheckBox( this, wxID_ANY, _("<ESC> clears net highlighting"), wxDefaultPosition, wxDefaultSize, 0 );
70 m_escClearsNetHighlight->SetToolTip( _("First <ESC> in selection tool clears selection, next clears net highlighting") );
71
72 bSizer5->Add( m_escClearsNetHighlight, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
73
74 m_checkAutoAnnotate = new wxCheckBox( this, wxID_ANY, _("Automatically annotate symbols"), wxDefaultPosition, wxDefaultSize, 0 );
75 bSizer5->Add( m_checkAutoAnnotate, 0, wxALL, 5 );
76
77 m_checkAutoPlaceSheetPins = new wxCheckBox( this, wxID_ANY, _("Automatically place sheet pins"), wxDefaultPosition, wxDefaultSize, 0 );
78 m_checkAutoPlaceSheetPins->SetToolTip( _("Place pins for hierarchical labels when placing sheets or design blocks as sheets.") );
79
80 bSizer5->Add( m_checkAutoPlaceSheetPins, 0, wxALL, 5 );
81
82 m_checkAllowUnconstrainedPinSwaps = new wxCheckBox( this, wxID_ANY, _("Allow unconstrained pin swaps"), wxDefaultPosition, wxDefaultSize, 0 );
83 m_checkAllowUnconstrainedPinSwaps->SetToolTip( _("Allows swapping symbol pins' positions. May cause invalid design changes; use with caution.") );
84
85 bSizer5->Add( m_checkAllowUnconstrainedPinSwaps, 0, wxALL, 5 );
86
87
88 bLeftColumn->Add( bSizer5, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
89
90
91 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
92
93 m_staticText26 = new wxStaticText( this, wxID_ANY, _("Defaults for New Objects"), wxDefaultPosition, wxDefaultSize, 0 );
94 m_staticText26->Wrap( -1 );
95 bLeftColumn->Add( m_staticText26, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
96
97 m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
98 bLeftColumn->Add( m_staticline4, 0, wxEXPAND|wxTOP, 2 );
99
100 wxGridBagSizer* gbSizer1;
101 gbSizer1 = new wxGridBagSizer( 0, 0 );
102 gbSizer1->SetFlexibleDirection( wxBOTH );
103 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
104 gbSizer1->SetEmptyCellSize( wxSize( 10,-1 ) );
105
106 m_borderColorLabel = new wxStaticText( this, wxID_ANY, _("Sheet border:"), wxDefaultPosition, wxDefaultSize, 0 );
107 m_borderColorLabel->Wrap( -1 );
108 gbSizer1->Add( m_borderColorLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALL|wxALIGN_CENTER_VERTICAL, 5 );
109
110 m_borderColorSwatch = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
111 m_borderColorSwatch->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
112
113 gbSizer1->Add( m_borderColorSwatch, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALL|wxALIGN_CENTER_VERTICAL, 5 );
114
115 m_backgroundColorLabel = new wxStaticText( this, wxID_ANY, _("Sheet background:"), wxDefaultPosition, wxDefaultSize, 0 );
116 m_backgroundColorLabel->Wrap( -1 );
117 gbSizer1->Add( m_backgroundColorLabel, wxGBPosition( 0, 3 ), wxGBSpan( 1, 1 ), wxALL|wxALIGN_CENTER_VERTICAL, 5 );
118
119 m_backgroundColorSwatch = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
120 m_backgroundColorSwatch->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
121
122 gbSizer1->Add( m_backgroundColorSwatch, wxGBPosition( 0, 4 ), wxGBSpan( 1, 1 ), wxALL|wxALIGN_CENTER_VERTICAL, 5 );
123
124 m_powerSymbolLabel = new wxStaticText( this, wxID_ANY, _("Power symbols:"), wxDefaultPosition, wxDefaultSize, 0 );
125 m_powerSymbolLabel->Wrap( -1 );
126 gbSizer1->Add( m_powerSymbolLabel, wxGBPosition( 1, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxALL, 5 );
127
128 wxString m_choicePowerChoices[] = { _("Default"), _("Global"), _("Local") };
129 int m_choicePowerNChoices = sizeof( m_choicePowerChoices ) / sizeof( wxString );
130 m_choicePower = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choicePowerNChoices, m_choicePowerChoices, 0 );
131 m_choicePower->SetSelection( 0 );
132 m_choicePower->SetToolTip( _("Select the assigned type of new power symbol.\nDefault will follow the symbol definition.\nGlobal will convert new power symbols to global power symbols.\nLocal will convert new power symbols to a local power symbols.") );
133
134 gbSizer1->Add( m_choicePower, wxGBPosition( 1, 1 ), wxGBSpan( 1, 3 ), wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
135
136
137 bLeftColumn->Add( gbSizer1, 0, wxEXPAND|wxLEFT|wxTOP, 10 );
138
139 wxFlexGridSizer* fgSizer4;
140 fgSizer4 = new wxFlexGridSizer( 2, 4, 0, 0 );
141 fgSizer4->SetFlexibleDirection( wxBOTH );
142 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
143
144
145 bLeftColumn->Add( fgSizer4, 1, wxEXPAND, 5 );
146
147 wxBoxSizer* bSizer6;
148 bSizer6 = new wxBoxSizer( wxHORIZONTAL );
149
150
151 bLeftColumn->Add( bSizer6, 0, wxEXPAND|wxTOP|wxLEFT, 10 );
152
153
154 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
155
156 m_selectionLabel = new wxStaticText( this, wxID_ANY, _("Selection"), wxDefaultPosition, wxDefaultSize, 0 );
157 m_selectionLabel->Wrap( -1 );
158 bLeftColumn->Add( m_selectionLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
159
160 m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
161 bLeftColumn->Add( m_staticline5, 0, wxEXPAND|wxBOTTOM, 5 );
162
163 wxBoxSizer* bSizer7;
164 bSizer7 = new wxBoxSizer( wxVERTICAL );
165
166 m_cbPinSelectionOpt = new wxCheckBox( this, wxID_ANY, _("Clicking on a pin selects the symbol"), wxDefaultPosition, wxDefaultSize, 0 );
167 m_cbPinSelectionOpt->SetToolTip( _("In schematic editor:\nIf enabled, clicking on a pin select the parent symbol.\nIf disabled, clicking on a pin select only the pin.") );
168
169 bSizer7->Add( m_cbPinSelectionOpt, 0, wxALL, 5 );
170
171
172 bLeftColumn->Add( bSizer7, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
173
174
175 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
176
177 m_leftClickCmdsBook = new wxSimplebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
178 m_pageWinLin = new wxPanel( m_leftClickCmdsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
179 wxBoxSizer* bSizer8;
180 bSizer8 = new wxBoxSizer( wxVERTICAL );
181
182 m_leftClickLabel = new wxStaticText( m_pageWinLin, wxID_ANY, _("Left Click Mouse Commands"), wxDefaultPosition, wxDefaultSize, 0 );
183 m_leftClickLabel->Wrap( -1 );
184 bSizer8->Add( m_leftClickLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
185
186 m_staticline6 = new wxStaticLine( m_pageWinLin, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
187 bSizer8->Add( m_staticline6, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
188
189 wxBoxSizer* bSizer9;
190 bSizer9 = new wxBoxSizer( wxVERTICAL );
191
192 m_hint1 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Left click (and drag) actions depend on 2 modifier keys:\nShift and Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
193 m_hint1->Wrap( -1 );
194 bSizer9->Add( m_hint1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
195
196 wxFlexGridSizer* fgSizerCmdsWinLin;
197 fgSizerCmdsWinLin = new wxFlexGridSizer( 0, 2, 0, 5 );
198 fgSizerCmdsWinLin->SetFlexibleDirection( wxBOTH );
199 fgSizerCmdsWinLin->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
200
201 m_staticText91 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
202 m_staticText91->Wrap( -1 );
203 fgSizerCmdsWinLin->Add( m_staticText91, 0, wxALL, 5 );
204
205 m_staticText101 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
206 m_staticText101->Wrap( -1 );
207 fgSizerCmdsWinLin->Add( m_staticText101, 0, wxALL, 5 );
208
209 m_staticText131 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Shift"), wxDefaultPosition, wxDefaultSize, 0 );
210 m_staticText131->Wrap( -1 );
211 fgSizerCmdsWinLin->Add( m_staticText131, 0, wxALL, 5 );
212
213 m_staticText141 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
214 m_staticText141->Wrap( -1 );
215 fgSizerCmdsWinLin->Add( m_staticText141, 0, wxALL, 5 );
216
217 m_staticText151 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Ctrl+Shift"), wxDefaultPosition, wxDefaultSize, 0 );
218 m_staticText151->Wrap( -1 );
219 fgSizerCmdsWinLin->Add( m_staticText151, 0, wxALL, 5 );
220
221 m_staticText161 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
222 m_staticText161->Wrap( -1 );
223 fgSizerCmdsWinLin->Add( m_staticText161, 0, wxALL, 5 );
224
225
226 bSizer9->Add( fgSizerCmdsWinLin, 0, wxEXPAND|wxTOP, 5 );
227
228
229 bSizer8->Add( bSizer9, 0, wxEXPAND|wxLEFT, 5 );
230
231
232 m_pageWinLin->SetSizer( bSizer8 );
233 m_pageWinLin->Layout();
234 bSizer8->Fit( m_pageWinLin );
235 m_leftClickCmdsBook->AddPage( m_pageWinLin, _("a page"), false );
236 m_pageMac = new wxPanel( m_leftClickCmdsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
237 wxBoxSizer* bSizer10;
238 bSizer10 = new wxBoxSizer( wxVERTICAL );
239
240 m_leftClickLabel1 = new wxStaticText( m_pageMac, wxID_ANY, _("Left Click Mouse Commands"), wxDefaultPosition, wxDefaultSize, 0 );
241 m_leftClickLabel1->Wrap( -1 );
242 bSizer10->Add( m_leftClickLabel1, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
243
244 m_staticline7 = new wxStaticLine( m_pageMac, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
245 bSizer10->Add( m_staticline7, 0, wxEXPAND|wxBOTTOM, 5 );
246
247 wxBoxSizer* bSizer11;
248 bSizer11 = new wxBoxSizer( wxVERTICAL );
249
250 m_hint2 = new wxStaticText( m_pageMac, wxID_ANY, _("Left click (and drag) actions depend on 3 modifier keys:\nOption, Shift and Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
251 m_hint2->Wrap( -1 );
252 bSizer11->Add( m_hint2, 0, wxALL, 5 );
253
254 wxFlexGridSizer* fgSizerCmdsWinMac;
255 fgSizerCmdsWinMac = new wxFlexGridSizer( 0, 2, 0, 5 );
256 fgSizerCmdsWinMac->SetFlexibleDirection( wxBOTH );
257 fgSizerCmdsWinMac->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
258
259 m_staticText11 = new wxStaticText( m_pageMac, wxID_ANY, _("Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
260 m_staticText11->Wrap( -1 );
261 fgSizerCmdsWinMac->Add( m_staticText11, 0, wxALL, 5 );
262
263 m_staticText12 = new wxStaticText( m_pageMac, wxID_ANY, _("Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
264 m_staticText12->Wrap( -1 );
265 fgSizerCmdsWinMac->Add( m_staticText12, 0, wxALL, 5 );
266
267 m_staticText9 = new wxStaticText( m_pageMac, wxID_ANY, _("Shift"), wxDefaultPosition, wxDefaultSize, 0 );
268 m_staticText9->Wrap( -1 );
269 fgSizerCmdsWinMac->Add( m_staticText9, 0, wxALL, 5 );
270
271 m_staticText10 = new wxStaticText( m_pageMac, wxID_ANY, _("Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
272 m_staticText10->Wrap( -1 );
273 fgSizerCmdsWinMac->Add( m_staticText10, 0, wxALL, 5 );
274
275 m_staticText15 = new wxStaticText( m_pageMac, wxID_ANY, _("Shift+Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
276 m_staticText15->Wrap( -1 );
277 fgSizerCmdsWinMac->Add( m_staticText15, 0, wxALL, 5 );
278
279 m_staticText16 = new wxStaticText( m_pageMac, wxID_ANY, _("Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
280 m_staticText16->Wrap( -1 );
281 fgSizerCmdsWinMac->Add( m_staticText16, 0, wxALL, 5 );
282
283 m_staticText13 = new wxStaticText( m_pageMac, wxID_ANY, _("Option"), wxDefaultPosition, wxDefaultSize, 0 );
284 m_staticText13->Wrap( -1 );
285 fgSizerCmdsWinMac->Add( m_staticText13, 0, wxALL, 5 );
286
287 m_staticText14 = new wxStaticText( m_pageMac, wxID_ANY, _("Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
288 m_staticText14->Wrap( -1 );
289 fgSizerCmdsWinMac->Add( m_staticText14, 0, wxALL, 5 );
290
291
292 bSizer11->Add( fgSizerCmdsWinMac, 1, wxEXPAND|wxTOP, 5 );
293
294
295 bSizer10->Add( bSizer11, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
296
297
298 m_pageMac->SetSizer( bSizer10 );
299 m_pageMac->Layout();
300 bSizer10->Fit( m_pageMac );
301 m_leftClickCmdsBook->AddPage( m_pageMac, _("a page"), false );
302
303 bLeftColumn->Add( m_leftClickCmdsBook, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
304
305
306 bPanelSizer->Add( bLeftColumn, 0, wxEXPAND|wxRIGHT, 35 );
307
308 wxBoxSizer* bRightColumn;
309 bRightColumn = new wxBoxSizer( wxVERTICAL );
310
311 m_staticText32 = new wxStaticText( this, wxID_ANY, _("Symbol Field Automatic Placement"), wxDefaultPosition, wxDefaultSize, 0 );
312 m_staticText32->Wrap( -1 );
313 bRightColumn->Add( m_staticText32, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
314
315 m_staticline10 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
316 bRightColumn->Add( m_staticline10, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
317
318 wxBoxSizer* bSizer12;
319 bSizer12 = new wxBoxSizer( wxVERTICAL );
320
321 m_checkAutoplaceFields = new wxCheckBox( this, wxID_ANY, _("A&utomatically place symbol fields"), wxDefaultPosition, wxDefaultSize, 0 );
322 bSizer12->Add( m_checkAutoplaceFields, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
323
324 m_checkAutoplaceJustify = new wxCheckBox( this, wxID_ANY, _("A&llow field autoplace to change justification"), wxDefaultPosition, wxDefaultSize, 0 );
325 bSizer12->Add( m_checkAutoplaceJustify, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
326
327 m_checkAutoplaceAlign = new wxCheckBox( this, wxID_ANY, _("Al&ways align autoplaced fields to the 50 mil grid"), wxDefaultPosition, wxDefaultSize, 0 );
328 bSizer12->Add( m_checkAutoplaceAlign, 0, wxEXPAND|wxALL, 5 );
329
330
331 bRightColumn->Add( bSizer12, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
332
333
334 bRightColumn->Add( 0, 15, 0, wxEXPAND, 5 );
335
336 m_staticText321 = new wxStaticText( this, wxID_ANY, _("Repeated Items"), wxDefaultPosition, wxDefaultSize, 0 );
337 m_staticText321->Wrap( -1 );
338 bRightColumn->Add( m_staticText321, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
339
340 m_staticline9 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
341 bRightColumn->Add( m_staticline9, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
342
343 wxBoxSizer* bSizer13;
344 bSizer13 = new wxBoxSizer( wxVERTICAL );
345
346 wxFlexGridSizer* fgSizerRepeatOpt1;
347 fgSizerRepeatOpt1 = new wxFlexGridSizer( 0, 3, 5, 5 );
348 fgSizerRepeatOpt1->SetFlexibleDirection( wxBOTH );
349 fgSizerRepeatOpt1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
350
351 m_hPitchLabel = new wxStaticText( this, wxID_ANY, _("&Horizontal pitch:"), wxDefaultPosition, wxDefaultSize, 0 );
352 m_hPitchLabel->Wrap( -1 );
353 fgSizerRepeatOpt1->Add( m_hPitchLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
354
355 m_hPitchCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
356 fgSizerRepeatOpt1->Add( m_hPitchCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
357
358 m_hPitchUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
359 m_hPitchUnits->Wrap( -1 );
360 fgSizerRepeatOpt1->Add( m_hPitchUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
361
362 m_vPitchLabel = new wxStaticText( this, wxID_ANY, _("&Vertical pitch:"), wxDefaultPosition, wxDefaultSize, 0 );
363 m_vPitchLabel->Wrap( -1 );
364 fgSizerRepeatOpt1->Add( m_vPitchLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
365
366 m_vPitchCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
367 fgSizerRepeatOpt1->Add( m_vPitchCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
368
369 m_vPitchUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
370 m_vPitchUnits->Wrap( -1 );
371 fgSizerRepeatOpt1->Add( m_vPitchUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
372
373 m_labelIncrementLabel = new wxStaticText( this, wxID_ANY, _("Label increment:"), wxDefaultPosition, wxDefaultSize, 0 );
374 m_labelIncrementLabel->Wrap( -1 );
375 fgSizerRepeatOpt1->Add( m_labelIncrementLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT, 5 );
376
377 m_spinLabelRepeatStep = new wxSpinCtrl( this, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, -1000000, 1000000, 1 );
378 fgSizerRepeatOpt1->Add( m_spinLabelRepeatStep, 1, wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 );
379
380
381 fgSizerRepeatOpt1->Add( 0, 0, 1, wxEXPAND, 3 );
382
383
384 bSizer13->Add( fgSizerRepeatOpt1, 0, wxEXPAND|wxTOP, 5 );
385
386
387 bRightColumn->Add( bSizer13, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
388
389
390 bRightColumn->Add( 0, 15, 0, wxEXPAND, 5 );
391
392 m_staticText322 = new wxStaticText( this, wxID_ANY, _("Dialog Preferences"), wxDefaultPosition, wxDefaultSize, 0 );
393 m_staticText322->Wrap( -1 );
394 bRightColumn->Add( m_staticText322, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
395
396 m_staticline8 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
397 bRightColumn->Add( m_staticline8, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
398
399 wxBoxSizer* bSizer14;
400 bSizer14 = new wxBoxSizer( wxVERTICAL );
401
402 m_footprintPreview = new wxCheckBox( this, wxID_ANY, _("Show footprint previews in Symbol Chooser"), wxDefaultPosition, wxDefaultSize, 0 );
403 bSizer14->Add( m_footprintPreview, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
404
405 m_neverShowRescue = new wxCheckBox( this, wxID_ANY, _("Never show Rescue Symbols tool"), wxDefaultPosition, wxDefaultSize, 0 );
406 bSizer14->Add( m_neverShowRescue, 0, wxALL, 5 );
407
408
409 bRightColumn->Add( bSizer14, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
410
411
412 bPanelSizer->Add( bRightColumn, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
413
414
415 this->SetSizer( bPanelSizer );
416 this->Layout();
417 bPanelSizer->Fit( this );
418}
419
const char * name
A simple color swatch of the kind used to set layer colors.
PANEL_EESCHEMA_EDITING_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)
RESETTABLE_PANEL(wxWindow *aParent, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxSize(-1,-1), long aStyle=wxTAB_TRAVERSAL, const wxString &aName=wxEmptyString)
#define _(s)