KiCad PCB EDA Suite
|
#include <panel_maintenance.h>
Public Member Functions | |
PANEL_MAINTENANCE (wxWindow *aParent, EDA_BASE_FRAME *aFrame) | |
~PANEL_MAINTENANCE ()=default | |
void | ResetPanel () override |
Reset the contents of this panel. | |
virtual wxString | GetResetTooltip () const |
Get the tooltip the reset button should display when showing this panel. | |
wxString | GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. | |
Protected Member Functions | |
bool | TransferDataFromWindow () override |
bool | TransferDataToWindow () override |
void | applySettingsToPanel (COMMON_SETTINGS &aSettings) |
void | doClearDontShowAgain () |
void | doClearDialogState () |
void | onClearFileHistory (wxCommandEvent &event) override |
void | onClearDontShowAgain (wxCommandEvent &event) override |
void | onClearDialogState (wxCommandEvent &event) override |
void | onResetAll (wxCommandEvent &event) override |
Protected Attributes | |
EDA_BASE_FRAME * | m_frame |
wxStaticText * | m_staticTextClear3DCache |
wxSpinCtrl * | m_Clear3DCacheFilesOlder |
wxStaticText * | m_staticTextDays |
wxButton * | m_clearFileHistory |
Private Attributes | |
wxButton * | m_clearDontShowAgain |
wxButton * | m_clearDialogState |
wxButton * | m_resetAll |
Definition at line 33 of file panel_maintenance.h.
PANEL_MAINTENANCE::PANEL_MAINTENANCE | ( | wxWindow * | aParent, |
EDA_BASE_FRAME * | aFrame ) |
Definition at line 35 of file panel_maintenance.cpp.
References m_frame, and PANEL_MAINTENANCE_BASE::PANEL_MAINTENANCE_BASE().
|
default |
|
protected |
Definition at line 74 of file panel_maintenance.cpp.
References COMMON_SETTINGS::SYSTEM::clear_3d_cache_interval, PANEL_MAINTENANCE_BASE::m_Clear3DCacheFilesOlder, and COMMON_SETTINGS::m_System.
Referenced by ResetPanel(), and TransferDataToWindow().
|
protected |
Definition at line 115 of file panel_maintenance.cpp.
References doClearDontShowAgain(), GetSettingsManager(), and Pgm().
Referenced by onClearDialogState(), and onResetAll().
|
protected |
Definition at line 92 of file panel_maintenance.cpp.
References KIDIALOG::ClearDoNotShowAgainDialogs(), GetSettingsManager(), and Pgm().
Referenced by doClearDialogState(), and onClearDontShowAgain().
|
inlineoverrideinherited |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
Definition at line 72 of file resettable_panel.h.
References GetResetTooltip().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by GetHelpTextAtPoint().
|
overrideprotectedvirtual |
Reimplemented from PANEL_MAINTENANCE_BASE.
Definition at line 127 of file panel_maintenance.cpp.
References _, doClearDialogState(), and PAGED_DIALOG::GetDialog().
|
overrideprotectedvirtual |
Reimplemented from PANEL_MAINTENANCE_BASE.
Definition at line 106 of file panel_maintenance.cpp.
References _, doClearDontShowAgain(), and PAGED_DIALOG::GetDialog().
|
overrideprotectedvirtual |
Reimplemented from PANEL_MAINTENANCE_BASE.
Definition at line 80 of file panel_maintenance.cpp.
References _, SETTINGS_MANAGER::ClearFileHistory(), PAGED_DIALOG::GetDialog(), PGM_BASE::GetSettingsManager(), m_frame, and Pgm().
|
overrideprotectedvirtual |
Reimplemented from PANEL_MAINTENANCE_BASE.
Definition at line 136 of file panel_maintenance.cpp.
References doClearDialogState(), PGM_BASE::GetSettingsManager(), m_frame, Pgm(), and SETTINGS_MANAGER::ResetToDefaults().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 64 of file panel_maintenance.cpp.
References applySettingsToPanel(), and JSON_SETTINGS::ResetToDefaults().
|
overrideprotected |
Definition at line 52 of file panel_maintenance.cpp.
References COMMON_SETTINGS::SYSTEM::clear_3d_cache_interval, PGM_BASE::GetCommonSettings(), PGM_BASE::GetSettingsManager(), PANEL_MAINTENANCE_BASE::m_Clear3DCacheFilesOlder, COMMON_SETTINGS::m_System, Pgm(), and SETTINGS_MANAGER::Save().
|
overrideprotected |
Definition at line 42 of file panel_maintenance.cpp.
References applySettingsToPanel(), PGM_BASE::GetCommonSettings(), and Pgm().
|
protectedinherited |
Definition at line 42 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE::applySettingsToPanel(), PANEL_MAINTENANCE_BASE(), and PANEL_MAINTENANCE::TransferDataFromWindow().
|
privateinherited |
Definition at line 37 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
privateinherited |
Definition at line 36 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
protectedinherited |
Definition at line 44 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
protected |
Definition at line 56 of file panel_maintenance.h.
Referenced by onClearFileHistory(), onResetAll(), and PANEL_MAINTENANCE().
|
privateinherited |
Definition at line 38 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
protectedinherited |
Definition at line 41 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE().
|
protectedinherited |
Definition at line 43 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE().