12PANEL_PACKAGES_AND_UPDATES_BASE::PANEL_PACKAGES_AND_UPDATES_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
15 bSizer1 =
new wxBoxSizer( wxVERTICAL );
17 m_generalLabel =
new wxStaticText(
this, wxID_ANY,
_(
"General"), wxDefaultPosition, wxDefaultSize, 0 );
22 bSizer1->Add( 0, 0, 0, wxEXPAND, 5 );
24 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
28 bSizer41 =
new wxBoxSizer( wxVERTICAL );
30 m_cbKicadUpdate =
new wxCheckBox(
this, wxID_ANY,
_(
"Check for KiCad updates on startup"), wxDefaultPosition, wxDefaultSize, 0 );
35 bSizer1->Add( bSizer41, 0, wxEXPAND|wxLEFT|wxTOP, 5 );
38 bSizer1->Add( 0, 20, 0, wxEXPAND, 5 );
40 m_pcmLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Plugin and Content Manager"), wxDefaultPosition, wxDefaultSize, 0 );
42 bSizer1->Add(
m_pcmLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
45 bSizer1->Add( 0, 3, 0, wxEXPAND, 5 );
47 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
51 bSizer4 =
new wxBoxSizer( wxVERTICAL );
53 m_cbPcmUpdate =
new wxCheckBox(
this, wxID_ANY,
_(
"Check for package updates on startup"), wxDefaultPosition, wxDefaultSize, 0 );
58 bSizer1->Add( bSizer4, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
61 bSizer1->Add( 0, 20, 0, wxEXPAND, 5 );
63 m_staticText4 =
new wxStaticText(
this, wxID_ANY,
_(
"Library package handling"), wxDefaultPosition, wxDefaultSize, 0 );
68 bSizer1->Add( 0, 3, 0, wxEXPAND, 5 );
70 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
74 bSizer3 =
new wxBoxSizer( wxVERTICAL );
76 m_libAutoAdd =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically add installed libraries to global library table"), wxDefaultPosition, wxDefaultSize, 0 );
80 m_libAutoRemove =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically remove uninstalled libraries"), wxDefaultPosition, wxDefaultSize, 0 );
85 bSizer2 =
new wxBoxSizer( wxHORIZONTAL );
87 m_staticText1 =
new wxStaticText(
this, wxID_ANY,
_(
"Library nickname prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
89 bSizer2->Add(
m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
91 m_libPrefix =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
92 bSizer2->Add(
m_libPrefix, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
95 bSizer3->Add( bSizer2, 0, wxEXPAND, 5 );
98 bSizer1->Add( bSizer3, 1, wxEXPAND|wxTOP|wxLEFT, 5 );
101 this->SetSizer( bSizer1 );
103 bSizer1->Fit(
this );
wxCheckBox * m_libAutoRemove
wxStaticText * m_pcmLabel
wxCheckBox * m_libAutoAdd
~PANEL_PACKAGES_AND_UPDATES_BASE()
PANEL_PACKAGES_AND_UPDATES_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)
wxStaticText * m_generalLabel
wxStaticLine * m_staticline2
wxCheckBox * m_cbKicadUpdate
wxStaticText * m_staticText1
wxStaticText * m_staticText4
wxCheckBox * m_cbPcmUpdate
wxStaticLine * m_staticline3
wxStaticLine * m_staticline1