KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_DATA_COLLECTION Class Reference

#include <panel_data_collection.h>

Inheritance diagram for PANEL_DATA_COLLECTION:
PANEL_DATA_COLLECTION_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_DATA_COLLECTION (wxWindow *aParent)
 
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
 
virtual void OnResetIdClick (wxCommandEvent &aEvent) override
 

Protected Attributes

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

Private Member Functions

void applySettingsToPanel ()
 

Detailed Description

Definition at line 34 of file panel_data_collection.h.

Constructor & Destructor Documentation

◆ PANEL_DATA_COLLECTION()

PANEL_DATA_COLLECTION::PANEL_DATA_COLLECTION ( wxWindow *  aParent)

Definition at line 39 of file panel_data_collection.cpp.

Member Function Documentation

◆ applySettingsToPanel()

void PANEL_DATA_COLLECTION::applySettingsToPanel ( )
private

Definition at line 76 of file panel_data_collection.cpp.

References PANEL_DATA_COLLECTION_BASE::m_cbOptIn, and Pgm().

Referenced by ResetPanel(), and TransferDataToWindow().

◆ 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()

void PANEL_DATA_COLLECTION::OnResetIdClick ( wxCommandEvent &  aEvent)
overrideprotectedvirtual

Reimplemented from PANEL_DATA_COLLECTION_BASE.

Definition at line 82 of file panel_data_collection.cpp.

References PANEL_DATA_COLLECTION_BASE::m_sentryUid, and Pgm().

◆ ResetPanel()

void PANEL_DATA_COLLECTION::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 70 of file panel_data_collection.cpp.

References applySettingsToPanel().

◆ TransferDataFromWindow()

bool PANEL_DATA_COLLECTION::TransferDataFromWindow ( )
overrideprotected

Definition at line 62 of file panel_data_collection.cpp.

References PANEL_DATA_COLLECTION_BASE::m_cbOptIn, and Pgm().

◆ TransferDataToWindow()

bool PANEL_DATA_COLLECTION::TransferDataToWindow ( )
overrideprotected

Member Data Documentation

◆ m_buttonResetId

wxButton* PANEL_DATA_COLLECTION_BASE::m_buttonResetId
protectedinherited

◆ m_cbOptIn

wxCheckBox* PANEL_DATA_COLLECTION_BASE::m_cbOptIn
protectedinherited

◆ m_sentryUid

wxTextCtrl* PANEL_DATA_COLLECTION_BASE::m_sentryUid
protectedinherited

◆ m_stExplanation

wxStaticText* PANEL_DATA_COLLECTION_BASE::m_stExplanation
protectedinherited

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