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 );
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 );
43 m_upperSizer->Add(
m_specifiedValue, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxBOTTOM|wxRIGHT, 5 );
45 m_matchSpecifiedID =
new wxRadioButton(
this, wxID_ANY,
_(
"Update footprints with library id:"), wxDefaultPosition, wxDefaultSize, 0 );
54 bSizer4 =
new wxBoxSizer( wxHORIZONTAL );
56 m_specifiedID =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
59 bSizer4->Add(
m_specifiedID, 1, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
65 m_mainSizer->Add( bSizer4, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
69 wxStaticLine* staticline1;
70 staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
73 wxStaticText* newIdLabel;
74 newIdLabel =
new wxStaticText(
this, wxID_ANY,
_(
"New footprint library id:"), wxDefaultPosition, wxDefaultSize, 0 );
75 newIdLabel->Wrap( -1 );
76 m_changeSizer->Add( newIdLabel, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 5 );
79 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
81 m_newID =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
82 m_newID->SetMinSize( wxSize( 500,-1 ) );
84 bSizer3->Add(
m_newID, 1, wxALIGN_CENTER_VERTICAL, 5 );
95 m_updateOptionsSizer =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Update Options") ), wxVERTICAL );
98 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.