14DIALOG_UPDATE_PCB_BASE::DIALOG_UPDATE_PCB_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 );
18 wxBoxSizer* bMainSizer;
19 bMainSizer =
new wxBoxSizer( wxVERTICAL );
21 wxBoxSizer* bUpperSizer;
22 bUpperSizer =
new wxBoxSizer( wxVERTICAL );
24 wxStaticBoxSizer* sbSizer1;
25 sbSizer1 =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Options") ), wxVERTICAL );
27 m_cbRelinkFootprints =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY,
_(
"Re-link footprints to schematic symbols based on their reference designators"), wxDefaultPosition, wxDefaultSize, 0 );
28 m_cbRelinkFootprints->SetToolTip(
_(
"Normally footprints are linked to their symbols via their Unique IDs. Select this option only if you want to reset the footprint linkages based on their reference designators.") );
32 m_cbDeleteExtraFootprints =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY,
_(
"Delete footprints with no symbols"), wxDefaultPosition, wxDefaultSize, 0 );
33 m_cbDeleteExtraFootprints->SetToolTip(
_(
"Remove from the board unlocked footprints which are not linked to a schematic symbol.") );
37 m_cbUpdateFootprints =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY,
_(
"Replace footprints with those specified in the schematic"), wxDefaultPosition, wxDefaultSize, 0 );
39 m_cbUpdateFootprints->SetToolTip(
_(
"Normally footprints on the board should be changed to match footprint assignment changes made in the schematic. Uncheck this only if you don't want to change existing footprints on the board.") );
43 m_cbOverrideLocks =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY,
_(
"Delete/replace footprints even if locked"), wxDefaultPosition, wxDefaultSize, 0 );
47 bUpperSizer->Add( sbSizer1, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
50 bMainSizer->Add( bUpperSizer, 0, wxALL|wxEXPAND, 5 );
52 wxBoxSizer* bLowerSizer;
53 bLowerSizer =
new wxBoxSizer( wxVERTICAL );
55 bLowerSizer->SetMinSize( wxSize( 660,300 ) );
60 bMainSizer->Add( bLowerSizer, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
69 bMainSizer->Add(
m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
72 this->SetSizer( bMainSizer );
74 bMainSizer->Fit(
this );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
WX_HTML_REPORT_PANEL * m_messagePanel
virtual void OnUpdateClick(wxCommandEvent &event)
~DIALOG_UPDATE_PCB_BASE()
wxCheckBox * m_cbRelinkFootprints
wxCheckBox * m_cbUpdateFootprints
wxCheckBox * m_cbDeleteExtraFootprints
wxButton * m_sdbSizer1Cancel
wxStdDialogButtonSizer * m_sdbSizer1
wxCheckBox * m_cbOverrideLocks
virtual void OnOptionChanged(wxCommandEvent &event)
DIALOG_UPDATE_PCB_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Update PCB from Schematic"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
A widget for browsing a rich text error/status report.