15DIALOG_EXCHANGE_FOOTPRINTS_BASE::DIALOG_EXCHANGE_FOOTPRINTS_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 );
23 m_upperSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
25 m_matchAll =
new wxRadioButton(
this, wxID_ANY,
_(
"Update all footprints on board"), wxDefaultPosition, wxDefaultSize, 0 );
26 m_upperSizer->Add(
m_matchAll, wxGBPosition( 0, 0 ), wxGBSpan( 1, 2 ), wxEXPAND|wxTOP|wxBOTTOM|wxRIGHT|wxALIGN_CENTER_VERTICAL, 5 );
28 m_matchSelected =
new wxRadioButton(
this, wxID_ANY,
_(
"Update selected footprint(s)"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_matchSpecifiedRef =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints matching reference designator:"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_specifiedRef =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
39 m_matchSpecifiedValue =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints matching value:"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_specifiedValue =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
45 m_matchSpecifiedID =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints with library id:"), wxDefaultPosition, wxDefaultSize, 0 );
49 bSizer7 =
new wxBoxSizer( wxHORIZONTAL );
51 m_specifiedID =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
58 m_upperSizer->Add( bSizer7, wxGBPosition( 4, 1 ), wxGBSpan( 1, 1 ), wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
66 bSizer4 =
new wxBoxSizer( wxHORIZONTAL );
69 m_mainSizer->Add( bSizer4, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
73 wxStaticLine* staticline1;
74 staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
75 m_changeSizer->Add( staticline1, 0, wxEXPAND|wxTOP|wxBOTTOM, 3 );
78 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
80 wxStaticText* newIdLabel;
81 newIdLabel =
new wxStaticText(
this, wxID_ANY,
_(
"New footprint library id:"), wxDefaultPosition, wxDefaultSize, 0 );
82 newIdLabel->Wrap( -1 );
83 bSizer3->Add( newIdLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
85 m_newID =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
86 m_newID->SetMinSize( wxSize( 500,-1 ) );
88 bSizer3->Add(
m_newID, 1, wxALIGN_CENTER_VERTICAL, 5 );
102 m_updateOptionsSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Update Options") ), wxHORIZONTAL );
105 bSizer5 =
new wxBoxSizer( wxVERTICAL );
108 m_removeExtraBox->SetToolTip(
_(
"Removes fields that do not occur in the original library symbols") );
122 bSizer5->Add( 0, 10, 1, 0, 5 );
131 bSizer6 =
new wxBoxSizer( wxVERTICAL );
143 bSizer6->Add( 0, 10, 1, 0, 5 );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
A widget for browsing a rich text error/status report.