KiCad PCB EDA Suite
PANEL_EESCHEMA_EDITING_OPTIONS_BASE Class Referenceabstract

Class PANEL_EESCHEMA_EDITING_OPTIONS_BASE. More...

#include <panel_eeschema_editing_options_base.h>

Inheritance diagram for PANEL_EESCHEMA_EDITING_OPTIONS_BASE:
RESETTABLE_PANEL PANEL_EESCHEMA_EDITING_OPTIONS

Public Member Functions

 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)
 
 ~PANEL_EESCHEMA_EDITING_OPTIONS_BASE ()
 
virtual void ResetPanel ()=0
 Reset the contents of this panel. More...
 
virtual wxString GetResetTooltip () const
 Get the tooltip the reset button should display when showing this panel. More...
 
wxString GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override
 Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. More...
 

Protected Attributes

wxStaticText * m_editingLabel
 
wxStaticLine * m_staticline3
 
wxStaticText * m_staticText24
 
wxChoice * m_choiceLineMode
 
wxCheckBox * m_mouseDragIsDrag
 
wxCheckBox * m_cbAutoStartWires
 
wxCheckBox * m_escClearsNetHighlight
 
wxStaticText * m_staticText26
 
wxStaticLine * m_staticline4
 
wxStaticText * m_borderColorLabel
 
COLOR_SWATCHm_borderColorSwatch
 
wxStaticText * m_backgroundColorLabel
 
COLOR_SWATCHm_backgroundColorSwatch
 
wxStaticText * m_selectionLabel
 
wxStaticLine * m_staticline5
 
wxCheckBox * m_cbPinSelectionOpt
 
wxSimplebook * m_leftClickCmdsBook
 
wxPanel * m_pageWinLin
 
wxStaticText * m_leftClickLabel
 
wxStaticLine * m_staticline6
 
wxStaticText * m_hint1
 
wxStaticText * m_staticText91
 
wxStaticText * m_staticText101
 
wxStaticText * m_staticText131
 
wxStaticText * m_staticText141
 
wxStaticText * m_staticText151
 
wxStaticText * m_staticText161
 
wxPanel * m_pageMac
 
wxStaticText * m_leftClickLabel1
 
wxStaticLine * m_staticline7
 
wxStaticText * m_hint2
 
wxStaticText * m_staticText11
 
wxStaticText * m_staticText12
 
wxStaticText * m_staticText9
 
wxStaticText * m_staticText10
 
wxStaticText * m_staticText15
 
wxStaticText * m_staticText16
 
wxStaticText * m_staticText13
 
wxStaticText * m_staticText14
 
wxStaticText * m_staticText32
 
wxStaticLine * m_staticline10
 
wxCheckBox * m_checkAutoplaceFields
 
wxCheckBox * m_checkAutoplaceJustify
 
wxCheckBox * m_checkAutoplaceAlign
 
wxStaticText * m_staticText321
 
wxStaticLine * m_staticline9
 
wxStaticText * m_hPitchLabel
 
wxTextCtrl * m_hPitchCtrl
 
wxStaticText * m_hPitchUnits
 
wxStaticText * m_vPitchLabel
 
wxTextCtrl * m_vPitchCtrl
 
wxStaticText * m_vPitchUnits
 
wxStaticText * m_labelIncrementLabel
 
wxSpinCtrl * m_spinLabelRepeatStep
 
wxStaticText * m_staticText322
 
wxStaticLine * m_staticline8
 
wxCheckBox * m_footprintPreview
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_EESCHEMA_EDITING_OPTIONS_BASE()

PANEL_EESCHEMA_EDITING_OPTIONS_BASE::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 
)

Definition at line 12 of file panel_eeschema_editing_options_base.cpp.

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

References _, m_backgroundColorLabel, m_backgroundColorSwatch, m_borderColorLabel, m_borderColorSwatch, m_cbAutoStartWires, m_cbPinSelectionOpt, m_checkAutoplaceAlign, m_checkAutoplaceFields, m_checkAutoplaceJustify, m_choiceLineMode, m_editingLabel, m_escClearsNetHighlight, m_footprintPreview, m_hint1, m_hint2, m_hPitchCtrl, m_hPitchLabel, m_hPitchUnits, m_labelIncrementLabel, m_leftClickCmdsBook, m_leftClickLabel, m_leftClickLabel1, m_mouseDragIsDrag, m_pageMac, m_pageWinLin, m_selectionLabel, m_spinLabelRepeatStep, m_staticline10, m_staticline3, m_staticline4, m_staticline5, m_staticline6, m_staticline7, m_staticline8, m_staticline9, m_staticText10, m_staticText101, m_staticText11, m_staticText12, m_staticText13, m_staticText131, m_staticText14, m_staticText141, m_staticText15, m_staticText151, m_staticText16, m_staticText161, m_staticText24, m_staticText26, m_staticText32, m_staticText321, m_staticText322, m_staticText9, m_staticText91, m_vPitchCtrl, m_vPitchLabel, and m_vPitchUnits.

◆ ~PANEL_EESCHEMA_EDITING_OPTIONS_BASE()

PANEL_EESCHEMA_EDITING_OPTIONS_BASE::~PANEL_EESCHEMA_EDITING_OPTIONS_BASE ( )

Definition at line 362 of file panel_eeschema_editing_options_base.cpp.

363{
364}

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint &  aPt,
wxHelpEvent::Origin  aOrigin 
) const
inlineoverrideinherited

Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.

Definition at line 72 of file resettable_panel.h.

73 {
74 if( aPt == wxPoint( -INT_MAX, INT_MAX ) )
75 return GetResetTooltip();
76 else
77 return wxPanel::GetHelpTextAtPoint( aPt, aOrigin );
78 }
virtual wxString GetResetTooltip() const
Get the tooltip the reset button should display when showing this panel.

References RESETTABLE_PANEL::GetResetTooltip().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

65 {
66 return _( "Reset all settings on this page to their default" );
67 }

References _.

Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ ResetPanel()

Member Data Documentation

◆ m_backgroundColorLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_backgroundColorLabel
protected

◆ m_backgroundColorSwatch

◆ m_borderColorLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_borderColorLabel
protected

◆ m_borderColorSwatch

◆ m_cbAutoStartWires

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_cbAutoStartWires
protected

◆ m_cbPinSelectionOpt

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_cbPinSelectionOpt
protected

◆ m_checkAutoplaceAlign

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceAlign
protected

◆ m_checkAutoplaceFields

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceFields
protected

◆ m_checkAutoplaceJustify

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceJustify
protected

◆ m_choiceLineMode

wxChoice* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_choiceLineMode
protected

◆ m_editingLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_editingLabel
protected

◆ m_escClearsNetHighlight

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_escClearsNetHighlight
protected

◆ m_footprintPreview

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_footprintPreview
protected

◆ m_hint1

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hint1
protected

◆ m_hint2

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hint2
protected

◆ m_hPitchCtrl

wxTextCtrl* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hPitchCtrl
protected

◆ m_hPitchLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hPitchLabel
protected

◆ m_hPitchUnits

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hPitchUnits
protected

◆ m_labelIncrementLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_labelIncrementLabel
protected

◆ m_leftClickCmdsBook

wxSimplebook* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickCmdsBook
protected

◆ m_leftClickLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickLabel
protected

◆ m_leftClickLabel1

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickLabel1
protected

◆ m_mouseDragIsDrag

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_mouseDragIsDrag
protected

◆ m_pageMac

wxPanel* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_pageMac
protected

◆ m_pageWinLin

wxPanel* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_pageWinLin
protected

◆ m_selectionLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_selectionLabel
protected

◆ m_spinLabelRepeatStep

◆ m_staticline10

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline10
protected

◆ m_staticline3

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline3
protected

◆ m_staticline4

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline4
protected

◆ m_staticline5

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline5
protected

◆ m_staticline6

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline6
protected

◆ m_staticline7

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline7
protected

◆ m_staticline8

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline8
protected

◆ m_staticline9

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline9
protected

◆ m_staticText10

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText10
protected

◆ m_staticText101

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText101
protected

◆ m_staticText11

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText11
protected

◆ m_staticText12

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText12
protected

◆ m_staticText13

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText13
protected

◆ m_staticText131

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText131
protected

◆ m_staticText14

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText14
protected

◆ m_staticText141

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText141
protected

◆ m_staticText15

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText15
protected

◆ m_staticText151

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText151
protected

◆ m_staticText16

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText16
protected

◆ m_staticText161

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText161
protected

◆ m_staticText24

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText24
protected

◆ m_staticText26

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText26
protected

◆ m_staticText32

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText32
protected

◆ m_staticText321

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText321
protected

◆ m_staticText322

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText322
protected

◆ m_staticText9

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText9
protected

◆ m_staticText91

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText91
protected

◆ m_vPitchCtrl

wxTextCtrl* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_vPitchCtrl
protected

◆ m_vPitchLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_vPitchLabel
protected

◆ m_vPitchUnits

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_vPitchUnits
protected

The documentation for this class was generated from the following files: