kicad/common/dialogs/panel_packages_and_updates_...

109 lines
3.8 KiB
C++
Raw Normal View History

///////////////////////////////////////////////////////////////////////////
2023-12-08 18:08:52 +00:00
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "panel_packages_and_updates_base.h"
///////////////////////////////////////////////////////////////////////////
PANEL_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 )
{
wxBoxSizer* bSizer1;
bSizer1 = new wxBoxSizer( wxVERTICAL );
2023-01-11 01:00:47 +00:00
m_generalLabel = new wxStaticText( this, wxID_ANY, _("General"), wxDefaultPosition, wxDefaultSize, 0 );
m_generalLabel->Wrap( -1 );
bSizer1->Add( m_generalLabel, 0, wxLEFT|wxRIGHT|wxTOP, 13 );
bSizer1->Add( 0, 0, 0, wxEXPAND, 5 );
m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
bSizer1->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
wxBoxSizer* bSizer41;
bSizer41 = new wxBoxSizer( wxVERTICAL );
m_cbKicadUpdate = new wxCheckBox( this, wxID_ANY, _("Check for KiCad updates on startup"), wxDefaultPosition, wxDefaultSize, 0 );
m_cbKicadUpdate->SetValue(true);
bSizer41->Add( m_cbKicadUpdate, 0, wxLEFT, 5 );
bSizer1->Add( bSizer41, 0, wxEXPAND|wxLEFT|wxTOP, 5 );
bSizer1->Add( 0, 20, 0, wxEXPAND, 5 );
m_pcmLabel = new wxStaticText( this, wxID_ANY, _("Plugin and Content Manager"), wxDefaultPosition, wxDefaultSize, 0 );
m_pcmLabel->Wrap( -1 );
bSizer1->Add( m_pcmLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
2023-01-11 01:00:47 +00:00
bSizer1->Add( 0, 3, 0, wxEXPAND, 5 );
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
bSizer1->Add( m_staticline1, 0, wxEXPAND|wxBOTTOM, 5 );
wxBoxSizer* bSizer4;
bSizer4 = new wxBoxSizer( wxVERTICAL );
m_cbPcmUpdate = new wxCheckBox( this, wxID_ANY, _("Check for package updates on startup"), wxDefaultPosition, wxDefaultSize, 0 );
m_cbPcmUpdate->SetValue(true);
bSizer4->Add( m_cbPcmUpdate, 0, wxLEFT, 5 );
2023-01-11 01:00:47 +00:00
bSizer1->Add( bSizer4, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
bSizer1->Add( 0, 20, 0, wxEXPAND, 5 );
m_staticText4 = new wxStaticText( this, wxID_ANY, _("Library package handling"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText4->Wrap( -1 );
bSizer1->Add( m_staticText4, 0, wxLEFT|wxRIGHT|wxTOP, 13 );
2023-01-11 01:00:47 +00:00
2023-01-11 01:00:47 +00:00
bSizer1->Add( 0, 3, 0, wxEXPAND, 5 );
2023-01-11 01:00:47 +00:00
m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
bSizer1->Add( m_staticline2, 0, wxEXPAND|wxBOTTOM, 5 );
2023-01-11 01:00:47 +00:00
wxBoxSizer* bSizer3;
bSizer3 = new wxBoxSizer( wxVERTICAL );
2023-12-08 18:08:52 +00:00
m_libAutoAdd = new wxCheckBox( this, wxID_ANY, _("Automatically add installed libraries to global library table"), wxDefaultPosition, wxDefaultSize, 0 );
m_libAutoAdd->SetValue(true);
2023-01-11 01:00:47 +00:00
bSizer3->Add( m_libAutoAdd, 0, wxALL, 5 );
2023-01-11 01:00:47 +00:00
m_libAutoRemove = new wxCheckBox( this, wxID_ANY, _("Automatically remove uninstalled libraries"), wxDefaultPosition, wxDefaultSize, 0 );
m_libAutoRemove->SetValue(true);
2023-01-11 01:00:47 +00:00
bSizer3->Add( m_libAutoRemove, 0, wxALL, 5 );
wxBoxSizer* bSizer2;
bSizer2 = new wxBoxSizer( wxHORIZONTAL );
2023-01-11 01:00:47 +00:00
m_staticText1 = new wxStaticText( this, wxID_ANY, _("Library nickname prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText1->Wrap( -1 );
bSizer2->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
2023-01-11 01:00:47 +00:00
m_libPrefix = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
bSizer2->Add( m_libPrefix, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
2023-01-11 01:00:47 +00:00
bSizer3->Add( bSizer2, 0, wxEXPAND, 5 );
2023-01-11 01:00:47 +00:00
bSizer1->Add( bSizer3, 1, wxEXPAND|wxTOP|wxLEFT, 5 );
this->SetSizer( bSizer1 );
this->Layout();
2023-01-11 01:00:47 +00:00
bSizer1->Fit( this );
}
PANEL_PACKAGES_AND_UPDATES_BASE::~PANEL_PACKAGES_AND_UPDATES_BASE()
{
}