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 )
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
18 bSizer8 =
new wxBoxSizer( wxVERTICAL );
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 );
22 bSizer8->Add(
m_stIntro, 0, wxALL|wxEXPAND, 5 );
24 m_stRequiredTablesLabel =
new wxStaticText(
this, wxID_ANY,
_(
"<b>The following global library tables need to be created:</b>"), wxDefaultPosition, wxDefaultSize, 0 );
29 m_stRequiredTables =
new wxStaticText(
this, wxID_ANY,
_(
"dummy"), wxDefaultPosition, wxDefaultSize, 0 );
35 bSizer8->Add( 0, 10, 0, wxEXPAND, 5 );
37 m_stQuery =
new wxStaticText(
this, wxID_ANY,
_(
"How would you like KiCad to create them?"), wxDefaultPosition, wxDefaultSize, 0 );
41 m_rbDefaultTables =
new wxRadioButton(
this, wxID_ANY,
_(
"Start with the built-in KiCad libraries (recommended)"), wxDefaultPosition, wxDefaultSize, 0 );
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.") );
50 m_rbBlankTables =
new wxRadioButton(
this, wxID_ANY,
_(
"Start with no libraries"), wxDefaultPosition, wxDefaultSize, 0 );
54 bSizer8->Add( 0, 10, 0, wxEXPAND, 5 );
58 m_bmpWarning =
new wxStaticBitmap(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 48,48 ), 0 );
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 );
71 bPanelSizer->Add( bSizer8, 1, wxEXPAND, 5 );
74 this->SetSizer( bPanelSizer );
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)