14DIALOG_IMPORT_SETTINGS_BASE::DIALOG_IMPORT_SETTINGS_BASE( wxWindow* parent, wxWindowID 
id, 
const wxString& title, 
const wxPoint& pos, 
const wxSize& size, 
long style ) : 
DIALOG_SHIM( parent, id, title, pos, size, style )
 
   16    this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
 
   20    wxBoxSizer* bUpperSizer;
 
   21    bUpperSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   23    wxStaticText* importFromLabel;
 
   24    importFromLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Import from:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   25    importFromLabel->Wrap( -1 );
 
   26    bUpperSizer->Add( importFromLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   28    m_filePathCtrl = 
new wxTextCtrl( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
 
   29    m_filePathCtrl->SetToolTip( 
_(
"Target directory for plot files. Can be absolute or relative to the board file location.") );
 
   35    bUpperSizer->Add( 
m_browseButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
 
   38    m_MainSizer->Add( bUpperSizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
 
   40    wxBoxSizer* bMiddleSizer;
 
   41    bMiddleSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   44    bLeftCol = 
new wxBoxSizer( wxVERTICAL );
 
   46    wxStaticText* importLabel;
 
   47    importLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Import:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   48    importLabel->Wrap( -1 );
 
   49    bLeftCol->Add( importLabel, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
 
   51    m_LayersOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Board layers and physical stackup"), wxDefaultPosition, wxDefaultSize, 0 );
 
   52    bLeftCol->Add( 
m_LayersOpt, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
 
   54    m_MaskAndPasteOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Solder mask/paste defaults"), wxDefaultPosition, wxDefaultSize, 0 );
 
   57    m_TextAndGraphicsOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Text && graphics default properties"), wxDefaultPosition, wxDefaultSize, 0 );
 
   60    m_FormattingOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Text && graphics formatting"), wxDefaultPosition, wxDefaultSize, 0 );
 
   63    m_ConstraintsOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Design rule constraints"), wxDefaultPosition, wxDefaultSize, 0 );
 
   66    m_TracksAndViasOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Predefined track && via dimensions"), wxDefaultPosition, wxDefaultSize, 0 );
 
   69    m_TeardropsOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Teardrop defaults"), wxDefaultPosition, wxDefaultSize, 0 );
 
   72    m_TuningPatternsOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Length-tuning pattern defaults"), wxDefaultPosition, wxDefaultSize, 0 );
 
   75    m_NetclassesOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Net classes"), wxDefaultPosition, wxDefaultSize, 0 );
 
   78    m_ComponentClassesOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Component classes"), wxDefaultPosition, wxDefaultSize, 0 );
 
   81    m_TuningProfilesOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Tuning Profiles"), wxDefaultPosition, wxDefaultSize, 0 );
 
   84    m_CustomRulesOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Custom rules"), wxDefaultPosition, wxDefaultSize, 0 );
 
   87    m_SeveritiesOpt = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Violation severities"), wxDefaultPosition, wxDefaultSize, 0 );
 
   91    bMiddleSizer->Add( bLeftCol, 0, wxEXPAND|wxRIGHT|wxLEFT, 10 );
 
   94    m_MainSizer->Add( bMiddleSizer, 1, wxEXPAND|wxBOTTOM, 5 );
 
   98    m_selectAllButton = 
new wxButton( 
this, wxID_ANY, 
_(
"Select All"), wxDefaultPosition, wxDefaultSize, 0 );
 
  118    this->Centre( wxBOTH );