2020-03-10 18:46:57 +00:00
///////////////////////////////////////////////////////////////////////////
2023-02-09 17:18:56 +00:00
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
2020-03-10 18:46:57 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "panel_setup_formatting_base.h"
///////////////////////////////////////////////////////////////////////////
2021-03-04 21:29:41 +00:00
BEGIN_EVENT_TABLE ( PANEL_SETUP_FORMATTING_BASE , wxPanel )
EVT_CHECKBOX ( wxID_ANY , PANEL_SETUP_FORMATTING_BASE : : _wxFB_onCheckBoxIref )
END_EVENT_TABLE ( )
2020-03-10 18:46:57 +00:00
PANEL_SETUP_FORMATTING_BASE : : PANEL_SETUP_FORMATTING_BASE ( wxWindow * parent , wxWindowID id , const wxPoint & pos , const wxSize & size , long style , const wxString & name ) : wxPanel ( parent , id , pos , size , style , name )
{
wxBoxSizer * bPanelSizer ;
bPanelSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
wxBoxSizer * bLeftColumn ;
bLeftColumn = new wxBoxSizer ( wxVERTICAL ) ;
wxStaticBoxSizer * sbSizer1 ;
sbSizer1 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Annotations " ) ) , wxVERTICAL ) ;
wxBoxSizer * bSizer6 ;
bSizer6 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_staticText26 = new wxStaticText ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Symbol unit notation: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText26 - > Wrap ( - 1 ) ;
bSizer6 - > 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 ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceSeparatorRefIdNChoices , m_choiceSeparatorRefIdChoices , 0 ) ;
m_choiceSeparatorRefId - > SetSelection ( 0 ) ;
bSizer6 - > Add ( m_choiceSeparatorRefId , 1 , wxEXPAND | wxRIGHT , 5 ) ;
sbSizer1 - > Add ( bSizer6 , 0 , wxEXPAND | wxBOTTOM | wxRIGHT , 5 ) ;
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( sbSizer1 , 0 , wxEXPAND | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2020-03-10 18:46:57 +00:00
wxStaticBoxSizer * sbSizer4 ;
sbSizer4 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Text " ) ) , wxVERTICAL ) ;
2020-03-13 09:53:44 +00:00
wxFlexGridSizer * fgSizer2 ;
2021-07-02 15:32:11 +00:00
fgSizer2 = new wxFlexGridSizer ( 0 , 3 , 5 , 5 ) ;
2020-03-13 09:53:44 +00:00
fgSizer2 - > AddGrowableCol ( 1 ) ;
2022-09-24 22:22:05 +00:00
fgSizer2 - > SetFlexibleDirection ( wxHORIZONTAL ) ;
fgSizer2 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_NONE ) ;
2020-03-13 09:53:44 +00:00
m_textSizeLabel = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " Default text size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_textSizeLabel - > Wrap ( - 1 ) ;
2021-07-02 15:32:11 +00:00
fgSizer2 - > Add ( m_textSizeLabel , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-03-13 09:53:44 +00:00
m_textSizeCtrl = new wxTextCtrl ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-07-02 15:32:11 +00:00
fgSizer2 - > Add ( m_textSizeCtrl , 0 , wxEXPAND , 5 ) ;
2020-03-13 09:53:44 +00:00
m_textSizeUnits = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_textSizeUnits - > Wrap ( - 1 ) ;
2021-07-02 15:32:11 +00:00
fgSizer2 - > Add ( m_textSizeUnits , 0 , wxALIGN_CENTER_VERTICAL | wxFIXED_MINSIZE , 5 ) ;
2020-03-13 09:53:44 +00:00
2023-08-06 19:20:53 +00:00
m_overbarHieghtLabel = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " Overbar offset ratio: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_overbarHieghtLabel - > Wrap ( - 1 ) ;
fgSizer2 - > Add ( m_overbarHieghtLabel , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_overbarHeightCtrl = new wxTextCtrl ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer2 - > Add ( m_overbarHeightCtrl , 0 , wxEXPAND , 5 ) ;
m_overbarHeightUnits = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_overbarHeightUnits - > Wrap ( - 1 ) ;
fgSizer2 - > Add ( m_overbarHeightUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2022-09-26 16:05:35 +00:00
m_textOffsetRatioLabel = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " Label offset ratio: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-03-17 12:49:49 +00:00
m_textOffsetRatioLabel - > Wrap ( - 1 ) ;
2022-09-26 16:05:35 +00:00
m_textOffsetRatioLabel - > SetToolTip ( _ ( " Percentage of the text size to offset labels above (or below) a wire, bus, or pin " ) ) ;
2020-03-17 12:49:49 +00:00
2021-07-02 15:32:11 +00:00
fgSizer2 - > Add ( m_textOffsetRatioLabel , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-03-17 12:49:49 +00:00
m_textOffsetRatioCtrl = new wxTextCtrl ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-09-26 16:05:35 +00:00
m_textOffsetRatioCtrl - > SetToolTip ( _ ( " Percentage of the text size to offset labels above (or below) a wire, bus, or pin " ) ) ;
2021-07-02 15:32:11 +00:00
fgSizer2 - > Add ( m_textOffsetRatioCtrl , 0 , wxEXPAND , 5 ) ;
2020-03-17 12:49:49 +00:00
m_offsetRatioUnits = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_offsetRatioUnits - > Wrap ( - 1 ) ;
2021-07-02 15:32:11 +00:00
fgSizer2 - > Add ( m_offsetRatioUnits , 0 , wxALIGN_CENTER_VERTICAL | wxFIXED_MINSIZE , 5 ) ;
2020-03-17 12:49:49 +00:00
2023-08-06 19:20:53 +00:00
m_labelSizeRatioLabel = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " Global label margin ratio: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-07-25 11:42:19 +00:00
m_labelSizeRatioLabel - > Wrap ( - 1 ) ;
m_labelSizeRatioLabel - > SetToolTip ( _ ( " Percentage of the text size to use as space around a global label " ) ) ;
fgSizer2 - > Add ( m_labelSizeRatioLabel , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_labelSizeRatioCtrl = new wxTextCtrl ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-09-26 16:05:35 +00:00
m_labelSizeRatioCtrl - > SetToolTip ( _ ( " Percentage of the text size to use as space around a global label " ) ) ;
2021-07-25 11:42:19 +00:00
fgSizer2 - > Add ( m_labelSizeRatioCtrl , 0 , wxEXPAND , 5 ) ;
m_labelSizeRatioUnits = new wxStaticText ( sbSizer4 - > GetStaticBox ( ) , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelSizeRatioUnits - > Wrap ( - 1 ) ;
fgSizer2 - > Add ( m_labelSizeRatioUnits , 0 , wxALIGN_CENTER_VERTICAL | wxFIXED_MINSIZE , 5 ) ;
2020-03-13 09:53:44 +00:00
2022-08-21 11:26:47 +00:00
sbSizer4 - > Add ( fgSizer2 , 1 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-03-13 09:53:44 +00:00
2020-03-10 18:46:57 +00:00
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( sbSizer4 , 0 , wxEXPAND | wxBOTTOM | wxRIGHT , 5 ) ;
2020-03-10 18:46:57 +00:00
2020-04-04 20:32:14 +00:00
wxStaticBoxSizer * sbSizer41 ;
sbSizer41 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Symbols " ) ) , wxVERTICAL ) ;
wxFlexGridSizer * fgSizer321 ;
fgSizer321 = new wxFlexGridSizer ( 0 , 3 , 5 , 0 ) ;
fgSizer321 - > AddGrowableCol ( 1 ) ;
fgSizer321 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer321 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2021-11-29 20:01:41 +00:00
m_lineWidthLabel = new wxStaticText ( sbSizer41 - > GetStaticBox ( ) , wxID_ANY , _ ( " Default line width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-04 20:32:14 +00:00
m_lineWidthLabel - > Wrap ( - 1 ) ;
fgSizer321 - > Add ( m_lineWidthLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2023-02-01 03:22:32 +00:00
m_lineWidthCtrl = new wxTextCtrl ( sbSizer41 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-04 20:32:14 +00:00
fgSizer321 - > Add ( m_lineWidthCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_lineWidthUnits = new wxStaticText ( sbSizer41 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_lineWidthUnits - > Wrap ( - 1 ) ;
2021-07-02 15:32:11 +00:00
fgSizer321 - > Add ( m_lineWidthUnits , 0 , wxALIGN_CENTER_VERTICAL | wxFIXED_MINSIZE | wxLEFT | wxRIGHT , 5 ) ;
2020-04-04 20:32:14 +00:00
2020-05-03 23:55:31 +00:00
m_pinSymbolSizeLabel = new wxStaticText ( sbSizer41 - > GetStaticBox ( ) , wxID_ANY , _ ( " Pin symbol size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pinSymbolSizeLabel - > Wrap ( - 1 ) ;
fgSizer321 - > Add ( m_pinSymbolSizeLabel , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_pinSymbolSizeCtrl = new wxTextCtrl ( sbSizer41 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer321 - > Add ( m_pinSymbolSizeCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_pinSymbolSizeUnits = new wxStaticText ( sbSizer41 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pinSymbolSizeUnits - > Wrap ( - 1 ) ;
2021-07-02 15:32:11 +00:00
fgSizer321 - > Add ( m_pinSymbolSizeUnits , 0 , wxALIGN_CENTER_VERTICAL | wxFIXED_MINSIZE | wxLEFT | wxRIGHT , 5 ) ;
2020-05-03 23:55:31 +00:00
2020-04-04 20:32:14 +00:00
sbSizer41 - > Add ( fgSizer321 , 1 , wxEXPAND | wxBOTTOM , 5 ) ;
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( sbSizer41 , 0 , wxEXPAND | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2020-04-04 20:32:14 +00:00
2020-03-10 18:46:57 +00:00
wxStaticBoxSizer * sbSizer2 ;
sbSizer2 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Connections " ) ) , wxVERTICAL ) ;
2023-10-14 19:46:39 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 5 , 5 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-03-10 18:46:57 +00:00
2020-10-08 17:04:53 +00:00
m_staticText261 = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " Junction dot size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText261 - > Wrap ( - 1 ) ;
2023-10-14 19:46:39 +00:00
gbSizer1 - > Add ( m_staticText261 , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-03-10 18:46:57 +00:00
2020-10-08 17:04:53 +00:00
wxString m_choiceJunctionDotSizeChoices [ ] = { _ ( " None " ) , _ ( " Smallest " ) , _ ( " Small " ) , _ ( " Default " ) , _ ( " Large " ) , _ ( " Largest " ) } ;
int m_choiceJunctionDotSizeNChoices = sizeof ( m_choiceJunctionDotSizeChoices ) / sizeof ( wxString ) ;
m_choiceJunctionDotSize = new wxChoice ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceJunctionDotSizeNChoices , m_choiceJunctionDotSizeChoices , 0 ) ;
m_choiceJunctionDotSize - > SetSelection ( 3 ) ;
2023-10-14 19:46:39 +00:00
gbSizer1 - > Add ( m_choiceJunctionDotSize , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 2 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2020-03-10 18:46:57 +00:00
2023-10-14 19:46:39 +00:00
m_connectionGridLabel = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " Connection grid: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_connectionGridLabel - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_connectionGridLabel , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-03-10 18:46:57 +00:00
2023-10-14 19:46:39 +00:00
m_connectionGridCtrl = new wxTextCtrl ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
gbSizer1 - > Add ( m_connectionGridCtrl , wxGBPosition ( 1 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
m_connectionGridUnits = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_connectionGridUnits - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_connectionGridUnits , wxGBPosition ( 1 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
gbSizer1 - > AddGrowableCol ( 1 ) ;
sbSizer2 - > Add ( gbSizer1 , 1 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2020-03-10 18:46:57 +00:00
2023-01-11 01:00:47 +00:00
bLeftColumn - > Add ( sbSizer2 , 1 , wxEXPAND | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2020-03-10 18:46:57 +00:00
2023-01-11 01:00:47 +00:00
bPanelSizer - > Add ( bLeftColumn , 1 , wxEXPAND | wxBOTTOM | wxLEFT , 5 ) ;
2020-03-10 18:46:57 +00:00
wxBoxSizer * bRightColumn ;
bRightColumn = new wxBoxSizer ( wxVERTICAL ) ;
2020-08-31 14:11:54 +00:00
wxStaticBoxSizer * sbSizerIREf ;
2020-10-02 10:25:03 +00:00
sbSizerIREf = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Inter-sheet References " ) ) , wxVERTICAL ) ;
2020-08-31 14:11:54 +00:00
2020-10-02 10:25:03 +00:00
m_showIntersheetsReferences = new wxCheckBox ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " Show inter-sheet references " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizerIREf - > Add ( m_showIntersheetsReferences , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
wxBoxSizer * bSizerMargins ;
bSizerMargins = new wxBoxSizer ( wxVERTICAL ) ;
2020-08-31 14:11:54 +00:00
2021-03-04 21:29:41 +00:00
m_listOwnPage = new wxCheckBox ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " Show own page reference " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_listOwnPage - > SetValue ( true ) ;
bSizerMargins - > Add ( m_listOwnPage , 0 , wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
2020-08-31 14:11:54 +00:00
m_radioFormatStandard = new wxRadioButton ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " Standard (1,2,3) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_radioFormatStandard - > SetValue ( true ) ;
2020-10-02 10:25:03 +00:00
bSizerMargins - > Add ( m_radioFormatStandard , 0 , wxALL , 5 ) ;
2020-08-31 14:11:54 +00:00
m_radioFormatAbbreviated = new wxRadioButton ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " Abbreviated (1..3) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-10-02 10:25:03 +00:00
bSizerMargins - > Add ( m_radioFormatAbbreviated , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-08-31 14:11:54 +00:00
2020-10-02 10:25:03 +00:00
wxFlexGridSizer * fgSizer4 ;
fgSizer4 = new wxFlexGridSizer ( 0 , 2 , 0 , 0 ) ;
fgSizer4 - > AddGrowableCol ( 1 ) ;
fgSizer4 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer4 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-08-31 14:11:54 +00:00
2020-10-02 10:25:03 +00:00
m_prefixLabel = new wxStaticText ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " Prefix: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-08-31 14:11:54 +00:00
m_prefixLabel - > Wrap ( - 1 ) ;
2020-10-02 10:25:03 +00:00
fgSizer4 - > Add ( m_prefixLabel , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-08-31 14:11:54 +00:00
m_prefixCtrl = new wxTextCtrl ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " [ " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-12-14 15:10:25 +00:00
m_prefixCtrl - > SetMinSize ( wxSize ( 160 , - 1 ) ) ;
fgSizer4 - > Add ( m_prefixCtrl , 1 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-08-31 14:11:54 +00:00
2020-10-02 10:25:03 +00:00
m_suffixLabel = new wxStaticText ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " Suffix: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-08-31 14:11:54 +00:00
m_suffixLabel - > Wrap ( - 1 ) ;
2020-10-02 10:25:03 +00:00
fgSizer4 - > Add ( m_suffixLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-08-31 14:11:54 +00:00
m_suffixCtrl = new wxTextCtrl ( sbSizerIREf - > GetStaticBox ( ) , wxID_ANY , _ ( " ] " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-12-14 15:10:25 +00:00
m_suffixCtrl - > SetMinSize ( wxSize ( 160 , - 1 ) ) ;
fgSizer4 - > Add ( m_suffixCtrl , 1 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-10-02 10:25:03 +00:00
bSizerMargins - > Add ( fgSizer4 , 1 , wxEXPAND , 5 ) ;
2020-08-31 14:11:54 +00:00
2020-10-02 10:25:03 +00:00
sbSizerIREf - > Add ( bSizerMargins , 1 , wxEXPAND | wxLEFT , 15 ) ;
2020-08-31 14:11:54 +00:00
bRightColumn - > Add ( sbSizerIREf , 0 , wxALL | wxEXPAND , 5 ) ;
2021-07-22 23:05:01 +00:00
wxStaticBoxSizer * sbSizer6 ;
sbSizer6 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Dashed Lines " ) ) , wxVERTICAL ) ;
2020-03-10 18:46:57 +00:00
2021-07-22 23:05:01 +00:00
wxFlexGridSizer * fgSizer41 ;
fgSizer41 = new wxFlexGridSizer ( 0 , 2 , 5 , 0 ) ;
fgSizer41 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer41 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-03-10 18:46:57 +00:00
2021-07-22 23:05:01 +00:00
dashLengthLabel = new wxStaticText ( sbSizer6 - > GetStaticBox ( ) , wxID_ANY , _ ( " Dash length: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
dashLengthLabel - > Wrap ( - 1 ) ;
fgSizer41 - > Add ( dashLengthLabel , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-03-10 18:46:57 +00:00
2021-07-22 23:05:01 +00:00
m_dashLengthCtrl = new wxTextCtrl ( sbSizer6 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer41 - > Add ( m_dashLengthCtrl , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
gapLengthLabel = new wxStaticText ( sbSizer6 - > GetStaticBox ( ) , wxID_ANY , _ ( " Gap length: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
gapLengthLabel - > Wrap ( - 1 ) ;
fgSizer41 - > Add ( gapLengthLabel , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_gapLengthCtrl = new wxTextCtrl ( sbSizer6 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer41 - > Add ( m_gapLengthCtrl , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
sbSizer6 - > Add ( fgSizer41 , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
m_dashedLineHelp = new wxStaticText ( sbSizer6 - > GetStaticBox ( ) , wxID_ANY , _ ( " Dash and dot lengths are ratios of the line width. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_dashedLineHelp - > Wrap ( - 1 ) ;
sbSizer6 - > Add ( m_dashedLineHelp , 0 , wxALL , 5 ) ;
2023-02-09 17:18:56 +00:00
bRightColumn - > Add ( sbSizer6 , 0 , wxEXPAND | wxALL , 5 ) ;
wxStaticBoxSizer * sbSizer7 ;
sbSizer7 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Operating-point Overlay " ) ) , wxVERTICAL ) ;
wxFlexGridSizer * fgSizer ;
fgSizer = new wxFlexGridSizer ( 4 , 2 , 6 , 0 ) ;
fgSizer - > AddGrowableCol ( 1 ) ;
fgSizer - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
wxStaticText * vPrecisionLabel ;
vPrecisionLabel = new wxStaticText ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , _ ( " Significant digits (voltages): " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
vPrecisionLabel - > Wrap ( - 1 ) ;
fgSizer - > Add ( vPrecisionLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_vPrecisionCtrl = new wxSpinCtrl ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , 1 , 10 , 3 ) ;
2023-06-16 15:23:42 +00:00
fgSizer - > Add ( m_vPrecisionCtrl , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2023-02-09 17:18:56 +00:00
wxStaticText * vRangeLabel ;
vRangeLabel = new wxStaticText ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , _ ( " Range (voltages): " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
vRangeLabel - > Wrap ( - 1 ) ;
fgSizer - > Add ( vRangeLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
wxString m_vRangeCtrlChoices [ ] = { _ ( " Auto " ) , _ ( " fV " ) , _ ( " pV " ) , _ ( " nV " ) , _ ( " uV " ) , _ ( " mV " ) , _ ( " V " ) , _ ( " KV " ) , _ ( " MV " ) , _ ( " GV " ) , _ ( " TV " ) , _ ( " PV " ) } ;
int m_vRangeCtrlNChoices = sizeof ( m_vRangeCtrlChoices ) / sizeof ( wxString ) ;
m_vRangeCtrl = new wxChoice ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_vRangeCtrlNChoices , m_vRangeCtrlChoices , 0 ) ;
m_vRangeCtrl - > SetSelection ( 0 ) ;
2023-06-16 15:23:42 +00:00
fgSizer - > Add ( m_vRangeCtrl , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2023-02-09 17:18:56 +00:00
wxStaticText * iPrecisionLabel ;
iPrecisionLabel = new wxStaticText ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , _ ( " Significant digits (currents): " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
iPrecisionLabel - > Wrap ( - 1 ) ;
fgSizer - > Add ( iPrecisionLabel , 0 , wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_iPrecisionCtrl = new wxSpinCtrl ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , 1 , 10 , 3 ) ;
2023-06-16 15:23:42 +00:00
fgSizer - > Add ( m_iPrecisionCtrl , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2023-02-09 17:18:56 +00:00
wxStaticText * iRangeLabel ;
iRangeLabel = new wxStaticText ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , _ ( " Range (currents): " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
iRangeLabel - > Wrap ( - 1 ) ;
2023-06-16 15:23:42 +00:00
fgSizer - > Add ( iRangeLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2023-02-09 17:18:56 +00:00
wxString m_iRangeCtrlChoices [ ] = { _ ( " Auto " ) , _ ( " fA " ) , _ ( " pA " ) , _ ( " nA " ) , _ ( " uA " ) , _ ( " mA " ) , _ ( " A " ) , _ ( " KA " ) , _ ( " MA " ) , _ ( " GA " ) , _ ( " TA " ) , _ ( " PA " ) } ;
int m_iRangeCtrlNChoices = sizeof ( m_iRangeCtrlChoices ) / sizeof ( wxString ) ;
m_iRangeCtrl = new wxChoice ( sbSizer7 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_iRangeCtrlNChoices , m_iRangeCtrlChoices , 0 ) ;
m_iRangeCtrl - > SetSelection ( 0 ) ;
2023-06-16 15:23:42 +00:00
fgSizer - > Add ( m_iRangeCtrl , 0 , wxBOTTOM | wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2023-02-09 17:18:56 +00:00
sbSizer7 - > Add ( fgSizer , 1 , wxEXPAND , 5 ) ;
bRightColumn - > Add ( sbSizer7 , 1 , wxEXPAND | wxALL , 5 ) ;
2021-07-22 23:05:01 +00:00
2023-01-11 01:00:47 +00:00
bPanelSizer - > Add ( bRightColumn , 1 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2020-03-10 18:46:57 +00:00
this - > SetSizer ( bPanelSizer ) ;
this - > Layout ( ) ;
2020-11-14 12:39:45 +00:00
bPanelSizer - > Fit ( this ) ;
2020-03-10 18:46:57 +00:00
}
PANEL_SETUP_FORMATTING_BASE : : ~ PANEL_SETUP_FORMATTING_BASE ( )
{
}