2014-01-02 09:26:03 +00:00
///////////////////////////////////////////////////////////////////////////
2015-09-10 19:48:28 +00:00
// C++ code generated with wxFormBuilder (version Jun 5 2014)
2014-01-02 09:26:03 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "dialog_export_idf_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_EXPORT_IDF3_BASE : : DIALOG_EXPORT_IDF3_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 * bSizerIDFFile ;
bSizerIDFFile = new wxBoxSizer ( wxVERTICAL ) ;
2015-01-12 19:25:20 +00:00
m_txtBrdFile = new wxStaticText ( this , wxID_ANY , _ ( " File name: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2014-01-02 09:26:03 +00:00
m_txtBrdFile - > Wrap ( - 1 ) ;
2015-01-12 19:25:20 +00:00
bSizerIDFFile - > Add ( m_txtBrdFile , 0 , wxBOTTOM | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2014-01-02 09:26:03 +00:00
2014-01-25 12:23:29 +00:00
m_filePickerIDF = new wxFilePickerCtrl ( this , wxID_ANY , wxEmptyString , _ ( " Select an IDF export filename " ) , wxT ( " *.emn " ) , wxDefaultPosition , wxSize ( 450 , - 1 ) , wxFLP_OVERWRITE_PROMPT | wxFLP_SAVE | wxFLP_USE_TEXTCTRL ) ;
bSizerIDFFile - > Add ( m_filePickerIDF , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2014-01-02 09:26:03 +00:00
2015-08-13 13:13:34 +00:00
wxBoxSizer * bSizer2 ;
bSizer2 = new wxBoxSizer ( wxHORIZONTAL ) ;
wxBoxSizer * bSizer3 ;
bSizer3 = new wxBoxSizer ( wxVERTICAL ) ;
m_staticText2 = new wxStaticText ( this , wxID_ANY , _ ( " Grid Reference Point: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText2 - > Wrap ( - 1 ) ;
bSizer3 - > Add ( m_staticText2 , 0 , wxALL , 5 ) ;
2015-09-10 19:48:28 +00:00
m_cbAutoAdjustOffset = new wxCheckBox ( this , wxID_ANY , _ ( " Adjust automatically " ) , wxDefaultPosition , wxDefaultSize , wxCHK_2STATE ) ;
2015-08-18 23:48:42 +00:00
bSizer3 - > Add ( m_cbAutoAdjustOffset , 0 , wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
wxBoxSizer * bSizer6 ;
bSizer6 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_staticText5 = new wxStaticText ( this , wxID_ANY , _ ( " Units: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText5 - > Wrap ( - 1 ) ;
2015-09-10 19:48:28 +00:00
bSizer6 - > Add ( m_staticText5 , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
wxString m_IDF_RefUnitChoiceChoices [ ] = { _ ( " mm " ) , _ ( " inch " ) } ;
int m_IDF_RefUnitChoiceNChoices = sizeof ( m_IDF_RefUnitChoiceChoices ) / sizeof ( wxString ) ;
m_IDF_RefUnitChoice = new wxChoice ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_IDF_RefUnitChoiceNChoices , m_IDF_RefUnitChoiceChoices , 0 ) ;
m_IDF_RefUnitChoice - > SetSelection ( 0 ) ;
2015-09-10 19:48:28 +00:00
bSizer6 - > Add ( m_IDF_RefUnitChoice , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
bSizer3 - > Add ( bSizer6 , 1 , wxEXPAND , 5 ) ;
wxBoxSizer * bSizer4 ;
bSizer4 = new wxBoxSizer ( wxHORIZONTAL ) ;
2015-09-10 19:48:28 +00:00
m_staticText3 = new wxStaticText ( this , wxID_ANY , _ ( " X Position: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-08-13 13:13:34 +00:00
m_staticText3 - > Wrap ( - 1 ) ;
2015-09-10 19:48:28 +00:00
bSizer4 - > Add ( m_staticText3 , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
m_IDF_Xref = new wxTextCtrl ( this , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_IDF_Xref - > SetMaxLength ( 8 ) ;
2015-09-10 19:48:28 +00:00
bSizer4 - > Add ( m_IDF_Xref , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
bSizer3 - > Add ( bSizer4 , 1 , wxEXPAND , 5 ) ;
wxBoxSizer * bSizer5 ;
bSizer5 = new wxBoxSizer ( wxHORIZONTAL ) ;
2015-09-10 19:48:28 +00:00
m_staticText4 = new wxStaticText ( this , wxID_ANY , _ ( " Y Position: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-08-13 13:13:34 +00:00
m_staticText4 - > Wrap ( - 1 ) ;
2015-09-10 19:48:28 +00:00
bSizer5 - > Add ( m_staticText4 , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
m_IDF_Yref = new wxTextCtrl ( this , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_IDF_Yref - > SetMaxLength ( 8 ) ;
2015-09-10 19:48:28 +00:00
bSizer5 - > Add ( m_IDF_Yref , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2015-08-13 13:13:34 +00:00
bSizer3 - > Add ( bSizer5 , 1 , wxEXPAND , 5 ) ;
2015-09-10 19:48:28 +00:00
bSizer2 - > Add ( bSizer3 , 1 , wxEXPAND | wxLEFT , 5 ) ;
2015-08-13 13:13:34 +00:00
2014-01-25 12:23:29 +00:00
wxString m_rbUnitSelectionChoices [ ] = { _ ( " Millimeters " ) , _ ( " Mils " ) } ;
int m_rbUnitSelectionNChoices = sizeof ( m_rbUnitSelectionChoices ) / sizeof ( wxString ) ;
2015-08-13 13:13:34 +00:00
m_rbUnitSelection = new wxRadioBox ( this , wxID_ANY , _ ( " Output Units: " ) , wxDefaultPosition , wxDefaultSize , m_rbUnitSelectionNChoices , m_rbUnitSelectionChoices , 1 , wxRA_SPECIFY_COLS ) ;
2015-08-18 23:48:42 +00:00
m_rbUnitSelection - > SetSelection ( 0 ) ;
2015-08-13 13:13:34 +00:00
bSizer2 - > Add ( m_rbUnitSelection , 0 , wxALL , 5 ) ;
bSizer2 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2014-01-02 09:26:03 +00:00
2015-01-12 19:25:20 +00:00
2015-08-13 13:13:34 +00:00
bSizerIDFFile - > Add ( bSizer2 , 1 , wxEXPAND , 5 ) ;
2015-01-12 19:25:20 +00:00
2014-01-25 12:23:29 +00:00
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bSizerIDFFile - > Add ( m_staticline1 , 0 , wxEXPAND | wxALL , 5 ) ;
2014-01-02 09:26:03 +00:00
m_sdbSizer1 = new wxStdDialogButtonSizer ( ) ;
m_sdbSizer1OK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer1 - > AddButton ( m_sdbSizer1OK ) ;
m_sdbSizer1Cancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizer1 - > AddButton ( m_sdbSizer1Cancel ) ;
m_sdbSizer1 - > Realize ( ) ;
2015-01-12 19:25:20 +00:00
bSizerIDFFile - > Add ( m_sdbSizer1 , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
2014-01-02 09:26:03 +00:00
this - > SetSizer ( bSizerIDFFile ) ;
this - > Layout ( ) ;
2015-01-12 19:25:20 +00:00
bSizerIDFFile - > Fit ( this ) ;
2014-01-02 09:26:03 +00:00
this - > Centre ( wxBOTH ) ;
}
DIALOG_EXPORT_IDF3_BASE : : ~ DIALOG_EXPORT_IDF3_BASE ( )
{
}