KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_data_collection_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
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 )
13{
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer = new wxBoxSizer( wxHORIZONTAL );
16
17 wxBoxSizer* bSizer8;
18 bSizer8 = new wxBoxSizer( wxVERTICAL );
19
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 );
21 m_stExplanation->Wrap( 500 );
22 bSizer8->Add( m_stExplanation, 0, wxALL, 5 );
23
24 m_cbOptIn = new wxCheckBox( this, wxID_ANY, _("I agree to provide anonymous reports"), wxDefaultPosition, wxDefaultSize, 0 );
25 bSizer8->Add( m_cbOptIn, 0, wxALL, 5 );
26
27 wxBoxSizer* bSizer3;
28 bSizer3 = new wxBoxSizer( wxHORIZONTAL );
29
30 m_sentryUid = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
31 m_sentryUid->SetMinSize( wxSize( 340,-1 ) );
32
33 bSizer3->Add( m_sentryUid, 0, wxALL, 5 );
34
35 m_buttonResetId = new wxButton( this, wxID_ANY, _("Reset Unique Id"), wxDefaultPosition, wxDefaultSize, 0 );
36 bSizer3->Add( m_buttonResetId, 0, wxALL, 5 );
37
38
39 bSizer8->Add( bSizer3, 1, wxEXPAND, 5 );
40
41
42 bPanelSizer->Add( bSizer8, 1, wxEXPAND, 5 );
43
44
45 this->SetSizer( bPanelSizer );
46 this->Layout();
47 bPanelSizer->Fit( this );
48
49 // Connect Events
50 m_buttonResetId->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_DATA_COLLECTION_BASE::OnResetIdClick ), NULL, this );
51}
52
54{
55 // Disconnect Events
56 m_buttonResetId->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_DATA_COLLECTION_BASE::OnResetIdClick ), NULL, this );
57
58}
const char * name
Definition: DXF_plotter.cpp:57
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)
A wxPanel that is designed to be reset in a standard manner.
#define _(s)