14DIALOG_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 )
16 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
22 m_upperSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24 m_matchAll =
new wxRadioButton(
this, wxID_ANY,
_(
"Update all footprints on board"), wxDefaultPosition, wxDefaultSize, 0 );
27 m_matchSelected =
new wxRadioButton(
this, wxID_ANY,
_(
"Update selected footprint(s)"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_matchSpecifiedRef =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints matching reference designator:"), wxDefaultPosition, wxDefaultSize, 0 );
33 m_specifiedRef =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
38 m_matchSpecifiedValue =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints matching value:"), wxDefaultPosition, wxDefaultSize, 0 );
41 m_specifiedValue =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
42 m_upperSizer->Add(
m_specifiedValue, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxBOTTOM|wxRIGHT, 5 );
44 m_matchSpecifiedID =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints with library id:"), wxDefaultPosition, wxDefaultSize, 0 );
53 bSizer4 =
new wxBoxSizer( wxHORIZONTAL );
55 m_specifiedID =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
58 bSizer4->Add(
m_specifiedID, 1, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
60 m_specifiedIDBrowseButton =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
64 m_mainSizer->Add( bSizer4, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
68 wxStaticLine* staticline1;
69 staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
72 wxStaticText* newIdLabel;
73 newIdLabel =
new wxStaticText(
this, wxID_ANY,
_(
"New footprint library id:"), wxDefaultPosition, wxDefaultSize, 0 );
74 newIdLabel->Wrap( -1 );
75 m_changeSizer->Add( newIdLabel, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 5 );
78 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
80 m_newID =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
81 m_newID->SetMinSize( wxSize( 500,-1 ) );
83 bSizer3->Add(
m_newID, 1, wxALIGN_CENTER_VERTICAL, 5 );
85 m_newIDBrowseButton =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
94 m_updateOptionsSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Update Options") ), wxVERTICAL );
97 m_removeExtraBox->SetToolTip(
_(
"Removes fields that do not occur in the original library symbols") );
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.