14PANEL_COMMON_SETTINGS_BASE::PANEL_COMMON_SETTINGS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
16 wxBoxSizer* bPanelSizer;
17 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
19 wxBoxSizer* bLeftSizer;
20 bLeftSizer =
new wxBoxSizer( wxVERTICAL );
22 m_staticText20 =
new wxStaticText(
this, wxID_ANY,
_(
"Antialiasing"), wxDefaultPosition, wxDefaultSize, 0 );
24 bLeftSizer->Add(
m_staticText20, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
26 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
29 wxBoxSizer* bAntialiasingSizer;
30 bAntialiasingSizer =
new wxBoxSizer( wxVERTICAL );
32 wxGridBagSizer* gbSizer11;
33 gbSizer11 =
new wxGridBagSizer( 6, 4 );
34 gbSizer11->SetFlexibleDirection( wxBOTH );
35 gbSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
36 gbSizer11->SetEmptyCellSize( wxSize( -1,2 ) );
38 wxStaticText* antialiasingLabel;
39 antialiasingLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Accelerated graphics:"), wxDefaultPosition, wxDefaultSize, 0 );
40 antialiasingLabel->Wrap( -1 );
41 gbSizer11->Add( antialiasingLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
43 wxString m_antialiasingChoices[] = {
_(
"No Antialiasing"),
_(
"Fast Antialiasing"),
_(
"High Quality Antialiasing") };
44 int m_antialiasingNChoices =
sizeof( m_antialiasingChoices ) /
sizeof( wxString );
45 m_antialiasing =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingNChoices, m_antialiasingChoices, 0 );
47 gbSizer11->Add(
m_antialiasing, wxGBPosition( 0, 1 ), wxGBSpan( 1, 2 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT, 5 );
53 wxString m_antialiasingFallbackChoices[] = {
_(
"No Antialiasing"),
_(
"Fast Antialiasing"),
_(
"High Quality Antialiasing") };
54 int m_antialiasingFallbackNChoices =
sizeof( m_antialiasingFallbackChoices ) /
sizeof( wxString );
55 m_antialiasingFallback =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingFallbackNChoices, m_antialiasingFallbackChoices, 0 );
57 gbSizer11->Add(
m_antialiasingFallback, wxGBPosition( 1, 1 ), wxGBSpan( 1, 2 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT, 5 );
60 gbSizer11->AddGrowableCol( 1 );
62 bAntialiasingSizer->Add( gbSizer11, 0, wxTOP|wxBOTTOM, 5 );
65 bLeftSizer->Add( bAntialiasingSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
68 bLeftSizer->Add( 0, 15, 0, 0, 5 );
70 m_staticText21 =
new wxStaticText(
this, wxID_ANY,
_(
"Helper Applications"), wxDefaultPosition, wxDefaultSize, 0 );
74 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
77 wxBoxSizer* bHelperAppsSizer;
78 bHelperAppsSizer =
new wxBoxSizer( wxVERTICAL );
81 bSizer61 =
new wxBoxSizer( wxHORIZONTAL );
83 wxStaticText* textEditorLabel;
84 textEditorLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Text editor:"), wxDefaultPosition, wxDefaultSize, 0 );
85 textEditorLabel->Wrap( -1 );
86 bSizer61->Add( textEditorLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
88 m_textEditorPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
95 bHelperAppsSizer->Add( bSizer61, 0, wxTOP|wxRIGHT|wxEXPAND, 5 );
99 m_staticTextFileManager =
new wxStaticText(
this, wxID_ANY,
_(
"File manager:"), wxDefaultPosition, wxDefaultSize, 0 );
103 m_textCtrlFileManager =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
110 bHelperAppsSizer->Add( 0, 12, 0, wxEXPAND, 5 );
113 bSizer8 =
new wxBoxSizer( wxVERTICAL );
115 m_defaultPDFViewer =
new wxRadioButton(
this, wxID_ANY,
_(
"System default PDF viewer"), wxDefaultPosition, wxDefaultSize, 0 );
119 bHelperAppsSizer->Add( bSizer8, 0, wxBOTTOM|wxEXPAND, 3 );
122 bSizer7 =
new wxBoxSizer( wxHORIZONTAL );
124 m_otherPDFViewer =
new wxRadioButton(
this, wxID_ANY,
_(
"Other:"), wxDefaultPosition, wxDefaultSize, 0 );
125 bSizer7->Add(
m_otherPDFViewer, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
127 m_PDFViewerPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
134 bHelperAppsSizer->Add( bSizer7, 0, wxBOTTOM|wxRIGHT|wxEXPAND, 5 );
137 bLeftSizer->Add( bHelperAppsSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
140 bLeftSizer->Add( 0, 15, 0, 0, 5 );
142 m_staticText22 =
new wxStaticText(
this, wxID_ANY,
_(
"User Interface"), wxDefaultPosition, wxDefaultSize, 0 );
146 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
149 wxBoxSizer* bUserInterfaceSizer;
150 bUserInterfaceSizer =
new wxBoxSizer( wxVERTICAL );
152 wxBoxSizer* bSizer14;
153 bSizer14 =
new wxBoxSizer( wxVERTICAL );
155 m_checkBoxIconsInMenus =
new wxCheckBox(
this, wxID_ANY,
_(
"Show icons in menus"), wxDefaultPosition, wxDefaultSize, 0 );
158 m_showScrollbars =
new wxCheckBox(
this, wxID_ANY,
_(
"Show scrollbars in editors"), wxDefaultPosition, wxDefaultSize, 0 );
160 m_showScrollbars->SetToolTip(
_(
"This change takes effect when relaunching the editor.") );
164 m_focusFollowSchPcb =
new wxCheckBox(
this, wxID_ANY,
_(
"Focus follows mouse between schematic and PCB editors"), wxDefaultPosition, wxDefaultSize, 0 );
165 m_focusFollowSchPcb->SetToolTip(
_(
"If the mouse cursor is moved over the canvas of a schematic or PCB editor window, that window is raised.") );
169 m_hotkeyFeedback =
new wxCheckBox(
this, wxID_ANY,
_(
"Show popup indicator when toggling settings with hotkeys"), wxDefaultPosition, wxDefaultSize, 0 );
170 m_hotkeyFeedback->SetToolTip(
_(
"When enabled, certain hotkeys that cycle between settings will show a popup indicator briefly to indicate the change in settings.") );
174 m_gridStriping =
new wxCheckBox(
this, wxID_ANY,
_(
"Use alternating row colors in tables"), wxDefaultPosition, wxDefaultSize, 0 );
175 m_gridStriping->SetToolTip(
_(
"When enabled, use a different color for every other table row") );
180 bUserInterfaceSizer->Add( bSizer14, 0, wxEXPAND, 5 );
182 wxBoxSizer* bSizerIconsTheme;
183 bSizerIconsTheme =
new wxBoxSizer( wxHORIZONTAL );
185 m_stIconTheme =
new wxStaticText(
this, wxID_ANY,
_(
"Icon theme:"), wxDefaultPosition, wxDefaultSize, 0 );
189 m_rbIconThemeLight =
new wxRadioButton(
this, wxID_ANY,
_(
"Light"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
194 m_rbIconThemeDark =
new wxRadioButton(
this, wxID_ANY,
_(
"Dark"), wxDefaultPosition, wxDefaultSize, 0 );
199 m_rbIconThemeAuto =
new wxRadioButton(
this, wxID_ANY,
_(
"Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
201 m_rbIconThemeAuto->SetToolTip(
_(
"Automatically choose light or dark icons based on the system color theme") );
206 bUserInterfaceSizer->Add( bSizerIconsTheme, 0, wxEXPAND, 5 );
208 wxBoxSizer* bSizerToolbarSize;
209 bSizerToolbarSize =
new wxBoxSizer( wxHORIZONTAL );
211 m_stToolbarIconSize =
new wxStaticText(
this, wxID_ANY,
_(
"Toolbar icon size:"), wxDefaultPosition, wxDefaultSize, 0 );
215 m_rbIconSizeSmall =
new wxRadioButton(
this, wxID_ANY,
_(
"Small"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
220 m_rbIconSizeNormal =
new wxRadioButton(
this, wxID_ANY,
_(
"Normal"), wxDefaultPosition, wxDefaultSize, 0 );
225 m_rbIconSizeLarge =
new wxRadioButton(
this, wxID_ANY,
_(
"Large"), wxDefaultPosition, wxDefaultSize, 0 );
231 bUserInterfaceSizer->Add( bSizerToolbarSize, 0, wxEXPAND, 5 );
237 m_staticTextCanvasScale =
new wxStaticText(
this, wxID_ANY,
_(
"Canvas scale:"), wxDefaultPosition, wxDefaultSize, 0 );
241 m_canvasScaleCtrl =
new wxSpinCtrlDouble(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100, 0, 1 );
245 m_canvasScaleAuto =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
249 bUserInterfaceSizer->Add(
m_gbUserInterface, 0, wxTOP|wxBOTTOM|wxLEFT|wxEXPAND, 5 );
252 bUserInterfaceSizer->Add( 0, 10, 0, wxEXPAND, 5 );
254 m_scaleFonts =
new wxCheckBox(
this, wxID_ANY,
_(
"Apply icon scaling to fonts"), wxDefaultPosition, wxDefaultSize, 0 );
255 bUserInterfaceSizer->Add(
m_scaleFonts, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
257 m_fontScalingHelp =
new wxStaticText(
this, wxID_ANY,
_(
"(This workaround will improve some GTK HiDPI font scaling issues.)"), wxDefaultPosition, wxDefaultSize, 0 );
261 wxBoxSizer* bSizerHighContrast;
262 bSizerHighContrast =
new wxBoxSizer( wxHORIZONTAL );
264 m_highContrastLabel =
new wxStaticText(
this, wxID_ANY,
_(
"High-contrast mode dimming factor:"), wxDefaultPosition, wxDefaultSize, 0 );
266 bSizerHighContrast->Add(
m_highContrastLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
268 m_highContrastCtrl =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
271 m_highContrastUnits =
new wxStaticText(
this, wxID_ANY,
_(
"%"), wxDefaultPosition, wxDefaultSize, 0 );
273 bSizerHighContrast->Add(
m_highContrastUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
276 bUserInterfaceSizer->Add( bSizerHighContrast, 0, wxBOTTOM|wxEXPAND, 5 );
279 bLeftSizer->Add( bUserInterfaceSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
282 bPanelSizer->Add( bLeftSizer, 0, wxRIGHT, 20 );
284 wxBoxSizer* rightSizer;
285 rightSizer =
new wxBoxSizer( wxVERTICAL );
287 m_staticText23 =
new wxStaticText(
this, wxID_ANY,
_(
"Editing"), wxDefaultPosition, wxDefaultSize, 0 );
289 rightSizer->Add(
m_staticText23, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
291 m_staticline6 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
294 wxBoxSizer* bEditingSizer;
295 bEditingSizer =
new wxBoxSizer( wxVERTICAL );
297 m_warpMouseOnMove =
new wxCheckBox(
this, wxID_ANY,
_(
"Warp mouse to origin of moved object"), wxDefaultPosition, wxDefaultSize, 0 );
301 m_NonImmediateActions =
new wxCheckBox(
this, wxID_ANY,
_(
"First hotkey selects tool"), wxDefaultPosition, wxDefaultSize, 0 );
302 m_NonImmediateActions->SetToolTip(
_(
"If not checked, hotkeys will immediately perform an action even if the relevant tool was not previously selected.") );
307 rightSizer->Add( bEditingSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
310 rightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
312 m_staticText24 =
new wxStaticText(
this, wxID_ANY,
_(
"Session"), wxDefaultPosition, wxDefaultSize, 0 );
314 rightSizer->Add(
m_staticText24, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
316 m_staticline5 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
319 wxBoxSizer* bSessionSizer;
320 bSessionSizer =
new wxBoxSizer( wxVERTICAL );
322 m_cbRememberOpenFiles =
new wxCheckBox(
this, wxID_ANY,
_(
"Remember open files for next project launch"), wxDefaultPosition, wxDefaultSize, 0 );
324 m_cbRememberOpenFiles->SetToolTip(
_(
"If checked, launching a project will also launch tools such as the schematic and board editors with previously open files") );
329 bSessionSizer->Add( 0, 5, 0, 0, 5 );
331 wxGridBagSizer* gbSizer1;
332 gbSizer1 =
new wxGridBagSizer( 4, 5 );
333 gbSizer1->SetFlexibleDirection( wxBOTH );
334 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
335 gbSizer1->SetEmptyCellSize( wxSize( -1,2 ) );
337 m_staticTextautosave =
new wxStaticText(
this, wxID_ANY,
_(
"&Auto save:"), wxDefaultPosition, wxDefaultSize, 0 );
339 gbSizer1->Add(
m_staticTextautosave, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
341 m_SaveTime =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
342 m_SaveTime->SetToolTip(
_(
"Delay after the first change to create a backup file of the board on disk.\nIf set to 0, auto backup is disabled") );
344 gbSizer1->Add(
m_SaveTime, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
346 wxStaticText* minutesLabel;
347 minutesLabel =
new wxStaticText(
this, wxID_ANY,
_(
"minutes"), wxDefaultPosition, wxDefaultSize, 0 );
348 minutesLabel->Wrap( -1 );
349 gbSizer1->Add( minutesLabel, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
355 m_fileHistorySize =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 100, 0 );
356 gbSizer1->Add(
m_fileHistorySize, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
358 m_staticTextClear3DCache =
new wxStaticText(
this, wxID_ANY,
_(
"3D cache file duration:"), wxDefaultPosition, wxDefaultSize, 0 );
362 m_Clear3DCacheFilesOlder =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 120, 30 );
363 m_Clear3DCacheFilesOlder->SetToolTip(
_(
"3D cache files older than this are deleted.\nIf set to 0, cache clearing is disabled") );
365 gbSizer1->Add(
m_Clear3DCacheFilesOlder, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
367 m_staticTextDays =
new wxStaticText(
this, wxID_ANY,
_(
"days"), wxDefaultPosition, wxDefaultSize, 0 );
369 gbSizer1->Add(
m_staticTextDays, wxGBPosition( 2, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
372 gbSizer1->AddGrowableCol( 1 );
374 bSessionSizer->Add( gbSizer1, 0, wxALL, 5 );
377 rightSizer->Add( bSessionSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
380 rightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
382 m_staticText25 =
new wxStaticText(
this, wxID_ANY,
_(
"Project Backup"), wxDefaultPosition, wxDefaultSize, 0 );
384 rightSizer->Add(
m_staticText25, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
386 m_staticline4 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
389 wxBoxSizer* bProjectBackupSizer;
390 bProjectBackupSizer =
new wxBoxSizer( wxVERTICAL );
392 wxGridBagSizer* gbSizer3;
393 gbSizer3 =
new wxGridBagSizer( 0, 0 );
394 gbSizer3->SetFlexibleDirection( wxBOTH );
395 gbSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
397 m_cbBackupEnabled =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically backup projects"), wxDefaultPosition, wxDefaultSize, 0 );
398 m_cbBackupEnabled->SetToolTip(
_(
"Automatically create backup archives of the current project when saving files") );
400 gbSizer3->Add(
m_cbBackupEnabled, wxGBPosition( 0, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT, 5 );
402 m_cbBackupAutosave =
new wxCheckBox(
this, wxID_ANY,
_(
"Create backups when auto save occurs"), wxDefaultPosition, wxDefaultSize, 0 );
403 m_cbBackupAutosave->SetToolTip(
_(
"Create backups when the auto save feature is enabled. If not checked, backups will only be created when you manually save a file.") );
405 gbSizer3->Add(
m_cbBackupAutosave, wxGBPosition( 1, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT, 5 );
407 m_staticText9 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum backups to keep:"), wxDefaultPosition, wxDefaultSize, 0 );
409 m_staticText9->SetToolTip(
_(
"How many backup files total to keep (set to 0 for no limit)") );
411 gbSizer3->Add(
m_staticText9, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
413 m_backupLimitTotalFiles =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
414 gbSizer3->Add(
m_backupLimitTotalFiles, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
416 m_staticText10 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum backups per day:"), wxDefaultPosition, wxDefaultSize, 0 );
418 m_staticText10->SetToolTip(
_(
"How many backup files to keep each day (set to 0 for no limit)") );
420 gbSizer3->Add(
m_staticText10, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
422 m_backupLimitDailyFiles =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
423 gbSizer3->Add(
m_backupLimitDailyFiles, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
425 m_staticText11 =
new wxStaticText(
this, wxID_ANY,
_(
"Minimum time between backups:"), wxDefaultPosition, wxDefaultSize, 0 );
427 m_staticText11->SetToolTip(
_(
"Number of minutes since the last backup before another will be created the next time you save (set to 0 for no minimum)") );
429 gbSizer3->Add(
m_staticText11, wxGBPosition( 4, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
431 m_backupMinInterval =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 3600, 0 );
432 gbSizer3->Add(
m_backupMinInterval, wxGBPosition( 4, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
434 m_staticText15 =
new wxStaticText(
this, wxID_ANY,
_(
"minutes"), wxDefaultPosition, wxDefaultSize, 0 );
436 gbSizer3->Add(
m_staticText15, wxGBPosition( 4, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
438 m_staticText16 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum total backup size:"), wxDefaultPosition, wxDefaultSize, 0 );
440 m_staticText16->SetToolTip(
_(
"If the total size of backup files grows above this limit, old backups will be deleted (set to 0 for no limit)") );
442 gbSizer3->Add(
m_staticText16, wxGBPosition( 5, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
444 m_backupLimitTotalSize =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
445 gbSizer3->Add(
m_backupLimitTotalSize, wxGBPosition( 5, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 );
447 m_staticText17 =
new wxStaticText(
this, wxID_ANY,
_(
"MB"), wxDefaultPosition, wxDefaultSize, 0 );
449 gbSizer3->Add(
m_staticText17, wxGBPosition( 5, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
452 gbSizer3->AddGrowableCol( 1 );
454 bProjectBackupSizer->Add( gbSizer3, 0, wxALL, 5 );
457 rightSizer->Add( bProjectBackupSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
460 bPanelSizer->Add( rightSizer, 0, wxLEFT, 5 );
463 this->SetSizer( bPanelSizer );
465 bPanelSizer->Fit(
this );
wxStaticText * m_staticText17
wxStaticText * m_highContrastLabel
wxStaticText * m_highContrastUnits
virtual void OnCanvasScaleAuto(wxCommandEvent &event)
wxCheckBox * m_focusFollowSchPcb
virtual void OnRadioButtonPdfViewer(wxCommandEvent &event)
wxStaticLine * m_staticline3
wxStaticText * m_staticText9
wxCheckBox * m_cbBackupEnabled
wxCheckBox * m_hotkeyFeedback
wxRadioButton * m_rbIconThemeAuto
wxRadioButton * m_rbIconSizeLarge
wxTextCtrl * m_textEditorPath
wxRadioButton * m_rbIconThemeDark
wxRadioButton * m_rbIconThemeLight
wxStaticLine * m_staticline5
wxCheckBox * m_NonImmediateActions
wxStaticText * m_staticText11
wxStaticLine * m_staticline6
wxRadioButton * m_defaultPDFViewer
wxCheckBox * m_canvasScaleAuto
wxRadioButton * m_rbIconSizeNormal
wxCheckBox * m_scaleFonts
~PANEL_COMMON_SETTINGS_BASE()
wxStaticText * m_staticText23
wxChoice * m_antialiasing
wxCheckBox * m_gridStriping
wxStaticText * m_staticTextCanvasScale
wxStaticText * m_stToolbarIconSize
wxSpinCtrl * m_backupLimitTotalFiles
wxSpinCtrl * m_backupMinInterval
PANEL_COMMON_SETTINGS_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)
wxSpinCtrl * m_backupLimitDailyFiles
wxStaticText * m_staticText16
STD_BITMAP_BUTTON * m_pdfViewerBtn
wxStaticText * m_fontScalingHelp
wxStaticText * m_staticText22
wxStaticText * m_stIconTheme
wxStaticText * m_staticTextFileHistorySize
wxStaticText * m_staticTextFileManager
wxStaticText * m_staticTextDays
wxRadioButton * m_otherPDFViewer
wxSpinCtrl * m_fileHistorySize
wxStaticText * m_staticTextautosave
wxTextCtrl * m_highContrastCtrl
wxStaticText * m_staticText20
wxChoice * m_antialiasingFallback
wxGridBagSizer * m_gbUserInterface
wxRadioButton * m_rbIconSizeSmall
STD_BITMAP_BUTTON * m_textEditorBtn
wxSpinCtrl * m_Clear3DCacheFilesOlder
wxCheckBox * m_checkBoxIconsInMenus
wxSpinCtrlDouble * m_canvasScaleCtrl
wxStaticText * m_staticText21
wxCheckBox * m_cbBackupAutosave
wxTextCtrl * m_textCtrlFileManager
wxTextCtrl * m_PDFViewerPath
wxStaticText * m_antialiasingFallbackLabel
wxStaticLine * m_staticline1
virtual void OnPDFViewerClick(wxCommandEvent &event)
wxStaticText * m_staticTextClear3DCache
wxStaticText * m_staticText15
wxCheckBox * m_warpMouseOnMove
virtual void OnTextEditorClick(wxCommandEvent &event)
wxStaticLine * m_staticline4
wxBoxSizer * bSizerFileManager
wxSpinCtrl * m_backupLimitTotalSize
wxStaticText * m_staticText24
wxStaticText * m_staticText25
wxCheckBox * m_showScrollbars
wxStaticLine * m_staticline2
wxStaticText * m_staticText10
wxCheckBox * m_cbRememberOpenFiles
A wxPanel that is designed to be reset in a standard manner.