129 lines
5.2 KiB
C++
129 lines
5.2 KiB
C++
|
///////////////////////////////////////////////////////////////////////////
|
||
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
||
|
// http://www.wxformbuilder.org/
|
||
|
//
|
||
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||
|
///////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#include "panel_eeschema_display_options_base.h"
|
||
|
|
||
|
///////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
|
||
|
{
|
||
|
wxBoxSizer* bPanelSizer;
|
||
|
bPanelSizer = new wxBoxSizer( wxVERTICAL );
|
||
|
|
||
|
wxBoxSizer* bLeftColumn;
|
||
|
bLeftColumn = new wxBoxSizer( wxVERTICAL );
|
||
|
|
||
|
wxFlexGridSizer* fgSizer32;
|
||
|
fgSizer32 = new wxFlexGridSizer( 0, 3, 0, 0 );
|
||
|
fgSizer32->AddGrowableCol( 1 );
|
||
|
fgSizer32->SetFlexibleDirection( wxBOTH );
|
||
|
fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
||
|
|
||
|
m_staticText3 = new wxStaticText( this, wxID_ANY, _("&Grid size:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_staticText3->Wrap( -1 );
|
||
|
fgSizer32->Add( m_staticText3, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
wxArrayString m_choiceGridSizeChoices;
|
||
|
m_choiceGridSize = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceGridSizeChoices, 0 );
|
||
|
m_choiceGridSize->SetSelection( 0 );
|
||
|
fgSizer32->Add( m_choiceGridSize, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
|
||
|
|
||
|
m_staticGridUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_staticGridUnits->Wrap( -1 );
|
||
|
fgSizer32->Add( m_staticGridUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND, 5 );
|
||
|
|
||
|
m_busWidthLabel = new wxStaticText( this, wxID_ANY, _("&Bus thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_busWidthLabel->Wrap( -1 );
|
||
|
fgSizer32->Add( m_busWidthLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
m_busWidthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS|wxSP_WRAP );
|
||
|
fgSizer32->Add( m_busWidthCtrl, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
|
||
|
|
||
|
m_busWidthUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_busWidthUnits->Wrap( -1 );
|
||
|
fgSizer32->Add( m_busWidthUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
m_lineWidthLabel = new wxStaticText( this, wxID_ANY, _("&Line thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_lineWidthLabel->Wrap( -1 );
|
||
|
fgSizer32->Add( m_lineWidthLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
m_lineWidthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS|wxSP_WRAP );
|
||
|
fgSizer32->Add( m_lineWidthCtrl, 0, wxEXPAND|wxBOTTOM, 5 );
|
||
|
|
||
|
m_lineWidthUnits = new wxStaticText( this, wxID_ANY, _("mils"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_lineWidthUnits->Wrap( -1 );
|
||
|
fgSizer32->Add( m_lineWidthUnits, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND, 5 );
|
||
|
|
||
|
m_staticText26 = new wxStaticText( this, wxID_ANY, _("&Part ID notation:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_staticText26->Wrap( -1 );
|
||
|
fgSizer32->Add( m_staticText26, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
||
|
|
||
|
wxString m_choiceSeparatorRefIdChoices[] = { _("A"), _(".A"), _("-A"), _("_A"), _(".1"), _("-1"), _("_1") };
|
||
|
int m_choiceSeparatorRefIdNChoices = sizeof( m_choiceSeparatorRefIdChoices ) / sizeof( wxString );
|
||
|
m_choiceSeparatorRefId = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceSeparatorRefIdNChoices, m_choiceSeparatorRefIdChoices, 0 );
|
||
|
m_choiceSeparatorRefId->SetSelection( 0 );
|
||
|
fgSizer32->Add( m_choiceSeparatorRefId, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
|
||
|
|
||
|
|
||
|
fgSizer32->Add( 0, 0, 1, wxEXPAND, 5 );
|
||
|
|
||
|
|
||
|
bLeftColumn->Add( fgSizer32, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
|
||
|
|
||
|
wxBoxSizer* bSizer92;
|
||
|
bSizer92 = new wxBoxSizer( wxVERTICAL );
|
||
|
|
||
|
m_checkShowGrid = new wxCheckBox( this, wxID_ANY, _("&Show grid"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
bSizer92->Add( m_checkShowGrid, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
m_checkShowHiddenPins = new wxCheckBox( this, wxID_ANY, _("S&how hidden pins"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
bSizer92->Add( m_checkShowHiddenPins, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
||
|
|
||
|
m_checkPageLimits = new wxCheckBox( this, wxID_ANY, _("Show page limi&ts"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
m_checkPageLimits->SetValue(true);
|
||
|
bSizer92->Add( m_checkPageLimits, 0, wxEXPAND|wxALL, 5 );
|
||
|
|
||
|
|
||
|
bSizer92->Add( 0, 0, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
|
||
|
|
||
|
m_footprintPreview = new wxCheckBox( this, wxID_ANY, _("Show footprint previews in symbol chooser (experimental)"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
bSizer92->Add( m_footprintPreview, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
|
||
|
|
||
|
|
||
|
bLeftColumn->Add( bSizer92, 0, wxTOP|wxRIGHT, 5 );
|
||
|
|
||
|
|
||
|
bPanelSizer->Add( bLeftColumn, 0, wxTOP|wxLEFT|wxEXPAND, 10 );
|
||
|
|
||
|
|
||
|
this->SetSizer( bPanelSizer );
|
||
|
this->Layout();
|
||
|
bPanelSizer->Fit( this );
|
||
|
}
|
||
|
|
||
|
PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::~PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE()
|
||
|
{
|
||
|
}
|