2018-05-14 17:34:18 +00:00
///////////////////////////////////////////////////////////////////////////
2023-02-04 13:36:14 +00:00
// C++ code generated with wxFormBuilder (version 3.10.0-39-g3487c3cb)
2018-05-14 17:34:18 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
2020-10-25 19:24:00 +00:00
# include "panel_sym_editing_options_base.h"
2018-05-14 17:34:18 +00:00
///////////////////////////////////////////////////////////////////////////
2021-11-01 11:20:13 +00:00
PANEL_SYM_EDITING_OPTIONS_BASE : : PANEL_SYM_EDITING_OPTIONS_BASE ( wxWindow * parent , wxWindowID id , const wxPoint & pos , const wxSize & size , long style , const wxString & name ) : RESETTABLE_PANEL ( parent , id , pos , size , style , name )
2018-05-14 17:34:18 +00:00
{
wxBoxSizer * p1mainSizer ;
p1mainSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2020-04-04 20:32:14 +00:00
wxBoxSizer * leftColumn ;
leftColumn = new wxBoxSizer ( wxVERTICAL ) ;
2023-01-11 01:00:47 +00:00
m_defaultsLabel = new wxStaticText ( this , wxID_ANY , _ ( " Defaults for New Objects " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_defaultsLabel - > Wrap ( - 1 ) ;
leftColumn - > Add ( m_defaultsLabel , 0 , wxTOP | wxRIGHT | wxLEFT , 13 ) ;
leftColumn - > Add ( 0 , 3 , 0 , wxEXPAND , 5 ) ;
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
leftColumn - > Add ( m_staticline1 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
2020-04-04 20:32:14 +00:00
2021-12-24 22:29:14 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 2 , 0 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
gbSizer1 - > SetEmptyCellSize ( wxSize ( - 1 , 8 ) ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_lineWidthLabel = new wxStaticText ( this , wxID_ANY , _ ( " &Default line width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_lineWidthLabel - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_lineWidthLabel , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-02-01 03:22:32 +00:00
m_lineWidthCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_lineWidthCtrl , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_lineWidthUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_lineWidthUnits - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_lineWidthUnits , wxGBPosition ( 0 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2023-02-14 21:44:49 +00:00
m_widthHelpText = new wxStaticText ( this , wxID_ANY , _ ( " Set to 0 to allow symbols to inherit line width properties \n from Schematic " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-12-24 22:29:14 +00:00
m_widthHelpText - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_widthHelpText , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 3 ) , wxBOTTOM | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_textSizeLabel = new wxStaticText ( this , wxID_ANY , _ ( " Default text size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-04 20:32:14 +00:00
m_textSizeLabel - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_textSizeLabel , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_textSizeCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_textSizeCtrl , wxGBPosition ( 2 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_textSizeUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-04 20:32:14 +00:00
m_textSizeUnits - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_textSizeUnits , wxGBPosition ( 2 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinLengthLabel = new wxStaticText ( this , wxID_ANY , _ ( " D&efault pin length: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinLengthLabel - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinLengthLabel , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-02-01 03:22:32 +00:00
m_pinLengthCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinLengthCtrl , wxGBPosition ( 4 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinLengthUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinLengthUnits - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinLengthUnits , wxGBPosition ( 4 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinNumSizeLabel = new wxStaticText ( this , wxID_ANY , _ ( " De&fault pin number size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinNumSizeLabel - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinNumSizeLabel , wxGBPosition ( 5 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-02-01 03:22:32 +00:00
m_pinNumSizeCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinNumSizeCtrl , wxGBPosition ( 5 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinNumSizeUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinNumSizeUnits - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinNumSizeUnits , wxGBPosition ( 5 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinNameSizeLabel = new wxStaticText ( this , wxID_ANY , _ ( " Def&ault pin name size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinNameSizeLabel - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinNameSizeLabel , wxGBPosition ( 6 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-02-01 03:22:32 +00:00
m_pinNameSizeCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinNameSizeCtrl , wxGBPosition ( 6 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinNameSizeUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinNameSizeUnits - > Wrap ( - 1 ) ;
2021-12-24 22:29:14 +00:00
gbSizer1 - > Add ( m_pinNameSizeUnits , wxGBPosition ( 6 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
leftColumn - > Add ( gbSizer1 , 0 , wxEXPAND | wxTOP | wxBOTTOM | wxLEFT , 5 ) ;
m_cbShowPinElectricalType = new wxCheckBox ( this , wxID_ANY , _ ( " Show pin &electrical type " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
leftColumn - > Add ( m_cbShowPinElectricalType , 0 , wxBOTTOM | wxLEFT , 10 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
leftColumn - > Add ( 0 , 15 , 0 , wxEXPAND , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_repeatLabel = new wxStaticText ( this , wxID_ANY , _ ( " Repeated Items " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_repeatLabel - > Wrap ( - 1 ) ;
leftColumn - > Add ( m_repeatLabel , 0 , wxTOP | wxRIGHT | wxLEFT , 13 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
leftColumn - > Add ( 0 , 3 , 0 , wxEXPAND , 5 ) ;
m_staticline2 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
leftColumn - > Add ( m_staticline2 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
2020-04-04 20:32:14 +00:00
wxFlexGridSizer * fgSizer1 ;
fgSizer1 = new wxFlexGridSizer ( 0 , 3 , 3 , 0 ) ;
fgSizer1 - > AddGrowableCol ( 1 ) ;
fgSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2023-01-11 01:00:47 +00:00
m_pinPitchLabel = new wxStaticText ( this , wxID_ANY , _ ( " &Pitch of repeated pins: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_pinPitchLabel - > Wrap ( - 1 ) ;
2023-01-11 01:00:47 +00:00
fgSizer1 - > Add ( m_pinPitchLabel , 0 , wxALIGN_CENTER_VERTICAL | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2018-05-14 17:34:18 +00:00
wxString m_choicePinDisplacementChoices [ ] = { _ ( " 100 " ) , _ ( " 50 " ) } ;
int m_choicePinDisplacementNChoices = sizeof ( m_choicePinDisplacementChoices ) / sizeof ( wxString ) ;
2023-01-11 01:00:47 +00:00
m_choicePinDisplacement = new wxChoice ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choicePinDisplacementNChoices , m_choicePinDisplacementChoices , 0 ) ;
2018-05-14 17:34:18 +00:00
m_choicePinDisplacement - > SetSelection ( 0 ) ;
2023-01-11 01:00:47 +00:00
fgSizer1 - > Add ( m_choicePinDisplacement , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_pinPitchUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-04 20:32:14 +00:00
m_pinPitchUnits - > Wrap ( - 1 ) ;
2023-01-11 01:00:47 +00:00
fgSizer1 - > Add ( m_pinPitchUnits , 0 , wxALIGN_CENTER_VERTICAL | wxTOP | wxRIGHT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_labelIncrementLabel1 = new wxStaticText ( this , wxID_ANY , _ ( " Label increment: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-04 20:32:14 +00:00
m_labelIncrementLabel1 - > Wrap ( - 1 ) ;
2020-10-04 16:52:07 +00:00
fgSizer1 - > Add ( m_labelIncrementLabel1 , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-01-11 01:00:47 +00:00
m_spinRepeatLabel = new wxSpinCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , - 10 , 10 , 1 ) ;
2020-04-04 20:32:14 +00:00
fgSizer1 - > Add ( m_spinRepeatLabel , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
fgSizer1 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
2023-01-11 01:00:47 +00:00
leftColumn - > Add ( fgSizer1 , 1 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2020-04-04 20:32:14 +00:00
2023-02-04 13:36:14 +00:00
p1mainSizer - > Add ( leftColumn , 0 , wxEXPAND , 5 ) ;
2020-04-04 20:32:14 +00:00
2018-05-14 17:34:18 +00:00
this - > SetSizer ( p1mainSizer ) ;
this - > Layout ( ) ;
}
2020-10-25 19:24:00 +00:00
PANEL_SYM_EDITING_OPTIONS_BASE : : ~ PANEL_SYM_EDITING_OPTIONS_BASE ( )
2018-05-14 17:34:18 +00:00
{
}