|
KiCad PCB EDA Suite
|
#include <panel_data_collection.h>
Public Member Functions | |
| PANEL_DATA_COLLECTION (std::shared_ptr< PANEL_DATA_COLLECTION_MODEL > model, wxWindow *aParent, bool aWizard=true) | |
| 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 () |
Private Attributes | |
| std::shared_ptr< PANEL_DATA_COLLECTION_MODEL > | m_model |
| bool | m_wizard |
Definition at line 39 of file panel_data_collection.h.
| PANEL_DATA_COLLECTION::PANEL_DATA_COLLECTION | ( | std::shared_ptr< PANEL_DATA_COLLECTION_MODEL > | model, |
| wxWindow * | aParent, | ||
| bool | aWizard = true ) |
Definition at line 39 of file panel_data_collection.cpp.
References m_model, m_wizard, and PANEL_DATA_COLLECTION_BASE::PANEL_DATA_COLLECTION_BASE().
| PANEL_DATA_COLLECTION::PANEL_DATA_COLLECTION | ( | wxWindow * | aParent | ) |
Definition at line 47 of file panel_data_collection.cpp.
References m_model, m_wizard, and PANEL_DATA_COLLECTION_BASE::PANEL_DATA_COLLECTION_BASE().
|
private |
Definition at line 95 of file panel_data_collection.cpp.
References APP_MONITOR::SENTRY::Instance(), and PANEL_DATA_COLLECTION_BASE::m_cbOptIn.
Referenced by ResetPanel(), and TransferDataToWindow().
|
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().
|
overrideprotectedvirtual |
Reimplemented from PANEL_DATA_COLLECTION_BASE.
Definition at line 101 of file panel_data_collection.cpp.
References APP_MONITOR::SENTRY::Instance(), PANEL_DATA_COLLECTION_BASE::m_sentryUid, and APP_MONITOR::SENTRY::ResetSentryId().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 89 of file panel_data_collection.cpp.
References applySettingsToPanel().
|
overrideprotected |
Definition at line 78 of file panel_data_collection.cpp.
References APP_MONITOR::SENTRY::Instance(), PANEL_DATA_COLLECTION_BASE::m_cbOptIn, m_model, m_wizard, and APP_MONITOR::SENTRY::SetSentryOptIn().
|
overrideprotected |
Definition at line 54 of file panel_data_collection.cpp.
References applySettingsToPanel(), KIPLATFORM::POLICY::GetPolicyBool(), APP_MONITOR::SENTRY::Instance(), PANEL_DATA_COLLECTION_BASE::m_buttonResetId, PANEL_DATA_COLLECTION_BASE::m_sentryUid, m_wizard, KIPLATFORM::POLICY::NOT_CONFIGURED, and POLICY_KEY_DATACOLLECTION.
|
protectedinherited |
Definition at line 42 of file panel_data_collection_base.h.
Referenced by PANEL_DATA_COLLECTION_BASE(), PANEL_DATA_COLLECTION::TransferDataToWindow(), and ~PANEL_DATA_COLLECTION_BASE().
|
protectedinherited |
Definition at line 40 of file panel_data_collection_base.h.
Referenced by PANEL_DATA_COLLECTION::applySettingsToPanel(), PANEL_DATA_COLLECTION_BASE(), and PANEL_DATA_COLLECTION::TransferDataFromWindow().
|
private |
Definition at line 54 of file panel_data_collection.h.
Referenced by PANEL_DATA_COLLECTION(), PANEL_DATA_COLLECTION(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_data_collection_base.h.
Referenced by PANEL_DATA_COLLECTION::OnResetIdClick(), PANEL_DATA_COLLECTION_BASE(), and PANEL_DATA_COLLECTION::TransferDataToWindow().
|
protectedinherited |
Definition at line 39 of file panel_data_collection_base.h.
Referenced by PANEL_DATA_COLLECTION_BASE().
|
private |
Definition at line 56 of file panel_data_collection.h.
Referenced by PANEL_DATA_COLLECTION(), PANEL_DATA_COLLECTION(), TransferDataFromWindow(), and TransferDataToWindow().