KiCad PCB EDA Suite
|
A wxPanel that is designed to be reset in a standard manner. More...
#include <resettable_panel.h>
Public Member Functions | |
RESETTABLE_PANEL (wxWindow *aParent, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxSize(-1,-1), long aStyle=wxTAB_TRAVERSAL, const wxString &aName=wxEmptyString) | |
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 }. | |
A wxPanel that is designed to be reset in a standard manner.
Definition at line 34 of file resettable_panel.h.
|
inline |
Definition at line 37 of file resettable_panel.h.
References ID_RESET_PANEL, and ResetPanel().
|
inlineoverride |
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().
|
inlinevirtual |
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().
|
pure virtual |
Reset the contents of this panel.
Implemented in PANEL_3D_DISPLAY_OPTIONS, PANEL_3D_OPENGL_OPTIONS, PANEL_3D_RAYTRACING_OPTIONS, PANEL_GIT_REPOS, PANEL_EESCHEMA_ANNOTATION_OPTIONS, PANEL_EESCHEMA_COLOR_SETTINGS, PANEL_EESCHEMA_DISPLAY_OPTIONS, PANEL_EESCHEMA_EDITING_OPTIONS, PANEL_SETUP_PINMAP, PANEL_SIMULATOR_PREFERENCES, PANEL_SYM_DISPLAY_OPTIONS, PANEL_SYM_EDITING_OPTIONS, PANEL_GERBVIEW_DISPLAY_OPTIONS, PANEL_GERBVIEW_EXCELLON_SETTINGS, PANEL_COLOR_SETTINGS, PANEL_COMMON_SETTINGS, PANEL_DATA_COLLECTION, PANEL_GRID_SETTINGS, PANEL_MOUSE_SETTINGS, PANEL_PLUGIN_SETTINGS, PANEL_HOTKEYS_EDITOR, PANEL_PL_EDITOR_COLOR_SETTINGS, PANEL_PL_EDITOR_DISPLAY_OPTIONS, PANEL_EDIT_OPTIONS, PANEL_FP_EDITOR_DEFAULTS, PANEL_PCB_DISPLAY_OPTIONS, PANEL_PCBNEW_COLOR_SETTINGS, and PANEL_PCBNEW_DISPLAY_ORIGIN.
Referenced by RESETTABLE_PANEL().