15DIALOG_CONFIG_EQUFILES_BASE::DIALOG_CONFIG_EQUFILES_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
17 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
19 wxBoxSizer* bMainSizer;
20 bMainSizer =
new wxBoxSizer( wxVERTICAL );
22 wxBoxSizer* bUpperSizer;
23 bUpperSizer =
new wxBoxSizer( wxVERTICAL );
25 wxStaticText* listLabel;
26 listLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Footprint association files:"), wxDefaultPosition, wxDefaultSize, 0 );
27 listLabel->Wrap( -1 );
28 bUpperSizer->Add( listLabel, 0, wxBOTTOM, 2 );
30 m_filesListBox =
new wxListBox(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_EXTENDED|wxLB_HSCROLL|wxLB_NEEDED_SB|wxLB_SINGLE );
38 m_bpAdd->SetToolTip(
_(
"Add association file") );
53 m_bpEdit->SetToolTip(
_(
"Edit association file") );
61 m_bpDelete->SetToolTip(
_(
"Remove association file") );
69 bUpperSizer->Add( 0, 25, 0, wxEXPAND, 5 );
71 wxStaticText* envVarsLabel;
72 envVarsLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Available path substitutions:"), wxDefaultPosition, wxDefaultSize, 0 );
73 envVarsLabel->Wrap( -1 );
74 bUpperSizer->Add( envVarsLabel, 0, wxBOTTOM, 2 );
91 m_gridEnvVars->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
97 m_gridEnvVars->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
102 m_gridEnvVars->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
106 bMainSizer->Add( bUpperSizer, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
115 bMainSizer->Add(
m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
118 this->SetSizer( bMainSizer );
120 bMainSizer->Fit(
this );
122 this->Centre( wxBOTH );