KiCad PCB EDA Suite
panel_edit_options_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
9 
11 
12 PANEL_EDIT_OPTIONS_BASE::PANEL_EDIT_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
13 {
14  wxBoxSizer* bPanelSizer;
15  bPanelSizer = new wxBoxSizer( wxHORIZONTAL );
16 
17  wxBoxSizer* bMargins;
18  bMargins = new wxBoxSizer( wxHORIZONTAL );
19 
20  wxBoxSizer* bMiddleLeftSizer;
21  bMiddleLeftSizer = new wxBoxSizer( wxVERTICAL );
22 
23  wxStaticBoxSizer* bOptionsSizer;
24  bOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Editing Options") ), wxVERTICAL );
25 
26  wxBoxSizer* bSizeFPEdit;
27  bSizeFPEdit = new wxBoxSizer( wxVERTICAL );
28 
29  m_magneticPads = new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY, _("Magnetic pads"), wxDefaultPosition, wxDefaultSize, 0 );
30  bSizeFPEdit->Add( m_magneticPads, 0, wxBOTTOM, 3 );
31 
32  m_magneticGraphics = new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY, _("Magnetic graphics"), wxDefaultPosition, wxDefaultSize, 0 );
33  bSizeFPEdit->Add( m_magneticGraphics, 0, wxBOTTOM, 15 );
34 
35 
36  bOptionsSizer->Add( bSizeFPEdit, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
37 
38  wxBoxSizer* bSizerBoardEdit;
39  bSizerBoardEdit = new wxBoxSizer( wxVERTICAL );
40 
41  m_autoLockPads = new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY, _("Lock pads of newly added footprints"), wxDefaultPosition, wxDefaultSize, 0 );
42  m_autoLockPads->SetToolTip( _("If checked, when a footprint is added to the board, its pads will be locked and not movable with respect to the footprint.") );
43 
44  bSizerBoardEdit->Add( m_autoLockPads, 0, wxBOTTOM, 15 );
45 
46  m_flipLeftRight = new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_ANY, _("Flip board items L/R (default is T/B)"), wxDefaultPosition, wxDefaultSize, 0 );
47  bSizerBoardEdit->Add( m_flipLeftRight, 0, wxBOTTOM, 15 );
48 
49 
50  bOptionsSizer->Add( bSizerBoardEdit, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
51 
52  wxBoxSizer* bSizerUniversal;
53  bSizerUniversal = new wxBoxSizer( wxVERTICAL );
54 
55  m_segments45OnlyCtrl = new wxCheckBox( bOptionsSizer->GetStaticBox(), wxID_SEGMENTS45, _("L&imit graphic lines to H, V and 45 degrees"), wxDefaultPosition, wxDefaultSize, 0 );
56  m_segments45OnlyCtrl->SetToolTip( _("When drawing graphic lines force to horizontal, vertical, or 45 degrees.") );
57 
58  bSizerUniversal->Add( m_segments45OnlyCtrl, 0, wxBOTTOM, 3 );
59 
60  wxFlexGridSizer* fgSizer12;
61  fgSizer12 = new wxFlexGridSizer( 0, 2, 0, 0 );
62  fgSizer12->AddGrowableCol( 1 );
63  fgSizer12->SetFlexibleDirection( wxBOTH );
64  fgSizer12->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
65 
66  m_staticTextRotationAngle = new wxStaticText( bOptionsSizer->GetStaticBox(), wxID_ANY, _("&Rotation angle:"), wxDefaultPosition, wxDefaultSize, 0 );
67  m_staticTextRotationAngle->Wrap( -1 );
68  fgSizer12->Add( m_staticTextRotationAngle, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 5 );
69 
70  m_rotationAngle = new wxTextCtrl( bOptionsSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
71  m_rotationAngle->SetToolTip( _("Set increment (in degrees) for context menu and hotkey rotation.") );
72 
73  fgSizer12->Add( m_rotationAngle, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
74 
75 
76  bSizerUniversal->Add( fgSizer12, 0, wxEXPAND, 5 );
77 
78 
79  bOptionsSizer->Add( bSizerUniversal, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
80 
81 
82  bMiddleLeftSizer->Add( bOptionsSizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
83 
84  m_mouseCmdsWinLin = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Left Click Mouse Commands") ), wxVERTICAL );
85 
86  m_staticText181 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Left click (and drag) actions depend on 3 modifier keys:\nAlt, Shift and Ctrl."), wxDefaultPosition, wxDefaultSize, 0 );
87  m_staticText181->Wrap( -1 );
88  m_mouseCmdsWinLin->Add( m_staticText181, 0, wxALL, 5 );
89 
90  wxStaticLine* staticline11;
91  staticline11 = new wxStaticLine( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
92  m_mouseCmdsWinLin->Add( staticline11, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
93 
94  wxFlexGridSizer* fgSizerCmdsWinLin;
95  fgSizerCmdsWinLin = new wxFlexGridSizer( 0, 2, 0, 0 );
96  fgSizerCmdsWinLin->SetFlexibleDirection( wxBOTH );
97  fgSizerCmdsWinLin->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
98 
99  wxStaticText* staticText61;
100  staticText61 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("No modifier"), wxDefaultPosition, wxDefaultSize, 0 );
101  staticText61->Wrap( -1 );
102  fgSizerCmdsWinLin->Add( staticText61, 0, wxALL, 5 );
103 
104  wxStaticText* staticText71;
105  staticText71 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Select item(s)."), wxDefaultPosition, wxDefaultSize, 0 );
106  staticText71->Wrap( -1 );
107  fgSizerCmdsWinLin->Add( staticText71, 0, wxALL, 5 );
108 
109  wxStaticText* staticText81;
110  staticText81 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Shift"), wxDefaultPosition, wxDefaultSize, 0 );
111  staticText81->Wrap( -1 );
112  fgSizerCmdsWinLin->Add( staticText81, 0, wxALL, 5 );
113 
114  wxStaticText* staticText91;
115  staticText91 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Add item(s) to selection."), wxDefaultPosition, wxDefaultSize, 0 );
116  staticText91->Wrap( -1 );
117  fgSizerCmdsWinLin->Add( staticText91, 0, wxALL, 5 );
118 
119  wxStaticText* staticText121;
120  staticText121 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Shift+Alt"), wxDefaultPosition, wxDefaultSize, 0 );
121  staticText121->Wrap( -1 );
122  fgSizerCmdsWinLin->Add( staticText121, 0, wxALL, 5 );
123 
124  wxStaticText* staticText131;
125  staticText131 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Remove item(s) from selection."), wxDefaultPosition, wxDefaultSize, 0 );
126  staticText131->Wrap( -1 );
127  fgSizerCmdsWinLin->Add( staticText131, 0, wxALL, 5 );
128 
129  wxStaticText* staticText141;
130  staticText141 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Alt"), wxDefaultPosition, wxDefaultSize, 0 );
131  staticText141->Wrap( -1 );
132  fgSizerCmdsWinLin->Add( staticText141, 0, wxALL, 5 );
133 
134  wxStaticText* staticText151;
135  staticText151 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Toggle selected state of item(s)."), wxDefaultPosition, wxDefaultSize, 0 );
136  staticText151->Wrap( -1 );
137  fgSizerCmdsWinLin->Add( staticText151, 0, wxALL, 5 );
138 
139  wxStaticText* staticText101;
140  staticText101 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Ctrl"), wxDefaultPosition, wxDefaultSize, 0 );
141  staticText101->Wrap( -1 );
142  fgSizerCmdsWinLin->Add( staticText101, 0, wxALL, 5 );
143 
144  wxStaticText* staticText111;
145  staticText111 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Clarify selection from menu."), wxDefaultPosition, wxDefaultSize, 0 );
146  staticText111->Wrap( -1 );
147  fgSizerCmdsWinLin->Add( staticText111, 0, wxALL, 5 );
148 
149  wxStaticText* staticText161;
150  staticText161 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Ctrl+Shift"), wxDefaultPosition, wxDefaultSize, 0 );
151  staticText161->Wrap( -1 );
152  fgSizerCmdsWinLin->Add( staticText161, 0, wxALL, 5 );
153 
154  wxStaticText* staticText171;
155  staticText171 = new wxStaticText( m_mouseCmdsWinLin->GetStaticBox(), wxID_ANY, _("Highlight net (for pads or tracks)."), wxDefaultPosition, wxDefaultSize, 0 );
156  staticText171->Wrap( -1 );
157  fgSizerCmdsWinLin->Add( staticText171, 0, wxALL, 5 );
158 
159 
160  m_mouseCmdsWinLin->Add( fgSizerCmdsWinLin, 1, wxEXPAND, 5 );
161 
162 
163  bMiddleLeftSizer->Add( m_mouseCmdsWinLin, 1, wxEXPAND|wxALL, 5 );
164 
165  m_mouseCmdsOSX = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Left Click Mouse Commands") ), wxVERTICAL );
166 
167  m_staticText1811 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Left click (and drag) actions depend on 3 modifier keys:\nAlt, Shift and Cmd."), wxDefaultPosition, wxDefaultSize, 0 );
168  m_staticText1811->Wrap( -1 );
169  m_mouseCmdsOSX->Add( m_staticText1811, 0, wxALL, 5 );
170 
171  wxStaticLine* staticline111;
172  staticline111 = new wxStaticLine( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
173  m_mouseCmdsOSX->Add( staticline111, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
174 
175  wxFlexGridSizer* fgSizerCmdsOSX;
176  fgSizerCmdsOSX = new wxFlexGridSizer( 0, 2, 0, 0 );
177  fgSizerCmdsOSX->SetFlexibleDirection( wxBOTH );
178  fgSizerCmdsOSX->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
179 
180  wxStaticText* staticText62;
181  staticText62 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("No modifier"), wxDefaultPosition, wxDefaultSize, 0 );
182  staticText62->Wrap( -1 );
183  fgSizerCmdsOSX->Add( staticText62, 0, wxALL, 5 );
184 
185  wxStaticText* staticText72;
186  staticText72 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Select item(s)."), wxDefaultPosition, wxDefaultSize, 0 );
187  staticText72->Wrap( -1 );
188  fgSizerCmdsOSX->Add( staticText72, 0, wxALL, 5 );
189 
190  wxStaticText* staticText82;
191  staticText82 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Shift"), wxDefaultPosition, wxDefaultSize, 0 );
192  staticText82->Wrap( -1 );
193  fgSizerCmdsOSX->Add( staticText82, 0, wxALL, 5 );
194 
195  wxStaticText* staticText92;
196  staticText92 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Add item(s) to selection."), wxDefaultPosition, wxDefaultSize, 0 );
197  staticText92->Wrap( -1 );
198  fgSizerCmdsOSX->Add( staticText92, 0, wxALL, 5 );
199 
200  wxStaticText* staticText122;
201  staticText122 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Shift+Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
202  staticText122->Wrap( -1 );
203  fgSizerCmdsOSX->Add( staticText122, 0, wxALL, 5 );
204 
205  wxStaticText* staticText132;
206  staticText132 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Remove item(s) from selection."), wxDefaultPosition, wxDefaultSize, 0 );
207  staticText132->Wrap( -1 );
208  fgSizerCmdsOSX->Add( staticText132, 0, wxALL, 5 );
209 
210  wxStaticText* staticText142;
211  staticText142 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
212  staticText142->Wrap( -1 );
213  fgSizerCmdsOSX->Add( staticText142, 0, wxALL, 5 );
214 
215  wxStaticText* staticText152;
216  staticText152 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Toggle selected state of item(s)."), wxDefaultPosition, wxDefaultSize, 0 );
217  staticText152->Wrap( -1 );
218  fgSizerCmdsOSX->Add( staticText152, 0, wxALL, 5 );
219 
220  wxStaticText* staticText102;
221  staticText102 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Alt"), wxDefaultPosition, wxDefaultSize, 0 );
222  staticText102->Wrap( -1 );
223  fgSizerCmdsOSX->Add( staticText102, 0, wxALL, 5 );
224 
225  wxStaticText* staticText112;
226  staticText112 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Clarify selection from menu."), wxDefaultPosition, wxDefaultSize, 0 );
227  staticText112->Wrap( -1 );
228  fgSizerCmdsOSX->Add( staticText112, 0, wxALL, 5 );
229 
230  wxStaticText* staticText162;
231  staticText162 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Alt+Cmd"), wxDefaultPosition, wxDefaultSize, 0 );
232  staticText162->Wrap( -1 );
233  fgSizerCmdsOSX->Add( staticText162, 0, wxALL, 5 );
234 
235  wxStaticText* staticText172;
236  staticText172 = new wxStaticText( m_mouseCmdsOSX->GetStaticBox(), wxID_ANY, _("Highlight net (for pads or tracks)."), wxDefaultPosition, wxDefaultSize, 0 );
237  staticText172->Wrap( -1 );
238  fgSizerCmdsOSX->Add( staticText172, 0, wxALL, 5 );
239 
240 
241  m_mouseCmdsOSX->Add( fgSizerCmdsOSX, 1, wxEXPAND, 5 );
242 
243 
244  bMiddleLeftSizer->Add( m_mouseCmdsOSX, 1, wxEXPAND|wxALL, 5 );
245 
246 
247  bMargins->Add( bMiddleLeftSizer, 1, wxEXPAND|wxRIGHT, 5 );
248 
249  m_optionsBook = new wxSimplebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
250  wxPanel* emptyPage;
251  emptyPage = new wxPanel( m_optionsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
252  m_optionsBook->AddPage( emptyPage, _("a page"), false );
253  wxPanel* pcbPage;
254  pcbPage = new wxPanel( m_optionsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
255  wxBoxSizer* pcbOptionsSizer;
256  pcbOptionsSizer = new wxBoxSizer( wxVERTICAL );
257 
258  wxStaticBoxSizer* sbMagnets;
259  sbMagnets = new wxStaticBoxSizer( new wxStaticBox( pcbPage, wxID_ANY, _("Magnetic Points") ), wxVERTICAL );
260 
261  wxFlexGridSizer* fgSizer2;
262  fgSizer2 = new wxFlexGridSizer( 0, 2, 3, 0 );
263  fgSizer2->SetFlexibleDirection( wxBOTH );
264  fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
265 
266  m_staticText2 = new wxStaticText( sbMagnets->GetStaticBox(), wxID_ANY, _("Snap to pads:"), wxDefaultPosition, wxDefaultSize, 0 );
267  m_staticText2->Wrap( -1 );
268  m_staticText2->SetToolTip( _("Capture cursor when the mouse enters a pad area") );
269 
270  fgSizer2->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
271 
272  wxString m_magneticPadChoiceChoices[] = { _("Never"), _("When creating tracks"), _("Always") };
273  int m_magneticPadChoiceNChoices = sizeof( m_magneticPadChoiceChoices ) / sizeof( wxString );
274  m_magneticPadChoice = new wxChoice( sbMagnets->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticPadChoiceNChoices, m_magneticPadChoiceChoices, 0 );
275  m_magneticPadChoice->SetSelection( 1 );
276  m_magneticPadChoice->SetToolTip( _("Capture cursor when the mouse enters a pad area") );
277 
278  fgSizer2->Add( m_magneticPadChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT|wxLEFT, 5 );
279 
280  m_staticText21 = new wxStaticText( sbMagnets->GetStaticBox(), wxID_ANY, _("Snap to tracks:"), wxDefaultPosition, wxDefaultSize, 0 );
281  m_staticText21->Wrap( -1 );
282  m_staticText21->SetToolTip( _("Capture cursor when the mouse approaches a track") );
283 
284  fgSizer2->Add( m_staticText21, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
285 
286  wxString m_magneticTrackChoiceChoices[] = { _("Never"), _("When creating tracks"), _("Always") };
287  int m_magneticTrackChoiceNChoices = sizeof( m_magneticTrackChoiceChoices ) / sizeof( wxString );
288  m_magneticTrackChoice = new wxChoice( sbMagnets->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticTrackChoiceNChoices, m_magneticTrackChoiceChoices, 0 );
289  m_magneticTrackChoice->SetSelection( 1 );
290  m_magneticTrackChoice->SetToolTip( _("Capture cursor when the mouse approaches a track") );
291 
292  fgSizer2->Add( m_magneticTrackChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxRIGHT, 5 );
293 
294  m_staticText211 = new wxStaticText( sbMagnets->GetStaticBox(), wxID_ANY, _("Snap to graphics:"), wxDefaultPosition, wxDefaultSize, 0 );
295  m_staticText211->Wrap( -1 );
296  m_staticText211->SetToolTip( _("Capture cursor when the mouse approaches graphical control points") );
297 
298  fgSizer2->Add( m_staticText211, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
299 
300  wxString m_magneticGraphicsChoiceChoices[] = { _("Always"), _("Never") };
301  int m_magneticGraphicsChoiceNChoices = sizeof( m_magneticGraphicsChoiceChoices ) / sizeof( wxString );
302  m_magneticGraphicsChoice = new wxChoice( sbMagnets->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_magneticGraphicsChoiceNChoices, m_magneticGraphicsChoiceChoices, 0 );
303  m_magneticGraphicsChoice->SetSelection( 0 );
304  m_magneticGraphicsChoice->SetToolTip( _("Capture cursor when the mouse approaches graphical control points") );
305 
306  fgSizer2->Add( m_magneticGraphicsChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxLEFT|wxRIGHT, 5 );
307 
308 
309  sbMagnets->Add( fgSizer2, 1, wxEXPAND|wxBOTTOM, 5 );
310 
311 
312  pcbOptionsSizer->Add( sbMagnets, 0, wxEXPAND, 5 );
313 
314  wxStaticBoxSizer* sbSizer3;
315  sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( pcbPage, wxID_ANY, _("Ratsnest") ), wxVERTICAL );
316 
317  m_showSelectedRatsnest = new wxCheckBox( sbSizer3->GetStaticBox(), wxID_ANY, _("Always show selected ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
318  sbSizer3->Add( m_showSelectedRatsnest, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
319 
320  m_OptDisplayCurvedRatsnestLines = new wxCheckBox( sbSizer3->GetStaticBox(), wxID_ANY, _("Show ratsnest with curved lines"), wxDefaultPosition, wxDefaultSize, 0 );
321  sbSizer3->Add( m_OptDisplayCurvedRatsnestLines, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
322 
323 
324  pcbOptionsSizer->Add( sbSizer3, 0, wxEXPAND|wxTOP, 5 );
325 
326  wxStaticBoxSizer* sbSizer4;
327  sbSizer4 = new wxStaticBoxSizer( new wxStaticBox( pcbPage, wxID_ANY, _("Annotations") ), wxVERTICAL );
328 
329  m_Show_Page_Limits = new wxCheckBox( sbSizer4->GetStaticBox(), wxID_ANY, _("Show page limits"), wxDefaultPosition, wxDefaultSize, 0 );
330  m_Show_Page_Limits->SetValue(true);
331  sbSizer4->Add( m_Show_Page_Limits, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
332 
333 
334  pcbOptionsSizer->Add( sbSizer4, 1, wxEXPAND|wxTOP, 5 );
335 
336  wxStaticBoxSizer* sbSizer41;
337  sbSizer41 = new wxStaticBoxSizer( new wxStaticBox( pcbPage, wxID_ANY, _("Track Editing") ), wxVERTICAL );
338 
339  m_staticText5 = new wxStaticText( sbSizer41->GetStaticBox(), wxID_ANY, _("Mouse drag track behavior:"), wxDefaultPosition, wxDefaultSize, 0 );
340  m_staticText5->Wrap( -1 );
341  m_staticText5->SetToolTip( _("Choose the action to perform when dragging a track segment with the mouse") );
342 
343  sbSizer41->Add( m_staticText5, 0, wxBOTTOM|wxRIGHT|wxLEFT, 3 );
344 
345  wxBoxSizer* bSizer8;
346  bSizer8 = new wxBoxSizer( wxVERTICAL );
347 
348  m_rbTrackDragMove = new wxRadioButton( sbSizer41->GetStaticBox(), wxID_ANY, _("Move"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
349  m_rbTrackDragMove->SetToolTip( _("Moves the track segment without moving connected tracks") );
350 
351  bSizer8->Add( m_rbTrackDragMove, 0, wxBOTTOM, 3 );
352 
353  m_rbTrackDrag45 = new wxRadioButton( sbSizer41->GetStaticBox(), wxID_ANY, _("Drag (45 degree mode)"), wxDefaultPosition, wxDefaultSize, 0 );
354  m_rbTrackDrag45->SetToolTip( _("Drags the track segment while keeping connected tracks at 45 degrees.") );
355 
356  bSizer8->Add( m_rbTrackDrag45, 0, wxBOTTOM, 3 );
357 
358  m_rbTrackDragFree = new wxRadioButton( sbSizer41->GetStaticBox(), wxID_ANY, _("Drag (free angle)"), wxDefaultPosition, wxDefaultSize, 0 );
359  m_rbTrackDragFree->SetToolTip( _("Drags the nearest joint in the track without restricting the track angle.") );
360 
361  bSizer8->Add( m_rbTrackDragFree, 0, 0, 3 );
362 
363 
364  sbSizer41->Add( bSizer8, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
365 
366 
367  pcbOptionsSizer->Add( sbSizer41, 0, wxEXPAND|wxTOP, 5 );
368 
369 
370  pcbPage->SetSizer( pcbOptionsSizer );
371  pcbPage->Layout();
372  pcbOptionsSizer->Fit( pcbPage );
373  m_optionsBook->AddPage( pcbPage, _("a page"), false );
374 
375  bMargins->Add( m_optionsBook, 1, wxEXPAND | wxALL, 5 );
376 
377 
378  bPanelSizer->Add( bMargins, 1, wxRIGHT, 5 );
379 
380 
381  this->SetSizer( bPanelSizer );
382  this->Layout();
383  bPanelSizer->Fit( this );
384 }
385 
387 {
388 }
wxCheckBox * m_OptDisplayCurvedRatsnestLines
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)
const char * name
Definition: DXF_plotter.cpp:59
#define _(s)
Definition: 3d_actions.cpp:33
wxStaticText * m_staticTextRotationAngle
wxStaticBoxSizer * m_mouseCmdsWinLin
wxStaticBoxSizer * m_mouseCmdsOSX