KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_startwizard_libraries_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12PANEL_STARTWIZARD_LIBRARIES_BASE::PANEL_STARTWIZARD_LIBRARIES_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( 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_stIntro = new wxStaticText( this, wxID_ANY, _("KiCad comes with a large set of symbol and footprint libraries maintained by the KiCad librarian team. You may also create your own libraries, and install third-party ones from the Plugin and Content Manager or other sources.\n\nLibrary tables are the configuration files which list the libraries to be loaded. Global libraries are available in every project, and you may also add project-specific libraries if desired."), wxDefaultPosition, wxDefaultSize, 0 );
21 m_stIntro->Wrap( 540 );
22 bSizer8->Add( m_stIntro, 0, wxALL|wxEXPAND, 5 );
23
24 m_stRequiredTablesLabel = new wxStaticText( this, wxID_ANY, _("<b>The following global library tables need to be created:</b>"), wxDefaultPosition, wxDefaultSize, 0 );
25 m_stRequiredTablesLabel->SetLabelMarkup( _("<b>The following global library tables need to be created:</b>") );
26 m_stRequiredTablesLabel->Wrap( -1 );
27 bSizer8->Add( m_stRequiredTablesLabel, 0, wxALL|wxEXPAND, 5 );
28
29 m_stRequiredTables = new wxStaticText( this, wxID_ANY, _("dummy"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_stRequiredTables->SetLabelMarkup( _("dummy") );
31 m_stRequiredTables->Wrap( -1 );
32 bSizer8->Add( m_stRequiredTables, 0, wxALL, 5 );
33
34
35 bSizer8->Add( 0, 10, 0, wxEXPAND, 5 );
36
37 m_stQuery = new wxStaticText( this, wxID_ANY, _("How would you like KiCad to create them?"), wxDefaultPosition, wxDefaultSize, 0 );
38 m_stQuery->Wrap( 400 );
39 bSizer8->Add( m_stQuery, 0, wxALL, 5 );
40
41 m_rbDefaultTables = new wxRadioButton( this, wxID_ANY, _("Start with the built-in KiCad libraries (recommended)"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_rbDefaultTables->SetValue( true );
43 bSizer8->Add( m_rbDefaultTables, 0, wxALL, 5 );
44
45 m_rbImport = new wxRadioButton( this, wxID_ANY, _("Import tables from the previous version"), wxDefaultPosition, wxDefaultSize, 0 );
46 m_rbImport->SetToolTip( _("Library tables will be imported from the version you selected on the previous step. Any tables that cannot be imported will be created with the default KiCad libraries.") );
47
48 bSizer8->Add( m_rbImport, 0, wxALL, 5 );
49
50 m_rbBlankTables = new wxRadioButton( this, wxID_ANY, _("Start with no libraries"), wxDefaultPosition, wxDefaultSize, 0 );
51 bSizer8->Add( m_rbBlankTables, 0, wxALL, 5 );
52
53
54 bSizer8->Add( 0, 10, 0, wxEXPAND, 5 );
55
56 m_sizerWarning = new wxBoxSizer( wxHORIZONTAL );
57
58 m_bmpWarning = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 48,48 ), 0 );
59 m_bmpWarning->SetMinSize( wxSize( 48,48 ) );
60
61 m_sizerWarning->Add( m_bmpWarning, 0, wxALL, 4 );
62
63 m_stWarning = new wxStaticText( this, wxID_ANY, _("The built-in library tables could not be found in the expected location. This usually means that you have installed the KiCad software without also installing the libraries. You can proceed with setup, but you will need to install the libraries separately in order for them to be available."), wxDefaultPosition, wxDefaultSize, 0 );
64 m_stWarning->Wrap( 540 );
65 m_sizerWarning->Add( m_stWarning, 0, wxALL, 5 );
66
67
68 bSizer8->Add( m_sizerWarning, 0, wxEXPAND, 5 );
69
70
71 bPanelSizer->Add( bSizer8, 1, wxEXPAND, 5 );
72
73
74 this->SetSizer( bPanelSizer );
75 this->Layout();
76}
77
const char * name
PANEL_STARTWIZARD_LIBRARIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(550,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
#define _(s)