2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2017-06-21 10:04:18 +00:00
// C++ code generated with wxFormBuilder (version May 6 2016)
2013-05-26 04:36:44 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "dialog_global_modules_fields_edition_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE : : DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
wxBoxSizer * bMainSizer ;
bMainSizer = new wxBoxSizer ( wxVERTICAL ) ;
wxBoxSizer * bSizerUpper ;
bSizerUpper = new wxBoxSizer ( wxHORIZONTAL ) ;
wxBoxSizer * bLeftSizer ;
bLeftSizer = new wxBoxSizer ( wxVERTICAL ) ;
wxStaticBoxSizer * sbSizer1 ;
sbSizer1 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Footprint Fields " ) ) , wxVERTICAL ) ;
2016-02-11 15:02:37 +00:00
m_ReferenceOpt = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Reference designator " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
sbSizer1 - > Add ( m_ReferenceOpt , 0 , wxALL | wxEXPAND , 5 ) ;
2016-02-11 15:02:37 +00:00
m_ValueOpt = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Value " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
sbSizer1 - > Add ( m_ValueOpt , 0 , wxALL | wxEXPAND , 5 ) ;
2016-02-11 15:02:37 +00:00
m_OtherFields = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " User defined " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
sbSizer1 - > Add ( m_OtherFields , 0 , wxALL | wxEXPAND , 5 ) ;
bLeftSizer - > Add ( sbSizer1 , 1 , wxBOTTOM | wxEXPAND | wxRIGHT , 5 ) ;
2017-06-21 10:04:18 +00:00
m_staticTextFilter = new wxStaticText ( this , wxID_ANY , _ ( " Footprint Name (FPID) Filter: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_staticTextFilter - > Wrap ( - 1 ) ;
2014-10-12 15:12:02 +00:00
m_staticTextFilter - > SetToolTip ( _ ( " A string to filter footprints to edit. \n If not void, footprint names should match this filter. \n A filter can be something like SM* (case insensitive) " ) ) ;
2013-05-26 04:36:44 +00:00
bLeftSizer - > Add ( m_staticTextFilter , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
m_ModuleFilter = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
bLeftSizer - > Add ( m_ModuleFilter , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
bSizerUpper - > Add ( bLeftSizer , 2 , wxEXPAND , 5 ) ;
wxBoxSizer * bRightSizer ;
bRightSizer = new wxBoxSizer ( wxVERTICAL ) ;
wxStaticBoxSizer * sbSizerSettings ;
sbSizerSettings = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Current Text Dimensions " ) ) , wxVERTICAL ) ;
wxFlexGridSizer * fgSizerCurrSettings ;
fgSizerCurrSettings = new wxFlexGridSizer ( 3 , 3 , 0 , 0 ) ;
fgSizerCurrSettings - > AddGrowableCol ( 1 ) ;
fgSizerCurrSettings - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerCurrSettings - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2016-02-11 15:02:37 +00:00
m_staticText3 = new wxStaticText ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , _ ( " Width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_staticText3 - > Wrap ( - 1 ) ;
fgSizerCurrSettings - > Add ( m_staticText3 , 0 , wxTOP | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT , 5 ) ;
2016-02-11 15:02:37 +00:00
m_SizeX_Value = new wxTextCtrl ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-06-15 13:54:58 +00:00
fgSizerCurrSettings - > Add ( m_SizeX_Value , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2013-05-26 04:36:44 +00:00
2016-02-11 15:02:37 +00:00
m_SizeXunit = new wxStaticText ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_SizeXunit - > Wrap ( - 1 ) ;
fgSizerCurrSettings - > Add ( m_SizeXunit , 0 , wxTOP | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2016-02-11 15:02:37 +00:00
m_staticText6 = new wxStaticText ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , _ ( " Height: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_staticText6 - > Wrap ( - 1 ) ;
fgSizerCurrSettings - > Add ( m_staticText6 , 0 , wxALIGN_CENTER_VERTICAL | wxTOP | wxRIGHT | wxLEFT | wxALIGN_RIGHT , 5 ) ;
2016-02-11 15:02:37 +00:00
m_SizeY_Value = new wxTextCtrl ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-06-15 13:54:58 +00:00
fgSizerCurrSettings - > Add ( m_SizeY_Value , 0 , wxEXPAND | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2013-05-26 04:36:44 +00:00
2016-02-11 15:02:37 +00:00
m_SizeYunit = new wxStaticText ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_SizeYunit - > Wrap ( - 1 ) ;
fgSizerCurrSettings - > Add ( m_SizeYunit , 0 , wxALIGN_CENTER_VERTICAL | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2016-02-11 15:02:37 +00:00
m_staticText9 = new wxStaticText ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , _ ( " Thickness: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_staticText9 - > Wrap ( - 1 ) ;
fgSizerCurrSettings - > Add ( m_staticText9 , 0 , wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL , 5 ) ;
2016-02-11 15:02:37 +00:00
m_ThicknessValue = new wxTextCtrl ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerCurrSettings - > Add ( m_ThicknessValue , 0 , wxALL | wxEXPAND , 5 ) ;
2013-05-26 04:36:44 +00:00
2016-02-11 15:02:37 +00:00
m_ThicknessUnit = new wxStaticText ( sbSizerSettings - > GetStaticBox ( ) , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_ThicknessUnit - > Wrap ( - 1 ) ;
fgSizerCurrSettings - > Add ( m_ThicknessUnit , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2013-05-26 04:36:44 +00:00
sbSizerSettings - > Add ( fgSizerCurrSettings , 1 , wxEXPAND , 5 ) ;
bRightSizer - > Add ( sbSizerSettings , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
bSizerUpper - > Add ( bRightSizer , 3 , wxEXPAND , 5 ) ;
bMainSizer - > Add ( bSizerUpper , 1 , wxALL | wxEXPAND , 5 ) ;
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bMainSizer - > Add ( m_staticline1 , 0 , wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
m_sdbSizerButtons = new wxStdDialogButtonSizer ( ) ;
m_sdbSizerButtonsOK = new wxButton ( this , wxID_OK ) ;
m_sdbSizerButtons - > AddButton ( m_sdbSizerButtonsOK ) ;
m_sdbSizerButtonsCancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizerButtons - > AddButton ( m_sdbSizerButtonsCancel ) ;
m_sdbSizerButtons - > Realize ( ) ;
bMainSizer - > Add ( m_sdbSizerButtons , 0 , wxALL | wxEXPAND , 5 ) ;
this - > SetSizer ( bMainSizer ) ;
this - > Layout ( ) ;
bMainSizer - > Fit ( this ) ;
// Connect Events
m_sdbSizerButtonsOK - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE : : OnOKClick ) , NULL , this ) ;
}
DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE : : ~ DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE ( )
{
// Disconnect Events
m_sdbSizerButtonsOK - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE : : OnOKClick ) , NULL , this ) ;
}