KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_MAINTENANCE_BASE Class Referenceabstract

Class PANEL_MAINTENANCE_BASE. More...

#include <panel_maintenance_base.h>

Inheritance diagram for PANEL_MAINTENANCE_BASE:
RESETTABLE_PANEL PANEL_MAINTENANCE

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
 

Detailed Description

Class PANEL_MAINTENANCE_BASE.

Definition at line 33 of file panel_maintenance_base.h.

Constructor & Destructor Documentation

◆ PANEL_MAINTENANCE_BASE()

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 )

◆ ~PANEL_MAINTENANCE_BASE()

PANEL_MAINTENANCE_BASE::~PANEL_MAINTENANCE_BASE ( )

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint & aPt,
wxHelpEvent::Origin aOrigin ) const
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().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

References _.

Referenced by GetHelpTextAtPoint().

◆ onClearDialogState()

virtual void PANEL_MAINTENANCE_BASE::onClearDialogState ( wxCommandEvent & event)
inlineprotectedvirtual

Reimplemented in PANEL_MAINTENANCE.

Definition at line 49 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ onClearDontShowAgain()

virtual void PANEL_MAINTENANCE_BASE::onClearDontShowAgain ( wxCommandEvent & event)
inlineprotectedvirtual

Reimplemented in PANEL_MAINTENANCE.

Definition at line 48 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ onClearFileHistory()

virtual void PANEL_MAINTENANCE_BASE::onClearFileHistory ( wxCommandEvent & event)
inlineprotectedvirtual

Reimplemented in PANEL_MAINTENANCE.

Definition at line 47 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ onResetAll()

virtual void PANEL_MAINTENANCE_BASE::onResetAll ( wxCommandEvent & event)
inlineprotectedvirtual

Reimplemented in PANEL_MAINTENANCE.

Definition at line 50 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ ResetPanel()

Member Data Documentation

◆ m_Clear3DCacheFilesOlder

wxSpinCtrl* PANEL_MAINTENANCE_BASE::m_Clear3DCacheFilesOlder
protected

◆ m_clearDialogState

wxButton* PANEL_MAINTENANCE_BASE::m_clearDialogState
private

Definition at line 37 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ m_clearDontShowAgain

wxButton* PANEL_MAINTENANCE_BASE::m_clearDontShowAgain
private

Definition at line 36 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ m_clearFileHistory

wxButton* PANEL_MAINTENANCE_BASE::m_clearFileHistory
protected

Definition at line 44 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ m_resetAll

wxButton* PANEL_MAINTENANCE_BASE::m_resetAll
private

Definition at line 38 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE(), and ~PANEL_MAINTENANCE_BASE().

◆ m_staticTextClear3DCache

wxStaticText* PANEL_MAINTENANCE_BASE::m_staticTextClear3DCache
protected

Definition at line 41 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE().

◆ m_staticTextDays

wxStaticText* PANEL_MAINTENANCE_BASE::m_staticTextDays
protected

Definition at line 43 of file panel_maintenance_base.h.

Referenced by PANEL_MAINTENANCE_BASE().


The documentation for this class was generated from the following files: