2018-05-14 17:34:18 +00:00
///////////////////////////////////////////////////////////////////////////
2023-12-08 18:08:52 +00:00
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
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
2023-01-11 01:00:47 +00:00
m_editingLabel = new wxStaticText ( this , wxID_ANY , _ ( " Editing " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_editingLabel - > Wrap ( - 1 ) ;
bLeftColumn - > Add ( m_editingLabel , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_staticline3 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bLeftColumn - > Add ( m_staticline3 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
wxBoxSizer * bSizer5 ;
bSizer5 = new wxBoxSizer ( wxVERTICAL ) ;
wxBoxSizer * bSizer61 ;
bSizer61 = new wxBoxSizer ( wxHORIZONTAL ) ;
2023-12-08 18:08:52 +00:00
m_staticText24 = new wxStaticText ( this , wxID_ANY , _ ( " Line drawing mode: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-03-22 16:49:38 +00:00
m_staticText24 - > Wrap ( - 1 ) ;
2023-01-11 01:00:47 +00:00
bSizer61 - > Add ( m_staticText24 , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2022-03-22 16:49:38 +00:00
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 ) ;
2023-01-11 01:00:47 +00:00
m_choiceLineMode = new wxChoice ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceLineModeNChoices , m_choiceLineModeChoices , 0 ) ;
2022-03-22 16:49:38 +00:00
m_choiceLineMode - > SetSelection ( 1 ) ;
2023-01-11 01:00:47 +00:00
bSizer61 - > Add ( m_choiceLineMode , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
bSizer5 - > Add ( bSizer61 , 1 , wxEXPAND , 5 ) ;
m_mouseDragIsDrag = new wxCheckBox ( this , 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
2023-01-11 01:00:47 +00:00
bSizer5 - > Add ( m_mouseDragIsDrag , 0 , wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2020-10-01 23:53:47 +00:00
2023-01-11 01:00:47 +00:00
m_cbAutoStartWires = new wxCheckBox ( this , wxID_ANY , _ ( " Automatically start wires on unconnected pins " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-10-25 22:37:54 +00:00
m_cbAutoStartWires - > SetToolTip ( _ ( " When enabled, you can start wiring by clicking on unconnected pins even when the wire tool is not active " ) ) ;
2023-01-11 01:00:47 +00:00
bSizer5 - > Add ( m_cbAutoStartWires , 0 , wxLEFT | wxTOP , 5 ) ;
2022-07-23 09:32:21 +00:00
2023-01-11 01:00:47 +00:00
m_escClearsNetHighlight = new wxCheckBox ( this , wxID_ANY , _ ( " <ESC> clears net highlighting " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-09-15 14:05:44 +00:00
m_escClearsNetHighlight - > SetToolTip ( _ ( " First <ESC> in selection tool clears selection, next clears net highlighting " ) ) ;
2022-07-23 09:32:21 +00:00
2023-01-11 01:00:47 +00:00
bSizer5 - > Add ( m_escClearsNetHighlight , 0 , wxBOTTOM | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
bLeftColumn - > Add ( bSizer5 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( 0 , 15 , 0 , wxEXPAND , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_staticText26 = new wxStaticText ( this , wxID_ANY , _ ( " Defaults for New Objects " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText26 - > Wrap ( - 1 ) ;
bLeftColumn - > Add ( m_staticText26 , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_staticline4 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bLeftColumn - > Add ( m_staticline4 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
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
2023-01-11 01:00:47 +00:00
m_borderColorLabel = new wxStaticText ( this , wxID_ANY , _ ( " Sheet border: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
m_borderColorLabel - > Wrap ( - 1 ) ;
2023-01-11 01:00:47 +00:00
bSizer6 - > Add ( m_borderColorLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_borderColorSwatch = new COLOR_SWATCH ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
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
2023-01-11 01:00:47 +00:00
m_backgroundColorLabel = new wxStaticText ( this , wxID_ANY , _ ( " Sheet background: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
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
2023-01-11 01:00:47 +00:00
m_backgroundColorSwatch = new COLOR_SWATCH ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
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
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( bSizer6 , 0 , wxEXPAND | wxTOP | wxLEFT , 10 ) ;
2020-04-02 12:57:07 +00:00
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( 0 , 15 , 0 , wxEXPAND , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_selectionLabel = new wxStaticText ( this , wxID_ANY , _ ( " Selection " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_selectionLabel - > Wrap ( - 1 ) ;
bLeftColumn - > Add ( m_selectionLabel , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_staticline5 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bLeftColumn - > Add ( m_staticline5 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
wxBoxSizer * bSizer7 ;
bSizer7 = new wxBoxSizer ( wxVERTICAL ) ;
m_cbPinSelectionOpt = new wxCheckBox ( this , 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. " ) ) ;
2023-01-11 01:00:47 +00:00
bSizer7 - > Add ( m_cbPinSelectionOpt , 0 , wxALL , 5 ) ;
bLeftColumn - > Add ( bSizer7 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( 0 , 15 , 0 , wxEXPAND , 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 ) ;
2023-01-11 01:00:47 +00:00
wxBoxSizer * bSizer8 ;
bSizer8 = new wxBoxSizer ( wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_leftClickLabel = new wxStaticText ( m_pageWinLin , wxID_ANY , _ ( " Left Click Mouse Commands " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_leftClickLabel - > Wrap ( - 1 ) ;
bSizer8 - > Add ( m_leftClickLabel , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
2021-02-23 19:40:22 +00:00
2023-01-11 01:00:47 +00:00
m_staticline6 = new wxStaticLine ( m_pageWinLin , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bSizer8 - > Add ( m_staticline6 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
wxBoxSizer * bSizer9 ;
bSizer9 = new wxBoxSizer ( wxVERTICAL ) ;
2024-02-01 08:52:57 +00:00
m_hint1 = new wxStaticText ( m_pageWinLin , wxID_ANY , _ ( " Left click (and drag) actions depend on 2 modifier keys: \n Shift and Ctrl " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-01-11 01:00:47 +00:00
m_hint1 - > Wrap ( - 1 ) ;
bSizer9 - > Add ( m_hint1 , 0 , wxALL , 5 ) ;
2021-02-23 19:40:22 +00:00
wxFlexGridSizer * fgSizerCmdsWinLin ;
2023-01-11 01:00:47 +00:00
fgSizerCmdsWinLin = new wxFlexGridSizer ( 0 , 2 , 0 , 5 ) ;
2021-02-23 19:40:22 +00:00
fgSizerCmdsWinLin - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerCmdsWinLin - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2023-01-11 01:00:47 +00:00
m_staticText91 = new wxStaticText ( m_pageWinLin , 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 ) ;
2024-02-01 08:52:57 +00:00
m_staticText101 = new wxStaticText ( m_pageWinLin , 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 ) ;
2023-01-11 01:00:47 +00:00
m_staticText131 = new wxStaticText ( m_pageWinLin , 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 ) ;
2024-02-01 08:52:57 +00:00
m_staticText141 = new wxStaticText ( m_pageWinLin , 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 ) ;
2023-01-11 01:00:47 +00:00
m_staticText151 = new wxStaticText ( m_pageWinLin , 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 ) ;
2024-02-01 08:52:57 +00:00
m_staticText161 = new wxStaticText ( m_pageWinLin , 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 ) ;
2023-01-11 01:00:47 +00:00
bSizer9 - > Add ( fgSizerCmdsWinLin , 0 , wxEXPAND | wxTOP , 5 ) ;
2021-02-23 19:40:22 +00:00
2023-01-11 01:00:47 +00:00
bSizer8 - > Add ( bSizer9 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2021-02-23 19:40:22 +00:00
2023-01-11 01:00:47 +00:00
m_pageWinLin - > SetSizer ( bSizer8 ) ;
2021-03-12 23:59:17 +00:00
m_pageWinLin - > Layout ( ) ;
2023-01-11 01:00:47 +00:00
bSizer8 - > Fit ( m_pageWinLin ) ;
2021-03-12 23:59:17 +00:00
m_leftClickCmdsBook - > AddPage ( m_pageWinLin , _ ( " a page " ) , false ) ;
m_pageMac = new wxPanel ( m_leftClickCmdsBook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
2023-01-11 01:00:47 +00:00
wxBoxSizer * bSizer10 ;
bSizer10 = new wxBoxSizer ( wxVERTICAL ) ;
m_leftClickLabel1 = new wxStaticText ( m_pageMac , wxID_ANY , _ ( " Left Click Mouse Commands " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_leftClickLabel1 - > Wrap ( - 1 ) ;
bSizer10 - > Add ( m_leftClickLabel1 , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 5 ) ;
2021-02-23 19:40:22 +00:00
2023-01-11 01:00:47 +00:00
m_staticline7 = new wxStaticLine ( m_pageMac , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bSizer10 - > Add ( m_staticline7 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
2021-03-12 23:59:17 +00:00
2023-01-11 01:00:47 +00:00
wxBoxSizer * bSizer11 ;
bSizer11 = new wxBoxSizer ( wxVERTICAL ) ;
2024-02-01 08:52:57 +00:00
m_hint2 = new wxStaticText ( m_pageMac , wxID_ANY , _ ( " Left click (and drag) actions depend on 3 modifier keys: \n Option, Shift and Cmd " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-01-11 01:00:47 +00:00
m_hint2 - > Wrap ( - 1 ) ;
bSizer11 - > Add ( m_hint2 , 0 , wxALL , 5 ) ;
2021-02-23 19:40:22 +00:00
wxFlexGridSizer * fgSizerCmdsWinMac ;
2023-01-11 01:00:47 +00:00
fgSizerCmdsWinMac = new wxFlexGridSizer ( 0 , 2 , 0 , 5 ) ;
2021-02-23 19:40:22 +00:00
fgSizerCmdsWinMac - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerCmdsWinMac - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2023-01-11 01:00:47 +00:00
m_staticText11 = new wxStaticText ( m_pageMac , wxID_ANY , _ ( " Long Click " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-09-27 20:10:37 +00:00
m_staticText11 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText11 , 0 , wxALL , 5 ) ;
2024-02-01 08:52:57 +00:00
m_staticText12 = new wxStaticText ( m_pageMac , wxID_ANY , _ ( " Clarify selection from menu " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-09-27 20:10:37 +00:00
m_staticText12 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText12 , 0 , wxALL , 5 ) ;
2023-01-11 01:00:47 +00:00
m_staticText9 = new wxStaticText ( m_pageMac , 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 ) ;
2024-02-01 08:52:57 +00:00
m_staticText10 = new wxStaticText ( m_pageMac , 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 ) ;
2023-01-11 01:00:47 +00:00
m_staticText15 = new wxStaticText ( m_pageMac , 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 ) ;
2024-02-01 08:52:57 +00:00
m_staticText16 = new wxStaticText ( m_pageMac , 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 ) ;
2023-01-11 01:00:47 +00:00
m_staticText13 = new wxStaticText ( m_pageMac , wxID_ANY , _ ( " Option " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-09-27 20:10:37 +00:00
m_staticText13 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText13 , 0 , wxALL , 5 ) ;
2021-02-23 19:40:22 +00:00
2024-02-01 08:52:57 +00:00
m_staticText14 = new wxStaticText ( m_pageMac , wxID_ANY , _ ( " Clarify selection from menu " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-09-27 20:10:37 +00:00
m_staticText14 - > Wrap ( - 1 ) ;
fgSizerCmdsWinMac - > Add ( m_staticText14 , 0 , wxALL , 5 ) ;
2021-02-23 19:40:22 +00:00
2023-01-11 01:00:47 +00:00
bSizer11 - > Add ( fgSizerCmdsWinMac , 1 , wxEXPAND | wxTOP , 5 ) ;
2021-03-12 23:59:17 +00:00
2023-01-11 01:00:47 +00:00
bSizer10 - > Add ( bSizer11 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2021-02-23 19:40:22 +00:00
2023-01-11 01:00:47 +00:00
m_pageMac - > SetSizer ( bSizer10 ) ;
2021-03-12 23:59:17 +00:00
m_pageMac - > Layout ( ) ;
2023-01-11 01:00:47 +00:00
bSizer10 - > Fit ( m_pageMac ) ;
2021-03-12 23:59:17 +00:00
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
2023-02-04 13:36:14 +00:00
bPanelSizer - > Add ( bLeftColumn , 0 , wxEXPAND | wxRIGHT , 20 ) ;
2019-12-19 11:41:51 +00:00
wxBoxSizer * bRightColumn ;
bRightColumn = new wxBoxSizer ( wxVERTICAL ) ;
2023-01-11 01:00:47 +00:00
m_staticText32 = new wxStaticText ( this , wxID_ANY , _ ( " Symbol Field Automatic Placement " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText32 - > Wrap ( - 1 ) ;
bRightColumn - > Add ( m_staticText32 , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
m_staticline10 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bRightColumn - > Add ( m_staticline10 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
wxBoxSizer * bSizer12 ;
bSizer12 = new wxBoxSizer ( wxVERTICAL ) ;
m_checkAutoplaceFields = new wxCheckBox ( this , wxID_ANY , _ ( " A&utomatically place symbol fields " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer12 - > Add ( m_checkAutoplaceFields , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_checkAutoplaceJustify = new wxCheckBox ( this , wxID_ANY , _ ( " A&llow field autoplace to change justification " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer12 - > Add ( m_checkAutoplaceJustify , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_checkAutoplaceAlign = new wxCheckBox ( this , wxID_ANY , _ ( " Al&ways align autoplaced fields to the 50 mil grid " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer12 - > Add ( m_checkAutoplaceAlign , 0 , wxEXPAND | wxALL , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
bRightColumn - > Add ( bSizer12 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2020-04-02 12:57:07 +00:00
2023-01-11 01:00:47 +00:00
bRightColumn - > Add ( 0 , 15 , 0 , wxEXPAND , 5 ) ;
m_staticText321 = new wxStaticText ( this , wxID_ANY , _ ( " Repeated Items " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText321 - > Wrap ( - 1 ) ;
bRightColumn - > Add ( m_staticText321 , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
m_staticline9 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bRightColumn - > Add ( m_staticline9 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
wxBoxSizer * bSizer13 ;
bSizer13 = new wxBoxSizer ( wxVERTICAL ) ;
2020-04-02 12:57:07 +00:00
wxFlexGridSizer * fgSizerRepeatOpt1 ;
fgSizerRepeatOpt1 = new wxFlexGridSizer ( 0 , 3 , 5 , 5 ) ;
fgSizerRepeatOpt1 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerRepeatOpt1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2023-01-11 01:00:47 +00:00
m_hPitchLabel = new wxStaticText ( this , wxID_ANY , _ ( " &Horizontal pitch: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
m_hPitchLabel - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_hPitchLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
2023-02-01 03:22:32 +00:00
m_hPitchCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
fgSizerRepeatOpt1 - > Add ( m_hPitchCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2023-01-11 01:00:47 +00:00
m_hPitchUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
m_hPitchUnits - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_hPitchUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2023-01-11 01:00:47 +00:00
m_vPitchLabel = new wxStaticText ( this , wxID_ANY , _ ( " &Vertical pitch: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
m_vPitchLabel - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_vPitchLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
2023-02-01 03:22:32 +00:00
m_vPitchCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
fgSizerRepeatOpt1 - > Add ( m_vPitchCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2023-01-11 01:00:47 +00:00
m_vPitchUnits = new wxStaticText ( this , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
m_vPitchUnits - > Wrap ( - 1 ) ;
fgSizerRepeatOpt1 - > Add ( m_vPitchUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2023-01-11 01:00:47 +00:00
m_labelIncrementLabel = new wxStaticText ( this , wxID_ANY , _ ( " Label increment: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-02 12:57:07 +00:00
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
2023-01-11 01:00:47 +00:00
m_spinLabelRepeatStep = new wxSpinCtrl ( this , 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 ) ;
2023-01-11 01:00:47 +00:00
bSizer13 - > Add ( fgSizerRepeatOpt1 , 0 , wxEXPAND | wxTOP , 5 ) ;
bRightColumn - > Add ( bSizer13 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
bRightColumn - > Add ( 0 , 15 , 0 , wxEXPAND , 5 ) ;
2020-04-02 12:57:07 +00:00
2023-01-11 01:00:47 +00:00
m_staticText322 = new wxStaticText ( this , wxID_ANY , _ ( " Dialog Preferences " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText322 - > Wrap ( - 1 ) ;
bRightColumn - > Add ( m_staticText322 , 0 , wxTOP | wxRIGHT | wxLEFT | wxEXPAND , 13 ) ;
2020-04-02 12:57:07 +00:00
2023-01-11 01:00:47 +00:00
m_staticline8 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bRightColumn - > Add ( m_staticline8 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
wxBoxSizer * bSizer14 ;
bSizer14 = new wxBoxSizer ( wxVERTICAL ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
m_footprintPreview = new wxCheckBox ( this , wxID_ANY , _ ( " Show footprint previews in Symbol Chooser " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer14 - > Add ( m_footprintPreview , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-09-25 22:57:30 +00:00
m_neverShowRescue = new wxCheckBox ( this , wxID_ANY , _ ( " Never show Rescue Symbols tool " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer14 - > Add ( m_neverShowRescue , 0 , wxALL , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-01-11 01:00:47 +00:00
bRightColumn - > Add ( bSizer14 , 0 , wxEXPAND | wxTOP | wxLEFT , 5 ) ;
2019-12-19 11:41:51 +00:00
2023-02-04 13:36:14 +00:00
bPanelSizer - > Add ( bRightColumn , 0 , 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 ( ) ;
2023-01-08 19:26:10 +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
{
}