KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_eeschema_display_options_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6a-dirty)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
13
14PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_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 )
15{
16 wxBoxSizer* bPanelSizer;
17 bPanelSizer = new wxBoxSizer( wxHORIZONTAL );
18
19 wxBoxSizer* bSizer9;
20 bSizer9 = new wxBoxSizer( wxVERTICAL );
21
22 m_galOptionsSizer = new wxBoxSizer( wxVERTICAL );
23
24
25 bSizer9->Add( m_galOptionsSizer, 0, wxEXPAND, 0 );
26
27 wxBoxSizer* bSizer8;
28 bSizer8 = new wxBoxSizer( wxVERTICAL );
29
30
31 bSizer8->Add( 0, 7, 0, wxEXPAND, 5 );
32
33 m_crossprobeLabel = new wxStaticText( this, wxID_ANY, _("Cross-probing"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_crossprobeLabel->Wrap( -1 );
35 bSizer8->Add( m_crossprobeLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
36
37 m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
38 bSizer8->Add( m_staticline3, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
39
40 wxBoxSizer* bCrossProbingSizer;
41 bCrossProbingSizer = new wxBoxSizer( wxVERTICAL );
42
43 m_checkCrossProbeOnSelection = new wxCheckBox( this, wxID_ANY, _("Select/highlight objects corresponding to PCB selection"), wxDefaultPosition, wxDefaultSize, 0 );
44 m_checkCrossProbeOnSelection->SetValue(true);
45 m_checkCrossProbeOnSelection->SetToolTip( _("Highlight symbols corresponding to selected footprints") );
46
47 bCrossProbingSizer->Add( m_checkCrossProbeOnSelection, 0, wxALL, 5 );
48
49 m_checkCrossProbeCenter = new wxCheckBox( this, wxID_ANY, _("Center view on cross-probed items"), wxDefaultPosition, wxDefaultSize, 0 );
50 m_checkCrossProbeCenter->SetValue(true);
51 m_checkCrossProbeCenter->SetToolTip( _("Ensures that cross-probed symbols are visible in the current view") );
52
53 bCrossProbingSizer->Add( m_checkCrossProbeCenter, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
54
55 m_checkCrossProbeZoom = new wxCheckBox( this, wxID_ANY, _("Zoom to fit cross-probed items"), wxDefaultPosition, wxDefaultSize, 0 );
56 m_checkCrossProbeZoom->SetValue(true);
57 bCrossProbingSizer->Add( m_checkCrossProbeZoom, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
58
59 m_checkCrossProbeAutoHighlight = new wxCheckBox( this, wxID_ANY, _("Highlight cross-probed nets"), wxDefaultPosition, wxDefaultSize, 0 );
60 m_checkCrossProbeAutoHighlight->SetValue(true);
61 m_checkCrossProbeAutoHighlight->SetToolTip( _("Highlight nets when they are highlighted in the PCB editor") );
62
63 bCrossProbingSizer->Add( m_checkCrossProbeAutoHighlight, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
64
65 m_checkCrossProbeFlash = new wxCheckBox( this, wxID_ANY, _("Flash cross-probed selection"), wxDefaultPosition, wxDefaultSize, 0 );
66 m_checkCrossProbeFlash->SetToolTip( _("Temporarily flash the newly cross-probed selection 3 times") );
67
68 bCrossProbingSizer->Add( m_checkCrossProbeFlash, 0, wxBOTTOM|wxLEFT|wxRIGHT, 5 );
69
70
71 bSizer8->Add( bCrossProbingSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
72
73
74 bSizer9->Add( bSizer8, 0, wxEXPAND, 5 );
75
76
77 bPanelSizer->Add( bSizer9, 0, wxEXPAND|wxRIGHT, 5 );
78
79
80 bPanelSizer->Add( 20, 0, 0, 0, 5 );
81
82 wxBoxSizer* bRightColumn;
83 bRightColumn = new wxBoxSizer( wxVERTICAL );
84
85 m_appearanceLabel = new wxStaticText( this, wxID_ANY, _("Appearance"), wxDefaultPosition, wxDefaultSize, 0 );
86 m_appearanceLabel->Wrap( -1 );
87 bRightColumn->Add( m_appearanceLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
88
89 m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
90 bRightColumn->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
91
92 wxBoxSizer* bAppearanceSizer;
93 bAppearanceSizer = new wxBoxSizer( wxVERTICAL );
94
95 wxBoxSizer* bSizerDefaultFont;
96 bSizerDefaultFont = new wxBoxSizer( wxHORIZONTAL );
97
98 m_defaultFontLabel = new wxStaticText( this, wxID_ANY, _("Default font:"), wxDefaultPosition, wxDefaultSize, 0 );
99 m_defaultFontLabel->Wrap( -1 );
100 bSizerDefaultFont->Add( m_defaultFontLabel, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
101
102 wxString m_defaultFontCtrlChoices[] = { _("KiCad Font") };
103 int m_defaultFontCtrlNChoices = sizeof( m_defaultFontCtrlChoices ) / sizeof( wxString );
104 m_defaultFontCtrl = new FONT_CHOICE( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_defaultFontCtrlNChoices, m_defaultFontCtrlChoices, 0 );
105 m_defaultFontCtrl->SetSelection( 0 );
106 bSizerDefaultFont->Add( m_defaultFontCtrl, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
107
108
109 bAppearanceSizer->Add( bSizerDefaultFont, 1, wxEXPAND|wxTOP, 5 );
110
111 m_checkShowHiddenPins = new wxCheckBox( this, wxID_ANY, _("S&how hidden pins"), wxDefaultPosition, wxDefaultSize, 0 );
112 bAppearanceSizer->Add( m_checkShowHiddenPins, 0, wxEXPAND|wxALL, 5 );
113
114 m_checkShowRemappedPinNumbers = new wxCheckBox( this, wxID_ANY, _("Show original pin numbers when remapped"), wxDefaultPosition, wxDefaultSize, 0 );
115 bAppearanceSizer->Add( m_checkShowRemappedPinNumbers, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
116
117 m_checkShowHiddenFields = new wxCheckBox( this, wxID_ANY, _("Show hidden fields"), wxDefaultPosition, wxDefaultSize, 0 );
118 bAppearanceSizer->Add( m_checkShowHiddenFields, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
119
120 m_checkShowDirectiveLabels = new wxCheckBox( this, wxID_ANY, _("Show directive labels"), wxDefaultPosition, wxDefaultSize, 0 );
121 m_checkShowDirectiveLabels->SetValue(true);
122 bAppearanceSizer->Add( m_checkShowDirectiveLabels, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
123
124 m_checkShowERCErrors = new wxCheckBox( this, wxID_ANY, _("Show ERC errors"), wxDefaultPosition, wxDefaultSize, 0 );
125 m_checkShowERCErrors->SetValue(true);
126 bAppearanceSizer->Add( m_checkShowERCErrors, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
127
128 m_checkShowERCWarnings = new wxCheckBox( this, wxID_ANY, _("Show ERC warnings"), wxDefaultPosition, wxDefaultSize, 0 );
129 m_checkShowERCWarnings->SetValue(true);
130 bAppearanceSizer->Add( m_checkShowERCWarnings, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
131
132 m_checkShowERCExclusions = new wxCheckBox( this, wxID_ANY, _("Show ERC exclusions"), wxDefaultPosition, wxDefaultSize, 0 );
133 bAppearanceSizer->Add( m_checkShowERCExclusions, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
134
135 m_cbMarkSimExclusions = new wxCheckBox( this, wxID_ANY, _("Mark items which are excluded from simulation"), wxDefaultPosition, wxDefaultSize, 0 );
136 m_cbMarkSimExclusions->SetValue(true);
137 bAppearanceSizer->Add( m_cbMarkSimExclusions, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
138
139 m_checkShowOPVoltages = new wxCheckBox( this, wxID_ANY, _("Show OP voltages"), wxDefaultPosition, wxDefaultSize, 0 );
140 m_checkShowOPVoltages->SetValue(true);
141 bAppearanceSizer->Add( m_checkShowOPVoltages, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
142
143 m_checkShowOPCurrents = new wxCheckBox( this, wxID_ANY, _("Show OP currents"), wxDefaultPosition, wxDefaultSize, 0 );
144 m_checkShowOPCurrents->SetValue(true);
145 bAppearanceSizer->Add( m_checkShowOPCurrents, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
146
147 m_checkShowPinAltModeIcons = new wxCheckBox( this, wxID_ANY, _("Show pin alternate mode indicator icons"), wxDefaultPosition, wxDefaultSize, 0 );
148 m_checkShowPinAltModeIcons->SetValue(true);
149 bAppearanceSizer->Add( m_checkShowPinAltModeIcons, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
150
151 m_checkPageLimits = new wxCheckBox( this, wxID_ANY, _("Show page limi&ts"), wxDefaultPosition, wxDefaultSize, 0 );
152 m_checkPageLimits->SetValue(true);
153 bAppearanceSizer->Add( m_checkPageLimits, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
154
155
156 bRightColumn->Add( bAppearanceSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
157
158
159 bRightColumn->Add( 0, 7, 0, wxEXPAND, 5 );
160
161 m_selectionLabel = new wxStaticText( this, wxID_ANY, _("Selection && Highlighting"), wxDefaultPosition, wxDefaultSize, 0 );
162 m_selectionLabel->Wrap( -1 );
163 bRightColumn->Add( m_selectionLabel, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
164
165 m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
166 bRightColumn->Add( m_staticline2, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
167
168 wxBoxSizer* bSelectionSizer;
169 bSelectionSizer = new wxBoxSizer( wxVERTICAL );
170
171 m_checkSelDrawChildItems = new wxCheckBox( this, wxID_ANY, _("Draw selected child items"), wxDefaultPosition, wxDefaultSize, 0 );
172 m_checkSelDrawChildItems->SetValue(true);
173 bSelectionSizer->Add( m_checkSelDrawChildItems, 0, wxEXPAND|wxALL, 5 );
174
175 m_checkSelFillShapes = new wxCheckBox( this, wxID_ANY, _("Fill selected shapes"), wxDefaultPosition, wxDefaultSize, 0 );
176 bSelectionSizer->Add( m_checkSelFillShapes, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
177
178 wxGridBagSizer* gbSizer1;
179 gbSizer1 = new wxGridBagSizer( 2, 5 );
180 gbSizer1->SetFlexibleDirection( wxBOTH );
181 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
182 gbSizer1->SetEmptyCellSize( wxSize( -1,10 ) );
183
184 m_selWidthLabel = new wxStaticText( this, wxID_ANY, _("Selection thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
185 m_selWidthLabel->Wrap( -1 );
186 gbSizer1->Add( m_selWidthLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxTOP|wxLEFT, 5 );
187
188 m_selWidthCtrl = new wxSpinCtrlDouble( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT|wxSP_ARROW_KEYS, 0, 50, 3.000000, 1 );
189 m_selWidthCtrl->SetDigits( 0 );
190 gbSizer1->Add( m_selWidthCtrl, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxTOP, 5 );
191
192 m_highlightColorNote = new wxStaticText( this, wxID_ANY, _("(selection color can be edited in the \"Colors\" page)"), wxDefaultPosition, wxDefaultSize, 0 );
193 m_highlightColorNote->Wrap( -1 );
194 gbSizer1->Add( m_highlightColorNote, wxGBPosition( 1, 0 ), wxGBSpan( 1, 2 ), wxRIGHT|wxLEFT, 5 );
195
196 m_collisionMarkerWidthLabel = new wxStaticText( this, wxID_ANY, _("Net collision marker width:"), wxDefaultPosition, wxDefaultSize, 0 );
197 m_collisionMarkerWidthLabel->Wrap( -1 );
198 gbSizer1->Add( m_collisionMarkerWidthLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
199
200 m_collisionMarkerWidthCtrl = new wxSpinCtrlDouble( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT|wxSP_ARROW_KEYS, 1, 50, 4.000000, 1 );
201 m_collisionMarkerWidthCtrl->SetDigits( 0 );
202 gbSizer1->Add( m_collisionMarkerWidthCtrl, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
203
204 m_highlightWidthLabel = new wxStaticText( this, wxID_ANY, _("Highlight thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
205 m_highlightWidthLabel->Wrap( -1 );
206 gbSizer1->Add( m_highlightWidthLabel, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT, 5 );
207
208 m_highlightWidthCtrl = new wxSpinCtrlDouble( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT|wxSP_ARROW_KEYS, 0, 50, 2.000000, 1 );
209 m_highlightWidthCtrl->SetDigits( 0 );
210 gbSizer1->Add( m_highlightWidthCtrl, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 );
211
212
213 bSelectionSizer->Add( gbSizer1, 0, wxEXPAND|wxRIGHT, 5 );
214
215 m_highlightNetclassColors = new wxCheckBox( this, wxID_ANY, _("Highlight netclass colors"), wxDefaultPosition, wxDefaultSize, 0 );
216 bSelectionSizer->Add( m_highlightNetclassColors, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
217
218 wxGridBagSizer* gbSizer11;
219 gbSizer11 = new wxGridBagSizer( 2, 5 );
220 gbSizer11->SetFlexibleDirection( wxBOTH );
221 gbSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
222
223 m_colorHighlightLabel = new wxStaticText( this, wxID_ANY, _("Color highlight thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
224 m_colorHighlightLabel->Wrap( -1 );
225 gbSizer11->Add( m_colorHighlightLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxTOP|wxLEFT, 5 );
226
227 m_colHighlightThickness = new wxSpinCtrlDouble( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT|wxSP_ARROW_KEYS, 0, 50, 15.000000, 1 );
228 m_colHighlightThickness->SetDigits( 0 );
229 gbSizer11->Add( m_colHighlightThickness, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxTOP, 5 );
230
231 m_colHighlightLabel2 = new wxStaticText( this, wxID_ANY, _("Color highlight opacity:"), wxDefaultPosition, wxDefaultSize, 0 );
232 m_colHighlightLabel2->Wrap( -1 );
233 gbSizer11->Add( m_colHighlightLabel2, wxGBPosition( 1, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
234
235 m_colHighlightTransparency = new wxSpinCtrlDouble( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT|wxSP_ARROW_KEYS, 0, 100, 60.000000, 1 );
236 m_colHighlightTransparency->SetDigits( 0 );
237 gbSizer11->Add( m_colHighlightTransparency, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
238
239
240 bSelectionSizer->Add( gbSizer11, 0, wxEXPAND, 5 );
241
242
243 bRightColumn->Add( bSelectionSizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
244
245
246 bPanelSizer->Add( bRightColumn, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
247
248
249 this->SetSizer( bPanelSizer );
250 this->Layout();
251 bPanelSizer->Fit( this );
252}
253
const char * name
PANEL_EESCHEMA_DISPLAY_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)