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,
_(
"Rendering Engine"), 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 );
27 bLeftSizer->Add(
m_staticline3, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
30 bLeftSizer->Add( 0, 3, 0, 0, 5 );
36 m_rbAccelerated =
new wxRadioButton(
this, wxID_ANY,
_(
"Accelerated Graphics"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
37 m_rbAccelerated->SetToolTip(
_(
"Hardware-accelerated graphics (recommended)") );
41 m_rbFallback =
new wxRadioButton(
this, wxID_ANY,
_(
"Fallback Graphics"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_rbFallback->SetToolTip(
_(
"Software graphics (for computers which do not support KiCad's hardware acceleration requirements)") );
50 bLeftSizer->Add( 0, 3, 0, 0, 5 );
52 wxGridBagSizer* gbSizer11;
53 gbSizer11 =
new wxGridBagSizer( 0, 6 );
54 gbSizer11->SetFlexibleDirection( wxBOTH );
55 gbSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
56 gbSizer11->SetEmptyCellSize( wxSize( -1,2 ) );
58 wxStaticText* antialiasingLabel;
59 antialiasingLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Antialiasing:"), wxDefaultPosition, wxDefaultSize, 0 );
60 antialiasingLabel->Wrap( -1 );
61 gbSizer11->Add( antialiasingLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
63 wxString m_antialiasingChoices[] = {
_(
"No Antialiasing"),
_(
"Fast Antialiasing"),
_(
"High Quality Antialiasing") };
64 int m_antialiasingNChoices =
sizeof( m_antialiasingChoices ) /
sizeof( wxString );
65 m_antialiasing =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingNChoices, m_antialiasingChoices, 0 );
67 gbSizer11->Add(
m_antialiasing, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
70 gbSizer11->AddGrowableCol( 1 );
72 bLeftSizer->Add( gbSizer11, 0, wxLEFT, 5 );
74 wxBoxSizer* bAntialiasingSizer;
75 bAntialiasingSizer =
new wxBoxSizer( wxVERTICAL );
78 bLeftSizer->Add( bAntialiasingSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
81 bLeftSizer->Add( 0, 15, 0, 0, 5 );
83 m_staticText21 =
new wxStaticText(
this, wxID_ANY,
_(
"Helper Applications"), wxDefaultPosition, wxDefaultSize, 0 );
87 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
88 bLeftSizer->Add(
m_staticline2, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
90 wxBoxSizer* bHelperAppsSizer;
91 bHelperAppsSizer =
new wxBoxSizer( wxVERTICAL );
94 bSizer61 =
new wxBoxSizer( wxHORIZONTAL );
96 wxStaticText* textEditorLabel;
97 textEditorLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Text editor:"), wxDefaultPosition, wxDefaultSize, 0 );
98 textEditorLabel->Wrap( -1 );
99 bSizer61->Add( textEditorLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
101 m_textEditorPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
108 bHelperAppsSizer->Add( bSizer61, 0, wxTOP|wxRIGHT|wxEXPAND, 5 );
111 bHelperAppsSizer->Add( 0, 4, 0, wxEXPAND, 5 );
115 m_staticTextFileManager =
new wxStaticText(
this, wxID_ANY,
_(
"File manager:"), wxDefaultPosition, wxDefaultSize, 0 );
119 m_textCtrlFileManager =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
126 bHelperAppsSizer->Add( 0, 12, 1, wxEXPAND, 5 );
129 bSizer8 =
new wxBoxSizer( wxVERTICAL );
131 m_defaultPDFViewer =
new wxRadioButton(
this, wxID_ANY,
_(
"System default PDF viewer"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
135 bHelperAppsSizer->Add( bSizer8, 0, wxBOTTOM|wxEXPAND, 2 );
138 bSizer7 =
new wxBoxSizer( wxHORIZONTAL );
140 m_otherPDFViewer =
new wxRadioButton(
this, wxID_ANY,
_(
"Other:"), wxDefaultPosition, wxDefaultSize, 0 );
141 bSizer7->Add(
m_otherPDFViewer, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
143 m_PDFViewerPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
150 bHelperAppsSizer->Add( bSizer7, 0, wxBOTTOM|wxRIGHT|wxEXPAND, 5 );
153 bLeftSizer->Add( bHelperAppsSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
156 bLeftSizer->Add( 0, 15, 0, 0, 5 );
158 m_staticText22 =
new wxStaticText(
this, wxID_ANY,
_(
"User Interface"), wxDefaultPosition, wxDefaultSize, 0 );
162 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
163 bLeftSizer->Add(
m_staticline1, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
165 wxBoxSizer* bUserInterfaceSizer;
166 bUserInterfaceSizer =
new wxBoxSizer( wxVERTICAL );
168 wxBoxSizer* bSizer14;
169 bSizer14 =
new wxBoxSizer( wxVERTICAL );
171 m_checkBoxIconsInMenus =
new wxCheckBox(
this, wxID_ANY,
_(
"Show icons in menus"), wxDefaultPosition, wxDefaultSize, 0 );
174 m_showScrollbars =
new wxCheckBox(
this, wxID_ANY,
_(
"Show scrollbars in editors"), wxDefaultPosition, wxDefaultSize, 0 );
176 m_showScrollbars->SetToolTip(
_(
"This change takes effect when relaunching the editor.") );
180 m_focusFollowSchPcb =
new wxCheckBox(
this, wxID_ANY,
_(
"Focus follows mouse between schematic and PCB editors"), wxDefaultPosition, wxDefaultSize, 0 );
181 m_focusFollowSchPcb->SetToolTip(
_(
"If the mouse cursor is moved over the canvas of a schematic or PCB editor window, that window is raised.") );
185 m_hotkeyFeedback =
new wxCheckBox(
this, wxID_ANY,
_(
"Show popup indicator when toggling settings with hotkeys"), wxDefaultPosition, wxDefaultSize, 0 );
186 m_hotkeyFeedback->SetToolTip(
_(
"When enabled, certain hotkeys that cycle between settings will show a popup indicator briefly to indicate the change in settings.") );
190 m_gridStriping =
new wxCheckBox(
this, wxID_ANY,
_(
"Use alternating row colors in tables"), wxDefaultPosition, wxDefaultSize, 0 );
191 m_gridStriping->SetToolTip(
_(
"When enabled, use a different color for every other table row") );
196 bUserInterfaceSizer->Add( bSizer14, 0, wxEXPAND, 5 );
198 wxBoxSizer* bSizerIconsTheme;
199 bSizerIconsTheme =
new wxBoxSizer( wxHORIZONTAL );
201 m_stIconTheme =
new wxStaticText(
this, wxID_ANY,
_(
"Icon theme:"), wxDefaultPosition, wxDefaultSize, 0 );
205 m_rbIconThemeLight =
new wxRadioButton(
this, wxID_ANY,
_(
"Light"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
210 m_rbIconThemeDark =
new wxRadioButton(
this, wxID_ANY,
_(
"Dark"), wxDefaultPosition, wxDefaultSize, 0 );
215 m_rbIconThemeAuto =
new wxRadioButton(
this, wxID_ANY,
_(
"Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
217 m_rbIconThemeAuto->SetToolTip(
_(
"Automatically choose light or dark icons based on the system color theme") );
222 bUserInterfaceSizer->Add( bSizerIconsTheme, 0, wxEXPAND|wxTOP, 5 );
224 wxBoxSizer* bSizerToolbarSize;
225 bSizerToolbarSize =
new wxBoxSizer( wxHORIZONTAL );
227 m_stToolbarIconSize =
new wxStaticText(
this, wxID_ANY,
_(
"Toolbar icon size:"), wxDefaultPosition, wxDefaultSize, 0 );
231 m_rbIconSizeSmall =
new wxRadioButton(
this, wxID_ANY,
_(
"Small"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
236 m_rbIconSizeNormal =
new wxRadioButton(
this, wxID_ANY,
_(
"Normal"), wxDefaultPosition, wxDefaultSize, 0 );
241 m_rbIconSizeLarge =
new wxRadioButton(
this, wxID_ANY,
_(
"Large"), wxDefaultPosition, wxDefaultSize, 0 );
247 bUserInterfaceSizer->Add( bSizerToolbarSize, 0, wxEXPAND, 5 );
249 m_scaleFonts =
new wxCheckBox(
this, wxID_ANY,
_(
"Apply icon scaling to fonts"), wxDefaultPosition, wxDefaultSize, 0 );
250 bUserInterfaceSizer->Add(
m_scaleFonts, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
252 m_fontScalingHelp =
new wxStaticText(
this, wxID_ANY,
_(
"(This workaround will improve some GTK HiDPI font scaling issues.)"), wxDefaultPosition, wxDefaultSize, 0 );
260 m_staticTextCanvasScale =
new wxStaticText(
this, wxID_ANY,
_(
"Canvas scale:"), wxDefaultPosition, wxDefaultSize, 0 );
264 m_canvasScaleCtrl =
new wxSpinCtrlDouble(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100, 0, 1 );
268 m_canvasScaleAuto =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
272 bUserInterfaceSizer->Add(
m_gbUserInterface, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
274 wxBoxSizer* bSizerHighContrast;
275 bSizerHighContrast =
new wxBoxSizer( wxHORIZONTAL );
277 m_highContrastLabel =
new wxStaticText(
this, wxID_ANY,
_(
"High-contrast mode dimming factor:"), wxDefaultPosition, wxDefaultSize, 0 );
279 bSizerHighContrast->Add(
m_highContrastLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
281 m_highContrastCtrl =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
284 m_highContrastUnits =
new wxStaticText(
this, wxID_ANY,
_(
"%"), wxDefaultPosition, wxDefaultSize, 0 );
286 bSizerHighContrast->Add(
m_highContrastUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
289 bUserInterfaceSizer->Add( bSizerHighContrast, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
292 bLeftSizer->Add( bUserInterfaceSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
295 bPanelSizer->Add( bLeftSizer, 0, wxRIGHT, 35 );
297 wxBoxSizer* rightSizer;
298 rightSizer =
new wxBoxSizer( wxVERTICAL );
300 m_staticText23 =
new wxStaticText(
this, wxID_ANY,
_(
"Editing"), wxDefaultPosition, wxDefaultSize, 0 );
302 rightSizer->Add(
m_staticText23, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
304 m_staticline6 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
305 rightSizer->Add(
m_staticline6, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
307 wxBoxSizer* bEditingSizer;
308 bEditingSizer =
new wxBoxSizer( wxVERTICAL );
310 m_warpMouseOnMove =
new wxCheckBox(
this, wxID_ANY,
_(
"Warp mouse to anchor of moved object"), wxDefaultPosition, wxDefaultSize, 0 );
314 m_NonImmediateActions =
new wxCheckBox(
this, wxID_ANY,
_(
"First hotkey selects tool"), wxDefaultPosition, wxDefaultSize, 0 );
315 m_NonImmediateActions->SetToolTip(
_(
"If not checked, hotkeys will immediately perform an action even if the relevant tool was not previously selected.") );
320 rightSizer->Add( bEditingSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
323 rightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
325 m_staticText24 =
new wxStaticText(
this, wxID_ANY,
_(
"Session"), wxDefaultPosition, wxDefaultSize, 0 );
327 rightSizer->Add(
m_staticText24, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
329 m_staticline5 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
330 rightSizer->Add(
m_staticline5, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
332 wxBoxSizer* bSessionSizer;
333 bSessionSizer =
new wxBoxSizer( wxVERTICAL );
335 m_cbRememberOpenFiles =
new wxCheckBox(
this, wxID_ANY,
_(
"Remember open files for next project launch"), wxDefaultPosition, wxDefaultSize, 0 );
337 m_cbRememberOpenFiles->SetToolTip(
_(
"If checked, launching a project will also launch tools such as the schematic and board editors with previously open files") );
342 bSessionSizer->Add( 0, 5, 0, 0, 5 );
344 wxGridBagSizer* gbSizer1;
345 gbSizer1 =
new wxGridBagSizer( 4, 5 );
346 gbSizer1->SetFlexibleDirection( wxBOTH );
347 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
348 gbSizer1->SetEmptyCellSize( wxSize( -1,2 ) );
350 m_staticTextautosave =
new wxStaticText(
this, wxID_ANY,
_(
"&Auto save:"), wxDefaultPosition, wxDefaultSize, 0 );
352 gbSizer1->Add(
m_staticTextautosave, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
354 m_SaveTime =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
355 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") );
357 gbSizer1->Add(
m_SaveTime, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
359 wxStaticText* minutesLabel;
360 minutesLabel =
new wxStaticText(
this, wxID_ANY,
_(
"minutes"), wxDefaultPosition, wxDefaultSize, 0 );
361 minutesLabel->Wrap( -1 );
362 gbSizer1->Add( minutesLabel, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
368 m_fileHistorySize =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 100, 0 );
369 gbSizer1->Add(
m_fileHistorySize, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
371 m_staticTextClear3DCache =
new wxStaticText(
this, wxID_ANY,
_(
"3D cache file duration:"), wxDefaultPosition, wxDefaultSize, 0 );
375 m_Clear3DCacheFilesOlder =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 120, 30 );
376 m_Clear3DCacheFilesOlder->SetToolTip(
_(
"3D cache files older than this are deleted.\nIf set to 0, cache clearing is disabled") );
378 gbSizer1->Add(
m_Clear3DCacheFilesOlder, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
380 m_staticTextDays =
new wxStaticText(
this, wxID_ANY,
_(
"days"), wxDefaultPosition, wxDefaultSize, 0 );
382 gbSizer1->Add(
m_staticTextDays, wxGBPosition( 2, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
385 gbSizer1->AddGrowableCol( 1 );
387 bSessionSizer->Add( gbSizer1, 0, wxALL, 5 );
390 rightSizer->Add( bSessionSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
393 rightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
395 m_staticText25 =
new wxStaticText(
this, wxID_ANY,
_(
"Project Backup"), wxDefaultPosition, wxDefaultSize, 0 );
397 rightSizer->Add(
m_staticText25, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
399 m_staticline4 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
400 rightSizer->Add(
m_staticline4, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
402 wxBoxSizer* bProjectBackupSizer;
403 bProjectBackupSizer =
new wxBoxSizer( wxVERTICAL );
405 wxGridBagSizer* gbSizer3;
406 gbSizer3 =
new wxGridBagSizer( 0, 0 );
407 gbSizer3->SetFlexibleDirection( wxBOTH );
408 gbSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
410 m_cbBackupEnabled =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically backup projects"), wxDefaultPosition, wxDefaultSize, 0 );
411 m_cbBackupEnabled->SetToolTip(
_(
"Automatically create backup archives of the current project when saving files") );
413 gbSizer3->Add(
m_cbBackupEnabled, wxGBPosition( 0, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT, 5 );
415 m_cbBackupAutosave =
new wxCheckBox(
this, wxID_ANY,
_(
"Create backups when auto save occurs"), wxDefaultPosition, wxDefaultSize, 0 );
416 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.") );
418 gbSizer3->Add(
m_cbBackupAutosave, wxGBPosition( 1, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT, 5 );
420 m_staticText9 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum backups to keep:"), wxDefaultPosition, wxDefaultSize, 0 );
422 m_staticText9->SetToolTip(
_(
"How many backup files total to keep (set to 0 for no limit)") );
424 gbSizer3->Add(
m_staticText9, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
426 m_backupLimitTotalFiles =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
427 gbSizer3->Add(
m_backupLimitTotalFiles, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
429 m_staticText10 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum backups per day:"), wxDefaultPosition, wxDefaultSize, 0 );
431 m_staticText10->SetToolTip(
_(
"How many backup files to keep each day (set to 0 for no limit)") );
433 gbSizer3->Add(
m_staticText10, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
435 m_backupLimitDailyFiles =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
436 gbSizer3->Add(
m_backupLimitDailyFiles, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
438 m_staticText11 =
new wxStaticText(
this, wxID_ANY,
_(
"Minimum time between backups:"), wxDefaultPosition, wxDefaultSize, 0 );
440 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)") );
442 gbSizer3->Add(
m_staticText11, wxGBPosition( 4, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
444 m_backupMinInterval =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 3600, 0 );
445 gbSizer3->Add(
m_backupMinInterval, wxGBPosition( 4, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
447 m_staticText15 =
new wxStaticText(
this, wxID_ANY,
_(
"minutes"), wxDefaultPosition, wxDefaultSize, 0 );
449 gbSizer3->Add(
m_staticText15, wxGBPosition( 4, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
451 m_staticText16 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum total backup size:"), wxDefaultPosition, wxDefaultSize, 0 );
453 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)") );
455 gbSizer3->Add(
m_staticText16, wxGBPosition( 5, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
457 m_backupLimitTotalSize =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
458 gbSizer3->Add(
m_backupLimitTotalSize, wxGBPosition( 5, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 );
460 m_staticText17 =
new wxStaticText(
this, wxID_ANY,
_(
"MB"), wxDefaultPosition, wxDefaultSize, 0 );
462 gbSizer3->Add(
m_staticText17, wxGBPosition( 5, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
465 gbSizer3->AddGrowableCol( 1 );
467 bProjectBackupSizer->Add( gbSizer3, 0, wxALL, 5 );
470 rightSizer->Add( bProjectBackupSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
473 bPanelSizer->Add( rightSizer, 0, wxRIGHT|wxLEFT, 5 );
476 this->SetSizer( bPanelSizer );
478 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)
wxRadioButton * m_rbAccelerated
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
wxGridBagSizer * m_gbUserInterface
wxRadioButton * m_rbIconSizeSmall
wxFlexGridSizer * m_renderingSizer
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
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
wxRadioButton * m_rbFallback
wxCheckBox * m_cbRememberOpenFiles
A wxPanel that is designed to be reset in a standard manner.