KiCad PCB EDA Suite
|
Class PANEL_MAINTENANCE_BASE. More...
#include <panel_maintenance_base.h>
Public Member Functions | |
PANEL_MAINTENANCE_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) | |
~PANEL_MAINTENANCE_BASE () | |
virtual void | ResetPanel ()=0 |
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 | |
virtual void | onClearFileHistory (wxCommandEvent &event) |
virtual void | onClearDontShowAgain (wxCommandEvent &event) |
virtual void | onClearDialogState (wxCommandEvent &event) |
virtual void | onResetAll (wxCommandEvent &event) |
Protected Attributes | |
wxStaticText * | m_staticTextClear3DCache |
wxSpinCtrl * | m_Clear3DCacheFilesOlder |
wxStaticText * | m_staticTextDays |
wxButton * | m_clearFileHistory |
Private Attributes | |
wxButton * | m_clearDontShowAgain |
wxButton * | m_clearDialogState |
wxButton * | m_resetAll |
Class PANEL_MAINTENANCE_BASE.
Definition at line 33 of file panel_maintenance_base.h.
PANEL_MAINTENANCE_BASE::PANEL_MAINTENANCE_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 ) |
Definition at line 12 of file panel_maintenance_base.cpp.
References _, m_Clear3DCacheFilesOlder, m_clearDialogState, m_clearDontShowAgain, m_clearFileHistory, m_resetAll, m_staticTextClear3DCache, m_staticTextDays, name, onClearDialogState(), onClearDontShowAgain(), onClearFileHistory(), onResetAll(), and RESETTABLE_PANEL::RESETTABLE_PANEL().
Referenced by PANEL_MAINTENANCE::PANEL_MAINTENANCE().
PANEL_MAINTENANCE_BASE::~PANEL_MAINTENANCE_BASE | ( | ) |
Definition at line 75 of file panel_maintenance_base.cpp.
References m_clearDialogState, m_clearDontShowAgain, m_clearFileHistory, m_resetAll, onClearDialogState(), onClearDontShowAgain(), onClearFileHistory(), and onResetAll().
|
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().
|
inlineprotectedvirtual |
Reimplemented in PANEL_MAINTENANCE.
Definition at line 49 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_MAINTENANCE.
Definition at line 48 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_MAINTENANCE.
Definition at line 47 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_MAINTENANCE.
Definition at line 50 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
pure virtualinherited |
Reset the contents of this panel.
Implemented in PANEL_3D_DISPLAY_OPTIONS, PANEL_3D_OPENGL_OPTIONS, PANEL_3D_RAYTRACING_OPTIONS, PANEL_COLOR_SETTINGS, PANEL_COMMON_SETTINGS, PANEL_DATA_COLLECTION, PANEL_DISPLAY_OPTIONS, PANEL_EDIT_OPTIONS, PANEL_EESCHEMA_ANNOTATION_OPTIONS, PANEL_EESCHEMA_COLOR_SETTINGS, PANEL_EESCHEMA_DISPLAY_OPTIONS, PANEL_EESCHEMA_EDITING_OPTIONS, PANEL_FP_EDITOR_FIELD_DEFAULTS, PANEL_FP_EDITOR_GRAPHICS_DEFAULTS, PANEL_GERBVIEW_DISPLAY_OPTIONS, PANEL_GERBVIEW_EXCELLON_SETTINGS, PANEL_GIT_REPOS, PANEL_GRID_SETTINGS, PANEL_HOTKEYS_EDITOR, PANEL_MAINTENANCE, PANEL_MOUSE_SETTINGS, PANEL_PCBNEW_COLOR_SETTINGS, PANEL_PCBNEW_DISPLAY_ORIGIN, PANEL_PL_EDITOR_COLOR_SETTINGS, PANEL_PL_EDITOR_DISPLAY_OPTIONS, PANEL_PLUGIN_SETTINGS, PANEL_SETUP_PINMAP, PANEL_SIMULATOR_PREFERENCES, PANEL_SPACEMOUSE, PANEL_SYM_DISPLAY_OPTIONS, PANEL_SYM_EDITING_OPTIONS, and PANEL_TOOLBAR_CUSTOMIZATION.
Referenced by RESETTABLE_PANEL().
|
protected |
Definition at line 42 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE::applySettingsToPanel(), PANEL_MAINTENANCE_BASE(), and PANEL_MAINTENANCE::TransferDataFromWindow().
|
private |
Definition at line 37 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
private |
Definition at line 36 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
protected |
Definition at line 44 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
private |
Definition at line 38 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().
|
protected |
Definition at line 41 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE().
|
protected |
Definition at line 43 of file panel_maintenance_base.h.
Referenced by PANEL_MAINTENANCE_BASE().