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 );
21 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
25 bSizer1->Add( 0, 0, 0, wxEXPAND, 5 );
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, 3, 0, wxALL|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 );
44 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
45 bSizer1->Add(
m_staticline1, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
48 bSizer4 =
new wxBoxSizer( wxVERTICAL );
50 m_cbPcmUpdate =
new wxCheckBox(
this, wxID_ANY,
_(
"Check for package updates on startup"), wxDefaultPosition, wxDefaultSize, 0 );
55 bSizer1->Add( bSizer4, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
58 bSizer1->Add( 0, 20, 0, wxEXPAND, 5 );
60 m_staticText4 =
new wxStaticText(
this, wxID_ANY,
_(
"Library Package Handling"), wxDefaultPosition, wxDefaultSize, 0 );
64 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
65 bSizer1->Add(
m_staticline2, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
68 bSizer3 =
new wxBoxSizer( wxVERTICAL );
70 m_libAutoAdd =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically add installed libraries to global library table"), wxDefaultPosition, wxDefaultSize, 0 );
74 m_libAutoRemove =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically remove uninstalled libraries"), wxDefaultPosition, wxDefaultSize, 0 );
79 bSizer2 =
new wxBoxSizer( wxHORIZONTAL );
81 m_staticText1 =
new wxStaticText(
this, wxID_ANY,
_(
"Library nickname prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
83 bSizer2->Add(
m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
85 m_libPrefix =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
86 bSizer2->Add(
m_libPrefix, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
89 bSizer3->Add( bSizer2, 0, wxEXPAND, 5 );
92 bSizer1->Add( bSizer3, 1, wxEXPAND|wxTOP|wxLEFT, 5 );
95 this->SetSizer( bSizer1 );
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