12PANEL_DATA_COLLECTION_BASE::PANEL_DATA_COLLECTION_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
18 bSizer8 =
new wxBoxSizer( wxVERTICAL );
20 m_stExplanation =
new wxStaticText(
this, wxID_ANY,
_(
"KiCad can anonymously report crashes and special event data to developers in order to aid identifying critical bugs across the user base more effectively and help profile functionality to guide improvements.\n\nTo link automatic reports from the same KiCad install, a unique identifier is generated that is completely random, and is only used for the purposes of crash reporting. No personally identifiable information (PII) including IP address is stored or connected to this identifier. You may reset this id at anytime with the button provided.\n\nIf you choose to voluntarily participate, KiCad will automatically handle sending said reports when crashes or events occur. Your design files such as schematic or PCB are never shared in this process."), wxDefaultPosition, wxDefaultSize, 0 );
24 m_cbOptIn =
new wxCheckBox(
this, wxID_ANY,
_(
"I agree to provide anonymous reports"), wxDefaultPosition, wxDefaultSize, 0 );
28 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
30 m_sentryUid =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
35 m_buttonResetId =
new wxButton(
this, wxID_ANY,
_(
"Reset Unique Id"), wxDefaultPosition, wxDefaultSize, 0 );
39 bSizer8->Add( bSizer3, 1, wxEXPAND, 5 );
42 bPanelSizer->Add( bSizer8, 1, wxEXPAND, 5 );
45 this->SetSizer( bPanelSizer );
47 bPanelSizer->Fit(
this );
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)
virtual void OnResetIdClick(wxCommandEvent &event)
~PANEL_DATA_COLLECTION_BASE()
wxStaticText * m_stExplanation
wxButton * m_buttonResetId
A wxPanel that is designed to be reset in a standard manner.