2018-05-14 17:34:18 +00:00
///////////////////////////////////////////////////////////////////////////
2022-07-01 23:45:19 +00:00
// C++ code generated with wxFormBuilder (version 3.10.0)
2018-05-14 17:34:18 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
2022-01-07 00:47:23 +00:00
# include "widgets/font_choice.h"
2018-05-14 17:34:18 +00:00
# include "panel_eeschema_display_options_base.h"
///////////////////////////////////////////////////////////////////////////
2021-11-01 11:20:13 +00:00
PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE : : PANEL_EESCHEMA_DISPLAY_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 ;
2018-09-04 00:00:17 +00:00
bPanelSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-04 00:00:17 +00:00
m_galOptionsSizer = new wxBoxSizer ( wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
bPanelSizer - > Add ( m_galOptionsSizer , 1 , wxEXPAND | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-04 00:00:17 +00:00
wxBoxSizer * bRightColumn ;
bRightColumn = new wxBoxSizer ( wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
wxStaticBoxSizer * sbSizer1 ;
2019-11-21 15:48:44 +00:00
sbSizer1 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Appearance " ) ) , wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2022-01-07 00:47:23 +00:00
wxBoxSizer * bSizer4 ;
bSizer4 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_defaultFontLabel = new wxStaticText ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Default font: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_defaultFontLabel - > Wrap ( - 1 ) ;
bSizer4 - > Add ( m_defaultFontLabel , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
wxString m_defaultFontCtrlChoices [ ] = { _ ( " KiCad Font " ) } ;
int m_defaultFontCtrlNChoices = sizeof ( m_defaultFontCtrlChoices ) / sizeof ( wxString ) ;
m_defaultFontCtrl = new FONT_CHOICE ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_defaultFontCtrlNChoices , m_defaultFontCtrlChoices , 0 ) ;
m_defaultFontCtrl - > SetSelection ( 0 ) ;
bSizer4 - > Add ( m_defaultFontCtrl , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
sbSizer1 - > Add ( bSizer4 , 1 , wxEXPAND , 5 ) ;
2018-09-09 23:04:42 +00:00
m_checkShowHiddenPins = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " S&how hidden pins " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-01-07 00:47:23 +00:00
sbSizer1 - > Add ( m_checkShowHiddenPins , 0 , wxEXPAND | wxALL , 5 ) ;
2019-10-21 18:03:54 +00:00
2020-04-18 15:36:29 +00:00
m_checkShowHiddenFields = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show hidden fields " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizer1 - > Add ( m_checkShowHiddenFields , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND , 5 ) ;
2021-11-05 21:16:26 +00:00
m_checkShowERCErrors = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show ERC errors " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizer1 - > Add ( m_checkShowERCErrors , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_checkShowERCWarnings = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show ERC warnings " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizer1 - > Add ( m_checkShowERCWarnings , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_checkShowERCExclusions = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show ERC exclusions " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizer1 - > Add ( m_checkShowERCExclusions , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2018-09-09 23:04:42 +00:00
m_checkPageLimits = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show page limi&ts " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-10-21 18:03:54 +00:00
m_checkPageLimits - > SetValue ( true ) ;
2019-12-11 20:49:58 +00:00
sbSizer1 - > Add ( m_checkPageLimits , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-12-11 20:49:58 +00:00
bRightColumn - > Add ( sbSizer1 , 0 , wxEXPAND | wxTOP , 5 ) ;
2019-11-21 15:48:44 +00:00
wxStaticBoxSizer * sbSizer3 ;
2021-09-15 20:03:07 +00:00
sbSizer3 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Selection && Highlighting " ) ) , wxVERTICAL ) ;
2019-11-21 15:48:44 +00:00
m_checkSelDrawChildItems = new wxCheckBox ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Draw selected child items " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
sbSizer3 - > Add ( m_checkSelDrawChildItems , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-11-21 15:48:44 +00:00
m_checkSelFillShapes = new wxCheckBox ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Fill selected shapes " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
sbSizer3 - > Add ( m_checkSelFillShapes , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-11-21 15:48:44 +00:00
2021-09-15 20:03:07 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 0 , 0 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
gbSizer1 - > SetEmptyCellSize ( wxSize ( - 1 , 10 ) ) ;
2019-11-20 19:54:33 +00:00
2021-09-15 20:03:07 +00:00
m_selWidthLabel = new wxStaticText ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Selection thickness: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-11-20 19:54:33 +00:00
m_selWidthLabel - > Wrap ( - 1 ) ;
2021-09-15 20:03:07 +00:00
gbSizer1 - > Add ( m_selWidthLabel , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxTOP | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-11-20 19:54:33 +00:00
2020-02-13 14:19:40 +00:00
m_selWidthCtrl = new wxSpinCtrlDouble ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxALIGN_RIGHT | wxSP_ARROW_KEYS , 0 , 50 , 0 , 1 ) ;
2019-12-03 19:47:36 +00:00
m_selWidthCtrl - > SetDigits ( 0 ) ;
2021-09-15 20:03:07 +00:00
gbSizer1 - > Add ( m_selWidthCtrl , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 1 ) , wxTOP | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-11-20 19:54:33 +00:00
2021-09-15 20:03:07 +00:00
m_highlightColorNote = new wxStaticText ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " (selection color can be edited in the \" Colors \" page) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_highlightColorNote - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_highlightColorNote , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 2 ) , wxALL , 5 ) ;
2019-11-20 19:54:33 +00:00
2021-09-15 20:03:07 +00:00
m_highlightWidthLabel = new wxStaticText ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Highlight thickness: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_highlightWidthLabel - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_highlightWidthLabel , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-12-11 20:49:58 +00:00
2021-09-15 20:03:07 +00:00
m_highlightWidthCtrl = new wxSpinCtrlDouble ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxALIGN_RIGHT | wxSP_ARROW_KEYS , 0 , 50 , 0 , 1 ) ;
m_highlightWidthCtrl - > SetDigits ( 0 ) ;
gbSizer1 - > Add ( m_highlightWidthCtrl , wxGBPosition ( 3 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
sbSizer3 - > Add ( gbSizer1 , 1 , wxEXPAND , 5 ) ;
2019-11-20 19:54:33 +00:00
2019-11-21 15:48:44 +00:00
2021-03-10 15:21:34 +00:00
bRightColumn - > Add ( sbSizer3 , 0 , wxTOP | wxEXPAND , 5 ) ;
2019-10-21 18:03:54 +00:00
2020-06-28 02:48:48 +00:00
wxStaticBoxSizer * sbSizer31 ;
sbSizer31 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Cross-probing " ) ) , wxVERTICAL ) ;
2022-07-01 23:45:19 +00:00
m_checkCrossProbeOnSelection = new wxCheckBox ( sbSizer31 - > GetStaticBox ( ) , wxID_ANY , _ ( " Highlight symbols when footprints selected " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-01-16 20:29:03 +00:00
m_checkCrossProbeOnSelection - > SetValue ( true ) ;
2022-07-01 23:45:19 +00:00
m_checkCrossProbeOnSelection - > SetToolTip ( _ ( " Highlight symbols corresponding to selected footprints " ) ) ;
2022-01-16 20:29:03 +00:00
sbSizer31 - > Add ( m_checkCrossProbeOnSelection , 0 , wxALL , 5 ) ;
2020-06-28 02:48:48 +00:00
m_checkCrossProbeCenter = new wxCheckBox ( sbSizer31 - > GetStaticBox ( ) , wxID_ANY , _ ( " Center view on cross-probed items " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkCrossProbeCenter - > SetValue ( true ) ;
2022-07-01 23:45:19 +00:00
m_checkCrossProbeCenter - > SetToolTip ( _ ( " Ensures that cross-probed symbols are visible in the current view " ) ) ;
2020-10-25 11:53:04 +00:00
sbSizer31 - > Add ( m_checkCrossProbeCenter , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-06-28 02:48:48 +00:00
m_checkCrossProbeZoom = new wxCheckBox ( sbSizer31 - > GetStaticBox ( ) , wxID_ANY , _ ( " Zoom to fit cross-probed items " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkCrossProbeZoom - > SetValue ( true ) ;
2020-10-25 11:53:04 +00:00
sbSizer31 - > Add ( m_checkCrossProbeZoom , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-06-28 02:48:48 +00:00
m_checkCrossProbeAutoHighlight = new wxCheckBox ( sbSizer31 - > GetStaticBox ( ) , wxID_ANY , _ ( " Highlight cross-probed nets " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkCrossProbeAutoHighlight - > SetValue ( true ) ;
m_checkCrossProbeAutoHighlight - > SetToolTip ( _ ( " Highlight nets when they are highlighted in the PCB editor " ) ) ;
2020-10-25 11:53:04 +00:00
sbSizer31 - > Add ( m_checkCrossProbeAutoHighlight , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-06-28 02:48:48 +00:00
bRightColumn - > Add ( sbSizer31 , 1 , wxEXPAND | wxTOP , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
bPanelSizer - > Add ( bRightColumn , 1 , wxEXPAND | wxRIGHT | wxLEFT , 10 ) ;
2019-10-21 18:03:54 +00:00
2018-05-14 17:34:18 +00:00
this - > SetSizer ( bPanelSizer ) ;
this - > Layout ( ) ;
bPanelSizer - > Fit ( this ) ;
}
PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE : : ~ PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE ( )
{
}