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, wxALL, 5 );
49
50 wxString m_choiceArcModeChoices[] = { _("Keep center, adjust radius"), _("Keep endpoints or direction of starting point"), _("Keep center and radius, adjust endpoints") };
51 int m_choiceArcModeNChoices = sizeof( m_choiceArcModeChoices ) / sizeof( wxString );
52 m_choiceArcMode = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceArcModeNChoices, m_choiceArcModeChoices, 0 );
53 m_choiceArcMode->SetSelection( 1 );
54 bSizer5->Add( m_choiceArcMode, 0, wxALL|wxEXPAND, 5 );
55
56 m_mouseDragIsDrag = new wxCheckBox( this, wxID_ANY, _("Mouse drag performs Drag (G) operation"), wxDefaultPosition, wxDefaultSize, 0 );
57 m_mouseDragIsDrag->SetToolTip( _("If unchecked, mouse drag will perform move (M) operation") );
58
59 bSizer5->Add( m_mouseDragIsDrag, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
60
61 m_cbAutoStartWires = new wxCheckBox( this, wxID_ANY, _("Automatically start wires on unconnected pins"), wxDefaultPosition, wxDefaultSize, 0 );
62 m_cbAutoStartWires->SetToolTip( _("When enabled, you can start wiring by clicking on unconnected pins even when the wire tool is not active") );
63
64 bSizer5->Add( m_cbAutoStartWires, 0, wxLEFT|wxTOP, 5 );
65
66 m_escClearsNetHighlight = new wxCheckBox( this, wxID_ANY, _("<ESC> clears net highlighting"), wxDefaultPosition, wxDefaultSize, 0 );
67 m_escClearsNetHighlight->SetToolTip( _("First <ESC> in selection tool clears selection, next clears net highlighting") );
68
69 bSizer5->Add( m_escClearsNetHighlight, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
70
71 m_checkAutoAnnotate = new wxCheckBox( this, wxID_ANY, _("Automatically annotate symbols"), wxDefaultPosition, wxDefaultSize, 0 );
72 bSizer5->Add( m_checkAutoAnnotate, 0, wxALL, 5 );
73
74 m_checkAllowUnconstrainedPinSwaps = new wxCheckBox( this, wxID_ANY, _("Allow unconstrained pin swaps"), wxDefaultPosition, wxDefaultSize, 0 );
75 m_checkAllowUnconstrainedPinSwaps->SetToolTip( _("Allows swapping symbol pins' positions. May cause invalid design changes; use with caution.") );
76
77 bSizer5->Add( m_checkAllowUnconstrainedPinSwaps, 0, wxALL, 5 );
78
79
80 bLeftColumn->Add( bSizer5, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
81
82
83 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
84
85 m_staticText26 = new wxStaticText( this, wxID_ANY, _("Defaults for New Objects"), wxDefaultPosition, wxDefaultSize, 0 );
86 m_staticText26->Wrap( -1 );
87 bLeftColumn->Add( m_staticText26, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
88
89 m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
90 bLeftColumn->Add( m_staticline4, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
91
92 wxGridBagSizer* gbSizer1;
93 gbSizer1 = new wxGridBagSizer( 0, 0 );
94 gbSizer1->SetFlexibleDirection( wxBOTH );
95 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
96
97 m_borderColorLabel = new wxStaticText( this, wxID_ANY, _("Sheet border:"), wxDefaultPosition, wxDefaultSize, 0 );
98 m_borderColorLabel->Wrap( -1 );
99 gbSizer1->Add( m_borderColorLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALL, 5 );
100
101 m_borderColorSwatch = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
102 m_borderColorSwatch->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
103
104 gbSizer1->Add( m_borderColorSwatch, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALL, 5 );
105
106 m_backgroundColorLabel = new wxStaticText( this, wxID_ANY, _("Sheet background:"), wxDefaultPosition, wxDefaultSize, 0 );
107 m_backgroundColorLabel->Wrap( -1 );
108 gbSizer1->Add( m_backgroundColorLabel, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALL, 5 );
109
110 m_backgroundColorSwatch = new COLOR_SWATCH( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
111 m_backgroundColorSwatch->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
112
113 gbSizer1->Add( m_backgroundColorSwatch, wxGBPosition( 0, 3 ), wxGBSpan( 1, 1 ), wxALL, 5 );
114
115 m_powerSymbolLabel = new wxStaticText( this, wxID_ANY, _("Power Symbols:"), wxDefaultPosition, wxDefaultSize, 0 );
116 m_powerSymbolLabel->Wrap( -1 );
117 gbSizer1->Add( m_powerSymbolLabel, wxGBPosition( 1, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxALL, 5 );
118
119 wxString m_choicePowerChoices[] = { _("Default"), _("Global"), _("Local") };
120 int m_choicePowerNChoices = sizeof( m_choicePowerChoices ) / sizeof( wxString );
121 m_choicePower = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choicePowerNChoices, m_choicePowerChoices, 0 );
122 m_choicePower->SetSelection( 0 );
123 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.") );
124
125 gbSizer1->Add( m_choicePower, wxGBPosition( 1, 1 ), wxGBSpan( 1, 2 ), wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
126
127
128 bLeftColumn->Add( gbSizer1, 0, wxEXPAND|wxLEFT|wxTOP, 10 );
129
130 wxFlexGridSizer* fgSizer4;
131 fgSizer4 = new wxFlexGridSizer( 2, 4, 0, 0 );
132 fgSizer4->SetFlexibleDirection( wxBOTH );
133 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
134
135
136 bLeftColumn->Add( fgSizer4, 1, wxEXPAND, 5 );
137
138 wxBoxSizer* bSizer6;
139 bSizer6 = new wxBoxSizer( wxHORIZONTAL );
140
141
142 bLeftColumn->Add( bSizer6, 0, wxEXPAND|wxTOP|wxLEFT, 10 );
143
144
145 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
146
147 m_leftClickCmdsBook = new wxSimplebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
148 m_pageWinLin = new wxPanel( m_leftClickCmdsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
149 wxBoxSizer* bSizer8;
150 bSizer8 = new wxBoxSizer( wxVERTICAL );
151
152 m_leftClickLabel = new wxStaticText( m_pageWinLin, wxID_ANY, _("Left Click Mouse Commands"), wxDefaultPosition, wxDefaultSize, 0 );
153 m_leftClickLabel->Wrap( -1 );
154 bSizer8->Add( m_leftClickLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
155
156 m_staticline6 = new wxStaticLine( m_pageWinLin, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
157 bSizer8->Add( m_staticline6, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
158
159 wxBoxSizer* bSizer9;
160 bSizer9 = new wxBoxSizer( wxVERTICAL );
161
162 m_hint1 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Left click (and drag) actions depend on 2 modifier keys:\nShift and Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
163 m_hint1->Wrap( -1 );
164 bSizer9->Add( m_hint1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
165
166 wxFlexGridSizer* fgSizerCmdsWinLin;
167 fgSizerCmdsWinLin = new wxFlexGridSizer( 0, 2, 0, 5 );
168 fgSizerCmdsWinLin->SetFlexibleDirection( wxBOTH );
169 fgSizerCmdsWinLin->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
170
171 m_staticText91 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
172 m_staticText91->Wrap( -1 );
173 fgSizerCmdsWinLin->Add( m_staticText91, 0, wxALL, 5 );
174
175 m_staticText101 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
176 m_staticText101->Wrap( -1 );
177 fgSizerCmdsWinLin->Add( m_staticText101, 0, wxALL, 5 );
178
179 m_staticText131 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Shift"), wxDefaultPosition, wxDefaultSize, 0 );
180 m_staticText131->Wrap( -1 );
181 fgSizerCmdsWinLin->Add( m_staticText131, 0, wxALL, 5 );
182
183 m_staticText141 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
184 m_staticText141->Wrap( -1 );
185 fgSizerCmdsWinLin->Add( m_staticText141, 0, wxALL, 5 );
186
187 m_staticText151 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Ctrl+Shift"), wxDefaultPosition, wxDefaultSize, 0 );
188 m_staticText151->Wrap( -1 );
189 fgSizerCmdsWinLin->Add( m_staticText151, 0, wxALL, 5 );
190
191 m_staticText161 = new wxStaticText( m_pageWinLin, wxID_ANY, _("Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
192 m_staticText161->Wrap( -1 );
193 fgSizerCmdsWinLin->Add( m_staticText161, 0, wxALL, 5 );
194
195
196 bSizer9->Add( fgSizerCmdsWinLin, 0, wxEXPAND|wxTOP, 5 );
197
198
199 bSizer8->Add( bSizer9, 0, wxEXPAND|wxLEFT, 5 );
200
201
202 m_pageWinLin->SetSizer( bSizer8 );
203 m_pageWinLin->Layout();
204 bSizer8->Fit( m_pageWinLin );
205 m_leftClickCmdsBook->AddPage( m_pageWinLin, _("a page"), false );
206 m_pageMac = new wxPanel( m_leftClickCmdsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
207 wxBoxSizer* bSizer10;
208 bSizer10 = new wxBoxSizer( wxVERTICAL );
209
210 m_leftClickLabel1 = new wxStaticText( m_pageMac, wxID_ANY, _("Left Click Mouse Commands"), wxDefaultPosition, wxDefaultSize, 0 );
211 m_leftClickLabel1->Wrap( -1 );
212 bSizer10->Add( m_leftClickLabel1, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
213
214 m_staticline7 = new wxStaticLine( m_pageMac, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
215 bSizer10->Add( m_staticline7, 0, wxEXPAND|wxBOTTOM, 5 );
216
217 wxBoxSizer* bSizer11;
218 bSizer11 = new wxBoxSizer( wxVERTICAL );
219
220 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 );
221 m_hint2->Wrap( -1 );
222 bSizer11->Add( m_hint2, 0, wxALL, 5 );
223
224 wxFlexGridSizer* fgSizerCmdsWinMac;
225 fgSizerCmdsWinMac = new wxFlexGridSizer( 0, 2, 0, 5 );
226 fgSizerCmdsWinMac->SetFlexibleDirection( wxBOTH );
227 fgSizerCmdsWinMac->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
228
229 m_staticText11 = new wxStaticText( m_pageMac, wxID_ANY, _("Long Click"), wxDefaultPosition, wxDefaultSize, 0 );
230 m_staticText11->Wrap( -1 );
231 fgSizerCmdsWinMac->Add( m_staticText11, 0, wxALL, 5 );
232
233 m_staticText12 = new wxStaticText( m_pageMac, wxID_ANY, _("Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
234 m_staticText12->Wrap( -1 );
235 fgSizerCmdsWinMac->Add( m_staticText12, 0, wxALL, 5 );
236
237 m_staticText9 = new wxStaticText( m_pageMac, wxID_ANY, _("Shift"), wxDefaultPosition, wxDefaultSize, 0 );
238 m_staticText9->Wrap( -1 );
239 fgSizerCmdsWinMac->Add( m_staticText9, 0, wxALL, 5 );
240
241 m_staticText10 = new wxStaticText( m_pageMac, wxID_ANY, _("Add item(s) to selection"), wxDefaultPosition, wxDefaultSize, 0 );
242 m_staticText10->Wrap( -1 );
243 fgSizerCmdsWinMac->Add( m_staticText10, 0, wxALL, 5 );
244
245 m_staticText15 = new wxStaticText( m_pageMac, wxID_ANY, _("Shift+Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
246 m_staticText15->Wrap( -1 );
247 fgSizerCmdsWinMac->Add( m_staticText15, 0, wxALL, 5 );
248
249 m_staticText16 = new wxStaticText( m_pageMac, wxID_ANY, _("Remove item(s) from selection"), wxDefaultPosition, wxDefaultSize, 0 );
250 m_staticText16->Wrap( -1 );
251 fgSizerCmdsWinMac->Add( m_staticText16, 0, wxALL, 5 );
252
253 m_staticText13 = new wxStaticText( m_pageMac, wxID_ANY, _("Option"), wxDefaultPosition, wxDefaultSize, 0 );
254 m_staticText13->Wrap( -1 );
255 fgSizerCmdsWinMac->Add( m_staticText13, 0, wxALL, 5 );
256
257 m_staticText14 = new wxStaticText( m_pageMac, wxID_ANY, _("Clarify selection from menu"), wxDefaultPosition, wxDefaultSize, 0 );
258 m_staticText14->Wrap( -1 );
259 fgSizerCmdsWinMac->Add( m_staticText14, 0, wxALL, 5 );
260
261
262 bSizer11->Add( fgSizerCmdsWinMac, 1, wxEXPAND|wxTOP, 5 );
263
264
265 bSizer10->Add( bSizer11, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
266
267
268 m_pageMac->SetSizer( bSizer10 );
269 m_pageMac->Layout();
270 bSizer10->Fit( m_pageMac );
271 m_leftClickCmdsBook->AddPage( m_pageMac, _("a page"), false );
272
273 bLeftColumn->Add( m_leftClickCmdsBook, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
274
275
276 bPanelSizer->Add( bLeftColumn, 0, wxEXPAND|wxRIGHT, 35 );
277
278 wxBoxSizer* bRightColumn;
279 bRightColumn = new wxBoxSizer( wxVERTICAL );
280
281 m_staticText32 = new wxStaticText( this, wxID_ANY, _("Symbol Field Automatic Placement"), wxDefaultPosition, wxDefaultSize, 0 );
282 m_staticText32->Wrap( -1 );
283 bRightColumn->Add( m_staticText32, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
284
285 m_staticline10 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
286 bRightColumn->Add( m_staticline10, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
287
288 wxBoxSizer* bSizer12;
289 bSizer12 = new wxBoxSizer( wxVERTICAL );
290
291 m_checkAutoplaceFields = new wxCheckBox( this, wxID_ANY, _("A&utomatically place symbol fields"), wxDefaultPosition, wxDefaultSize, 0 );
292 bSizer12->Add( m_checkAutoplaceFields, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
293
294 m_checkAutoplaceJustify = new wxCheckBox( this, wxID_ANY, _("A&llow field autoplace to change justification"), wxDefaultPosition, wxDefaultSize, 0 );
295 bSizer12->Add( m_checkAutoplaceJustify, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
296
297 m_checkAutoplaceAlign = new wxCheckBox( this, wxID_ANY, _("Al&ways align autoplaced fields to the 50 mil grid"), wxDefaultPosition, wxDefaultSize, 0 );
298 bSizer12->Add( m_checkAutoplaceAlign, 0, wxEXPAND|wxALL, 5 );
299
300
301 bRightColumn->Add( bSizer12, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
302
303
304 bRightColumn->Add( 0, 15, 0, wxEXPAND, 5 );
305
306 m_staticText321 = new wxStaticText( this, wxID_ANY, _("Repeated Items"), wxDefaultPosition, wxDefaultSize, 0 );
307 m_staticText321->Wrap( -1 );
308 bRightColumn->Add( m_staticText321, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
309
310 m_staticline9 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
311 bRightColumn->Add( m_staticline9, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
312
313 wxBoxSizer* bSizer13;
314 bSizer13 = new wxBoxSizer( wxVERTICAL );
315
316 wxFlexGridSizer* fgSizerRepeatOpt1;
317 fgSizerRepeatOpt1 = new wxFlexGridSizer( 0, 3, 5, 5 );
318 fgSizerRepeatOpt1->SetFlexibleDirection( wxBOTH );
319 fgSizerRepeatOpt1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
320
321 m_hPitchLabel = new wxStaticText( this, wxID_ANY, _("&Horizontal pitch:"), wxDefaultPosition, wxDefaultSize, 0 );
322 m_hPitchLabel->Wrap( -1 );
323 fgSizerRepeatOpt1->Add( m_hPitchLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
324
325 m_hPitchCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
326 fgSizerRepeatOpt1->Add( m_hPitchCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
327
328 m_hPitchUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
329 m_hPitchUnits->Wrap( -1 );
330 fgSizerRepeatOpt1->Add( m_hPitchUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
331
332 m_vPitchLabel = new wxStaticText( this, wxID_ANY, _("&Vertical pitch:"), wxDefaultPosition, wxDefaultSize, 0 );
333 m_vPitchLabel->Wrap( -1 );
334 fgSizerRepeatOpt1->Add( m_vPitchLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
335
336 m_vPitchCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
337 fgSizerRepeatOpt1->Add( m_vPitchCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
338
339 m_vPitchUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
340 m_vPitchUnits->Wrap( -1 );
341 fgSizerRepeatOpt1->Add( m_vPitchUnits, 0, wxALIGN_CENTER_VERTICAL, 5 );
342
343 m_labelIncrementLabel = new wxStaticText( this, wxID_ANY, _("Label increment:"), wxDefaultPosition, wxDefaultSize, 0 );
344 m_labelIncrementLabel->Wrap( -1 );
345 fgSizerRepeatOpt1->Add( m_labelIncrementLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT, 5 );
346
347 m_spinLabelRepeatStep = new wxSpinCtrl( this, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, -1000000, 1000000, 1 );
348 fgSizerRepeatOpt1->Add( m_spinLabelRepeatStep, 1, wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 );
349
350
351 fgSizerRepeatOpt1->Add( 0, 0, 1, wxEXPAND, 3 );
352
353
354 bSizer13->Add( fgSizerRepeatOpt1, 0, wxEXPAND|wxTOP, 5 );
355
356
357 bRightColumn->Add( bSizer13, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
358
359
360 bRightColumn->Add( 0, 15, 0, wxEXPAND, 5 );
361
362 m_staticText322 = new wxStaticText( this, wxID_ANY, _("Dialog Preferences"), wxDefaultPosition, wxDefaultSize, 0 );
363 m_staticText322->Wrap( -1 );
364 bRightColumn->Add( m_staticText322, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
365
366 m_staticline8 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
367 bRightColumn->Add( m_staticline8, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
368
369 wxBoxSizer* bSizer14;
370 bSizer14 = new wxBoxSizer( wxVERTICAL );
371
372 m_footprintPreview = new wxCheckBox( this, wxID_ANY, _("Show footprint previews in Symbol Chooser"), wxDefaultPosition, wxDefaultSize, 0 );
373 bSizer14->Add( m_footprintPreview, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
374
375 m_neverShowRescue = new wxCheckBox( this, wxID_ANY, _("Never show Rescue Symbols tool"), wxDefaultPosition, wxDefaultSize, 0 );
376 bSizer14->Add( m_neverShowRescue, 0, wxALL, 5 );
377
378
379 bRightColumn->Add( bSizer14, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
380
381
382 bPanelSizer->Add( bRightColumn, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
383
384
385 this->SetSizer( bPanelSizer );
386 this->Layout();
387 bPanelSizer->Fit( this );
388}
389
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)