2018-04-28 16:22:25 +01:00
///////////////////////////////////////////////////////////////////////////
2021-10-29 15:29:49 -04:00
// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
2018-04-28 16:22:25 +01:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "panel_setup_mask_and_paste_base.h"
///////////////////////////////////////////////////////////////////////////
2019-08-21 15:31:52 +01:00
PANEL_SETUP_MASK_AND_PASTE_BASE : : PANEL_SETUP_MASK_AND_PASTE_BASE ( wxWindow * parent , wxWindowID id , const wxPoint & pos , const wxSize & size , long style , const wxString & name ) : wxPanel ( parent , id , pos , size , style , name )
2018-04-28 16:22:25 +01:00
{
wxBoxSizer * bMainSizer ;
bMainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2019-08-21 15:31:52 +01:00
2018-04-28 16:22:25 +01:00
wxBoxSizer * bSizer3 ;
bSizer3 = new wxBoxSizer ( wxVERTICAL ) ;
2019-08-21 15:31:52 +01:00
2018-04-28 16:22:25 +01:00
wxBoxSizer * bMessages ;
2021-05-16 09:11:13 +02:00
bMessages = new wxBoxSizer ( wxHORIZONTAL ) ;
2020-03-12 20:05:08 +01:00
2021-08-06 00:43:03 +01:00
bMessages - > Add ( 4 , 0 , 0 , wxEXPAND , 5 ) ;
2020-03-12 20:05:08 +01:00
m_bitmapWarning = new wxStaticBitmap ( this , wxID_ANY , wxArtProvider : : GetBitmap ( wxART_WARNING , wxART_OTHER ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-05-16 09:11:13 +02:00
bMessages - > Add ( m_bitmapWarning , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
wxBoxSizer * bSizer4 ;
bSizer4 = new wxBoxSizer ( wxVERTICAL ) ;
2020-03-12 20:05:08 +01:00
2021-10-29 15:29:49 -04:00
m_staticTextInfoMaskMinWidth = new wxStaticText ( this , wxID_ANY , _ ( " Use your board manufacturer's recommendations for solder mask clearance and minimum web width. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-03-12 20:05:08 +01:00
m_staticTextInfoMaskMinWidth - > Wrap ( - 1 ) ;
2021-08-06 00:43:03 +01:00
bSizer4 - > Add ( m_staticTextInfoMaskMinWidth , 0 , wxEXPAND , 1 ) ;
2020-03-12 20:05:08 +01:00
2021-09-16 18:29:29 +01:00
m_staticTextInfoMaskMinWidth1 = new wxStaticText ( this , wxID_ANY , _ ( " If none are provided, setting the values to zero is suggested. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-05-16 09:11:13 +02:00
m_staticTextInfoMaskMinWidth1 - > Wrap ( - 1 ) ;
2021-08-06 00:43:03 +01:00
bSizer4 - > Add ( m_staticTextInfoMaskMinWidth1 , 0 , wxEXPAND | wxTOP , 1 ) ;
2021-05-16 09:11:13 +02:00
2020-03-12 20:05:08 +01:00
2021-08-06 00:43:03 +01:00
bMessages - > Add ( bSizer4 , 1 , wxEXPAND | wxLEFT , 5 ) ;
2020-03-12 20:05:08 +01:00
2019-08-21 15:31:52 +01:00
2021-08-06 00:43:03 +01:00
bSizer3 - > Add ( bMessages , 0 , wxEXPAND | wxTOP | wxBOTTOM , 10 ) ;
2019-08-21 15:31:52 +01:00
2021-05-16 09:11:13 +02:00
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bSizer3 - > Add ( m_staticline1 , 0 , wxEXPAND | wxALL , 5 ) ;
2021-08-12 17:58:30 +01:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 5 , 0 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_maskMarginLabel = new wxStaticText ( this , wxID_ANY , _ ( " Solder mask clearance: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_maskMarginLabel - > Wrap ( - 1 ) ;
m_maskMarginLabel - > SetToolTip ( _ ( " Global clearance between pads and the solder mask. \n This value can be superseded by local values for a footprint or a pad. " ) ) ;
2019-08-21 15:31:52 +01:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_maskMarginLabel , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_maskMarginCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_maskMarginCtrl - > SetToolTip ( _ ( " Positive clearance means area bigger than the pad (usual for solder mask clearance). " ) ) ;
2020-08-14 19:51:57 +00:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_maskMarginCtrl , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_maskMarginUnits = new wxStaticText ( this , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_maskMarginUnits - > Wrap ( - 1 ) ;
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_maskMarginUnits , wxGBPosition ( 0 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-13 15:18:01 +01:00
m_maskMinWidthLabel = new wxStaticText ( this , wxID_ANY , _ ( " Solder mask minimum web width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-08-06 15:26:08 +01:00
m_maskMinWidthLabel - > Wrap ( - 1 ) ;
m_maskMinWidthLabel - > SetToolTip ( _ ( " Min. dist between 2 pad areas. \n Two pad areas nearer than this value will be merged during plotting. \n This parameter is only used to plot solder mask layers. \n Leave at 0 unless you know what you are doing. " ) ) ;
2019-08-21 15:31:52 +01:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_maskMinWidthLabel , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 1 ) , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_maskMinWidthCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_maskMinWidthCtrl - > SetToolTip ( _ ( " Minimum distance between openings in the solder mask. Pad openings closer than this distance will be plotted as a single opening. " ) ) ;
2021-01-14 22:34:56 +00:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_maskMinWidthCtrl , wxGBPosition ( 1 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_maskMinWidthUnits = new wxStaticText ( this , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_maskMinWidthUnits - > Wrap ( - 1 ) ;
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_maskMinWidthUnits , wxGBPosition ( 1 , 2 ) , wxGBSpan ( 1 , 1 ) , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-12 17:58:30 +01:00
m_allowBridges = new wxCheckBox ( this , wxID_ANY , _ ( " Allow bridged solder mask apertures between pads within a footprint " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
gbSizer1 - > Add ( m_allowBridges , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 3 ) , wxALL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_pasteMarginLabel = new wxStaticText ( this , wxID_ANY , _ ( " Solder paste absolute clearance: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pasteMarginLabel - > Wrap ( - 1 ) ;
m_pasteMarginLabel - > SetToolTip ( _ ( " Global clearance between pads and the solder paste. \n This value can be superseded by local values for a footprint or a pad. \n Final clearance value is the sum of this value and the clearance value ratio. " ) ) ;
2019-08-21 15:31:52 +01:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_pasteMarginLabel , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_pasteMarginCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pasteMarginCtrl - > SetToolTip ( _ ( " Negative clearance means area smaller than the pad (usual for solder paste clearance). " ) ) ;
2020-11-11 16:32:06 +01:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_pasteMarginCtrl , wxGBPosition ( 4 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_pasteMarginUnits = new wxStaticText ( this , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pasteMarginUnits - > Wrap ( - 1 ) ;
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_pasteMarginUnits , wxGBPosition ( 4 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_pasteMarginRatioLabel = new wxStaticText ( this , wxID_ANY , _ ( " Solder paste relative clearance: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pasteMarginRatioLabel - > Wrap ( - 1 ) ;
m_pasteMarginRatioLabel - > SetToolTip ( _ ( " Global clearance ratio in percent between pads and the solder paste. \n A value of 10 means the clearance value is 10 percent of the pad size. \n This value can be superseded by local values for a footprint or a pad. \n Final clearance value is the sum of this value and the clearance value. " ) ) ;
2019-08-21 15:31:52 +01:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_pasteMarginRatioLabel , wxGBPosition ( 5 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_pasteMarginRatioCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pasteMarginRatioCtrl - > SetToolTip ( _ ( " Additional clearance as a percentage of the pad size. " ) ) ;
2021-01-14 22:34:56 +00:00
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_pasteMarginRatioCtrl , wxGBPosition ( 5 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-06 15:26:08 +01:00
m_pasteMarginRatioUnits = new wxStaticText ( this , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_pasteMarginRatioUnits - > Wrap ( - 1 ) ;
2021-08-12 17:58:30 +01:00
gbSizer1 - > Add ( m_pasteMarginRatioUnits , wxGBPosition ( 5 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-08-12 17:58:30 +01:00
bSizer3 - > Add ( gbSizer1 , 1 , wxEXPAND | wxTOP , 5 ) ;
2019-08-21 15:31:52 +01:00
2020-08-14 19:51:57 +00:00
m_staticTextInfoPaste = new wxStaticText ( this , wxID_ANY , _ ( " Note: Solder paste clearances (absolute and relative) are added to determine the final clearance. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-08-21 15:31:52 +01:00
m_staticTextInfoPaste - > Wrap ( - 1 ) ;
2021-08-12 17:58:30 +01:00
bSizer3 - > Add ( m_staticTextInfoPaste , 0 , wxEXPAND | wxALL , 5 ) ;
2019-08-21 15:31:52 +01:00
2021-05-16 10:34:36 +02:00
bMainSizer - > Add ( bSizer3 , 1 , wxRIGHT | wxLEFT | wxEXPAND , 5 ) ;
2019-08-21 15:31:52 +01:00
2018-04-28 16:22:25 +01:00
this - > SetSizer ( bMainSizer ) ;
this - > Layout ( ) ;
2021-10-29 15:29:49 -04:00
bMainSizer - > Fit ( this ) ;
2018-04-28 16:22:25 +01:00
}
PANEL_SETUP_MASK_AND_PASTE_BASE : : ~ PANEL_SETUP_MASK_AND_PASTE_BASE ( )
{
}