2018-05-14 17:34:18 +00:00
///////////////////////////////////////////////////////////////////////////
2022-03-22 16:49:38 +00:00
// C++ code generated with wxFormBuilder (version 3.10.1-133-g388db8e4)
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_eeschema_editing_options_base.h"
2018-05-14 17:34:18 +00:00
2020-01-04 23:27:32 +00:00
///////////////////////////////////////////////////////////////////////////
2018-05-14 17:34:18 +00:00
2021-11-01 11:20:13 +00:00
PANEL_EESCHEMA_EDITING_OPTIONS_BASE : : PANEL_EESCHEMA_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 * bPanelSizer ;
2019-12-19 11:41:51 +00:00
bPanelSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2018-05-14 17:34:18 +00:00
wxBoxSizer * bLeftColumn ;
bLeftColumn = new wxBoxSizer ( wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
wxStaticBoxSizer * sbSizerEditOpt ;
sbSizerEditOpt = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Editing " ) ) , wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2022-03-22 16:49:38 +00:00
m_staticText24 = new wxStaticText ( sbSizerEditOpt - > GetStaticBox ( ) , wxID_ANY , _ ( " Line Drawing Mode: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText24 - > Wrap ( - 1 ) ;
sbSizerEditOpt - > Add ( m_staticText24 , 0 , wxALL , 5 ) ;
2022-06-06 13:21:26 +00:00
wxString m_choiceLineModeChoices [ ] = { _ ( " Free Angle " ) , _ ( " 90 deg Angle " ) , _ ( " 45 deg Angle " ) } ;
2022-03-22 16:49:38 +00:00
int m_choiceLineModeNChoices = sizeof ( m_choiceLineModeChoices ) / sizeof ( wxString ) ;
m_choiceLineMode = new wxChoice ( sbSizerEditOpt - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceLineModeNChoices , m_choiceLineModeChoices , 0 ) ;
m_choiceLineMode - > SetSelection ( 1 ) ;
sbSizerEditOpt - > Add ( m_choiceLineMode , 0 , wxALL , 5 ) ;
2019-12-19 11:41:51 +00:00
2021-10-23 11:18:08 +00:00
m_mouseDragIsDrag = new wxCheckBox ( sbSizerEditOpt - > GetStaticBox ( ) , wxID_ANY , _ ( " Mouse drag performs Drag (G) operation " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
m_mouseDragIsDrag - > SetToolTip ( _ ( " If unchecked, mouse drag will perform move (M) operation " ) ) ;
2019-12-19 11:41:51 +00:00
2020-10-01 23:53:47 +00:00
sbSizerEditOpt - > Add ( m_mouseDragIsDrag , 0 , wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2020-10-25 22:37:54 +00:00
m_cbAutoStartWires = new wxCheckBox ( sbSizerEditOpt - > GetStaticBox ( ) , wxID_ANY , _ ( " Automatically start wires on unconnected pins " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cbAutoStartWires - > SetToolTip ( _ ( " When enabled, you can start wiring by clicking on unconnected pins even when the wire tool is not active " ) ) ;
2020-10-01 23:53:47 +00:00
sbSizerEditOpt - > Add ( m_cbAutoStartWires , 0 , wxALL , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
bLeftColumn - > Add ( sbSizerEditOpt , 0 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
wxStaticBoxSizer * sbSizer5 ;
sbSizer5 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Defaults for New Objects " ) ) , wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
wxBoxSizer * bSizer6 ;
bSizer6 = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
m_borderColorLabel = new wxStaticText ( sbSizer5 - > GetStaticBox ( ) , wxID_ANY , _ ( " Sheet border: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_borderColorLabel - > Wrap ( - 1 ) ;
2021-08-17 12:19:23 +00:00
bSizer6 - > Add ( m_borderColorLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
m_borderColorSwatch = new COLOR_SWATCH ( sbSizer5 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_borderColorSwatch - > SetForegroundColour ( wxSystemSettings : : GetColour ( wxSYS_COLOUR_WINDOW ) ) ;
2019-12-19 11:41:51 +00:00
2021-08-17 12:19:23 +00:00
bSizer6 - > Add ( m_borderColorSwatch , 1 , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
m_backgroundColorLabel = new wxStaticText ( sbSizer5 - > GetStaticBox ( ) , wxID_ANY , _ ( " Sheet background: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_backgroundColorLabel - > Wrap ( - 1 ) ;
2021-03-12 23:59:17 +00:00
bSizer6 - > Add ( m_backgroundColorLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
m_backgroundColorSwatch = new COLOR_SWATCH ( sbSizer5 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_backgroundColorSwatch - > SetForegroundColour ( wxSystemSettings : : GetColour ( wxSYS_COLOUR_WINDOW ) ) ;
2019-12-19 11:41:51 +00:00
2021-08-17 12:19:23 +00:00
bSizer6 - > Add ( m_backgroundColorSwatch , 1 , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
2021-03-12 23:59:17 +00:00
sbSizer5 - > Add ( bSizer6 , 0 , wxEXPAND , 5 ) ;
2020-04-02 12:57:07 +00:00
bLeftColumn - > Add ( sbSizer5 , 0 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2019-12-19 11:41:51 +00:00
wxStaticBoxSizer * sbSizerPinSel ;
sbSizerPinSel = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Selection " ) ) , wxVERTICAL ) ;
2020-05-23 15:50:08 +00:00
m_cbPinSelectionOpt = new wxCheckBox ( sbSizerPinSel - > GetStaticBox ( ) , wxID_ANY , _ ( " Clicking on a pin selects the symbol " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-19 11:41:51 +00:00
m_cbPinSelectionOpt - > SetToolTip ( _ ( " In schematic editor: \n If enabled, clicking on a pin select the parent symbol. \n If disabled, clicking on a pin select only the pin. " ) ) ;
2020-10-25 11:53:04 +00:00
sbSizerPinSel - > Add ( m_cbPinSelectionOpt , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
bLeftColumn - > Add ( sbSizerPinSel , 0 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2019-12-19 11:41:51 +00:00
2021-03-12 23:59:17 +00:00
m_leftClickCmdsBook = new wxSimplebook ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pageWinLin = new wxPanel ( m_leftClickCmdsBook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
wxStaticBoxSizer * mouseCmdsWinLin ;
mouseCmdsWinLin = new wxStaticBoxSizer ( new wxStaticBox ( m_pageWinLin , wxID_ANY , _ ( " Left Click Mouse Commands " ) ) , wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2021-09-27 20:10:37 +00:00
m_staticText8 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Left click (and drag) actions depend on 2 modifier keys: \n Shift and Ctrl. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText8 - > Wrap ( - 1 ) ;
2021-03-12 23:59:17 +00:00
mouseCmdsWinLin - > Add ( m_staticText8 , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2021-02-23 19:40:22 +00:00
2021-03-12 23:59:17 +00:00
m_staticline1 = new wxStaticLine ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
mouseCmdsWinLin - > Add ( m_staticline1 , 0 , wxEXPAND | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2021-02-23 19:40:22 +00:00
wxFlexGridSizer * fgSizerCmdsWinLin ;
fgSizerCmdsWinLin = new wxFlexGridSizer ( 0 , 2 , 0 , 0 ) ;
fgSizerCmdsWinLin - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerCmdsWinLin - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2021-09-27 20:10:37 +00:00
m_staticText91 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Long Click " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText91 - > Wrap ( - 1 ) ;
fgSizerCmdsWinLin - > Add ( m_staticText91 , 0 , wxALL , 5 ) ;
2021-09-27 20:10:37 +00:00
m_staticText101 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Clarify selection from menu. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText101 - > Wrap ( - 1 ) ;
fgSizerCmdsWinLin - > Add ( m_staticText101 , 0 , wxALL , 5 ) ;
2021-09-27 20:10:37 +00:00
m_staticText131 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Shift " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText131 - > Wrap ( - 1 ) ;
fgSizerCmdsWinLin - > Add ( m_staticText131 , 0 , wxALL , 5 ) ;
2021-09-27 20:10:37 +00:00
m_staticText141 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Add item(s) to selection. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText141 - > Wrap ( - 1 ) ;
fgSizerCmdsWinLin - > Add ( m_staticText141 , 0 , wxALL , 5 ) ;
2021-09-27 20:10:37 +00:00
m_staticText151 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Ctrl+Shift " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText151 - > Wrap ( - 1 ) ;
fgSizerCmdsWinLin - > Add ( m_staticText151 , 0 , wxALL , 5 ) ;
2021-03-12 23:59:17 +00:00
m_staticText161 = new wxStaticText ( mouseCmdsWinLin - > GetStaticBox ( ) , wxID_ANY , _ ( " Remove item(s) from selection. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText161 - > Wrap ( - 1 ) ;
fgSizerCmdsWinLin - > Add ( m_staticText161 , 0 , wxALL , 5 ) ;
2021-03-12 23:59:17 +00:00
mouseCmdsWinLin - > Add ( fgSizerCmdsWinLin , 1 , wxEXPAND , 5 ) ;
2021-02-23 19:40:22 +00:00
2021-03-12 23:59:17 +00:00
m_pageWinLin - > SetSizer ( mouseCmdsWinLin ) ;
m_pageWinLin - > Layout ( ) ;
mouseCmdsWinLin - > Fit ( m_pageWinLin ) ;
m_leftClickCmdsBook - > AddPage ( m_pageWinLin , _ ( " a page " ) , false ) ;
m_pageMac = new wxPanel ( m_leftClickCmdsBook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
wxStaticBoxSizer * mouseCmdsMac ;
mouseCmdsMac = new wxStaticBoxSizer ( new wxStaticBox ( m_pageMac , wxID_ANY , _ ( " Left Click Mouse Commands " ) ) , wxVERTICAL ) ;
2021-02-23 19:40:22 +00:00
2021-09-27 20:10:37 +00:00
m_staticText81 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Left click (and drag) actions depend on 3 modifier keys: \n Option, Shift and Cmd. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText81 - > Wrap ( - 1 ) ;
2021-03-12 23:59:17 +00:00
mouseCmdsMac - > Add ( m_staticText81 , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_staticline2 = new wxStaticLine ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
mouseCmdsMac - > Add ( m_staticline2 , 0 , wxEXPAND | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2021-02-23 19:40:22 +00:00
wxFlexGridSizer * fgSizerCmdsWinMac ;
fgSizerCmdsWinMac = new wxFlexGridSizer ( 0 , 2 , 0 , 0 ) ;
fgSizerCmdsWinMac - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerCmdsWinMac - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2021-09-27 20:10:37 +00:00
m_staticText11 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Long Click " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText11 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText11 , 0 , wxALL , 5 ) ;
m_staticText12 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Clarify selection from menu. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText12 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText12 , 0 , wxALL , 5 ) ;
2021-03-12 23:59:17 +00:00
m_staticText9 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Shift " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText9 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText9 , 0 , wxALL , 5 ) ;
2021-03-12 23:59:17 +00:00
m_staticText10 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Add item(s) to selection. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText10 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText10 , 0 , wxALL , 5 ) ;
2021-09-27 20:10:37 +00:00
m_staticText15 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Shift+Cmd " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText15 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText15 , 0 , wxALL , 5 ) ;
2021-03-12 23:59:17 +00:00
m_staticText16 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Remove item(s) from selection. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-23 19:40:22 +00:00
m_staticText16 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText16 , 0 , wxALL , 5 ) ;
2021-09-27 20:10:37 +00:00
m_staticText13 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Option " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText13 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText13 , 0 , wxALL , 5 ) ;
2021-02-23 19:40:22 +00:00
2021-09-27 20:10:37 +00:00
m_staticText14 = new wxStaticText ( mouseCmdsMac - > GetStaticBox ( ) , wxID_ANY , _ ( " Clarify selection from menu. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText14 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText14 , 0 , wxALL , 5 ) ;
2021-02-23 19:40:22 +00:00
2021-03-12 23:59:17 +00:00
mouseCmdsMac - > Add ( fgSizerCmdsWinMac , 1 , wxEXPAND , 5 ) ;
2021-02-23 19:40:22 +00:00
2021-03-12 23:59:17 +00:00
m_pageMac - > SetSizer ( mouseCmdsMac ) ;
m_pageMac - > Layout ( ) ;
mouseCmdsMac - > Fit ( m_pageMac ) ;
m_leftClickCmdsBook - > AddPage ( m_pageMac , _ ( " a page " ) , false ) ;
2021-02-23 19:40:22 +00:00
2021-03-12 23:59:17 +00:00
bLeftColumn - > Add ( m_leftClickCmdsBook , 1 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2021-02-23 19:40:22 +00:00
2021-03-12 23:59:17 +00:00
bPanelSizer - > Add ( bLeftColumn , 1 , wxRIGHT | wxLEFT | wxEXPAND , 5 ) ;
2019-12-19 11:41:51 +00:00
wxBoxSizer * bRightColumn ;
bRightColumn = new wxBoxSizer ( wxVERTICAL ) ;
wxStaticBoxSizer * sbSizerFieldAutoPlace ;
sbSizerFieldAutoPlace = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Symbol Field Automatic Placement " ) ) , wxVERTICAL ) ;
m_checkAutoplaceFields = new wxCheckBox ( sbSizerFieldAutoPlace - > GetStaticBox ( ) , wxID_ANY , _ ( " A&utomatically place symbol fields " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-10-25 11:53:04 +00:00
sbSizerFieldAutoPlace - > Add ( m_checkAutoplaceFields , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
m_checkAutoplaceJustify = new wxCheckBox ( sbSizerFieldAutoPlace - > GetStaticBox ( ) , wxID_ANY , _ ( " A&llow field autoplace to change justification " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizerFieldAutoPlace - > Add ( m_checkAutoplaceJustify , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
m_checkAutoplaceAlign = new wxCheckBox ( sbSizerFieldAutoPlace - > GetStaticBox ( ) , wxID_ANY , _ ( " Al&ways align autoplaced fields to the 50 mil grid " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizerFieldAutoPlace - > Add ( m_checkAutoplaceAlign , 0 , wxEXPAND | wxALL , 5 ) ;
2020-04-02 12:57:07 +00:00
bRightColumn - > Add ( sbSizerFieldAutoPlace , 0 , wxEXPAND | wxALL , 5 ) ;
wxStaticBoxSizer * repeatSizer ;
repeatSizer = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Repeated Items " ) ) , wxVERTICAL ) ;
wxFlexGridSizer * fgSizerRepeatOpt1 ;
fgSizerRepeatOpt1 = new wxFlexGridSizer ( 0 , 3 , 5 , 5 ) ;
fgSizerRepeatOpt1 - > AddGrowableCol ( 0 ) ;
fgSizerRepeatOpt1 - > AddGrowableCol ( 1 ) ;
fgSizerRepeatOpt1 - > AddGrowableCol ( 2 ) ;
fgSizerRepeatOpt1 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerRepeatOpt1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
m_hPitchLabel = new wxStaticText ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " &Horizontal pitch: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hPitchLabel - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_hPitchLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_hPitchCtrl = new wxTextCtrl ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS | wxSP_WRAP ) ;
fgSizerRepeatOpt1 - > Add ( m_hPitchCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
m_hPitchUnits = new wxStaticText ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hPitchUnits - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_hPitchUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_vPitchLabel = new wxStaticText ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " &Vertical pitch: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_vPitchLabel - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_vPitchLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_vPitchCtrl = new wxTextCtrl ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS | wxSP_WRAP ) ;
fgSizerRepeatOpt1 - > Add ( m_vPitchCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
m_vPitchUnits = new wxStaticText ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_vPitchUnits - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_vPitchUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_labelIncrementLabel = new wxStaticText ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Label increment: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelIncrementLabel - > Wrap ( - 1 ) ;
2020-04-05 08:36:55 +00:00
fgSizerRepeatOpt1 - > Add ( m_labelIncrementLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxLEFT , 5 ) ;
2020-04-02 12:57:07 +00:00
2021-10-22 21:19:53 +00:00
m_spinLabelRepeatStep = new wxSpinCtrl ( repeatSizer - > GetStaticBox ( ) , wxID_ANY , wxT ( " 1 " ) , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , - 1000000 , 1000000 , 1 ) ;
2020-04-05 08:36:55 +00:00
fgSizerRepeatOpt1 - > Add ( m_spinLabelRepeatStep , 1 , wxALIGN_CENTER_VERTICAL | wxBOTTOM , 5 ) ;
2020-04-02 12:57:07 +00:00
fgSizerRepeatOpt1 - > Add ( 0 , 0 , 1 , wxEXPAND , 3 ) ;
repeatSizer - > Add ( fgSizerRepeatOpt1 , 1 , wxEXPAND , 5 ) ;
bRightColumn - > Add ( repeatSizer , 0 , wxEXPAND | wxALL , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
wxStaticBoxSizer * sbSizer6 ;
sbSizer6 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Dialog Preferences " ) ) , wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
m_footprintPreview = new wxCheckBox ( sbSizer6 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show footprint previews in Symbol Chooser " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-10-25 11:53:04 +00:00
sbSizer6 - > Add ( m_footprintPreview , 0 , wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2021-03-12 23:59:17 +00:00
bRightColumn - > Add ( sbSizer6 , 1 , wxEXPAND | wxALL , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
bPanelSizer - > Add ( bRightColumn , 1 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2018-05-14 17:34:18 +00:00
this - > SetSizer ( bPanelSizer ) ;
this - > Layout ( ) ;
2021-03-12 23:59:17 +00:00
bPanelSizer - > Fit ( this ) ;
2018-05-14 17:34:18 +00:00
}
2020-10-25 19:24:00 +00:00
PANEL_EESCHEMA_EDITING_OPTIONS_BASE : : ~ PANEL_EESCHEMA_EDITING_OPTIONS_BASE ( )
2018-05-14 17:34:18 +00:00
{
}