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

Class PANEL_DATA_COLLECTION_BASE. More...

#include <panel_data_collection_base.h>

Inheritance diagram for PANEL_DATA_COLLECTION_BASE:
RESETTABLE_PANEL PANEL_DATA_COLLECTION

Public Member Functions

 PANEL_DATA_COLLECTION_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_DATA_COLLECTION_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 OnResetIdClick (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_stExplanation
 
wxCheckBox * m_cbOptIn
 
wxTextCtrl * m_sentryUid
 
wxButton * m_buttonResetId
 

Detailed Description

Class PANEL_DATA_COLLECTION_BASE.

Definition at line 34 of file panel_data_collection_base.h.

Constructor & Destructor Documentation

◆ PANEL_DATA_COLLECTION_BASE()

PANEL_DATA_COLLECTION_BASE::PANEL_DATA_COLLECTION_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_DATA_COLLECTION_BASE()

PANEL_DATA_COLLECTION_BASE::~PANEL_DATA_COLLECTION_BASE ( )

Definition at line 53 of file panel_data_collection_base.cpp.

References m_buttonResetId, and OnResetIdClick().

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 RESETTABLE_PANEL::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 RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ OnResetIdClick()

virtual void PANEL_DATA_COLLECTION_BASE::OnResetIdClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_DATA_COLLECTION.

Definition at line 45 of file panel_data_collection_base.h.

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

◆ ResetPanel()

Member Data Documentation

◆ m_buttonResetId

wxButton* PANEL_DATA_COLLECTION_BASE::m_buttonResetId
protected

◆ m_cbOptIn

wxCheckBox* PANEL_DATA_COLLECTION_BASE::m_cbOptIn
protected

◆ m_sentryUid

wxTextCtrl* PANEL_DATA_COLLECTION_BASE::m_sentryUid
protected

◆ m_stExplanation

wxStaticText* PANEL_DATA_COLLECTION_BASE::m_stExplanation
protected

Definition at line 39 of file panel_data_collection_base.h.

Referenced by PANEL_DATA_COLLECTION_BASE().


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