55 { wxID_CANCEL,
_(
"Close" ) } } );
75 if( selection.Size() > 0 )
98 m_frame->GetToolManager()->DeactivateTool();
129 if( !
group->HasDesignBlockLink() )
156 if( !transferGroups )
static TOOL_ACTION selectionClear
Clear the current selection.
Update the BOARD with a new netlist.
void SetRemoveExtraFields(bool aEnabled)
void SetReporter(REPORTER *aReporter)
Enable dry run mode (just report, no changes to PCB).
bool UpdateNetlist(NETLIST &aNetlist)
Update the board's components according to the new netlist.
void SetIsDryRun(bool aEnabled)
void SetDeleteUnusedFootprints(bool aEnabled)
void SetOverrideLocks(bool aOverride)
std::vector< PCB_GROUP * > GetAddedGroups() const
void SetApplyDesignBlockLayouts(bool aEnabled)
void SetReplaceFootprints(bool aEnabled)
void SetLookupByTimestamp(bool aEnabled)
void SetUpdateFields(bool aEnabled)
void SetTransferGroups(bool aEnabled)
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
WX_HTML_REPORT_PANEL * m_messagePanel
wxCheckBox * m_cbRemoveExtraFields
wxCheckBox * m_cbTransferGroups
wxCheckBox * m_cbRelinkFootprints
wxCheckBox * m_cbUpdateFootprints
wxCheckBox * m_cbDeleteExtraFootprints
wxButton * m_sdbSizer1Cancel
wxCheckBox * m_cbUpdateFields
wxCheckBox * m_cbOverrideLocks
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)
wxCheckBox * m_cbApplyDesignBlockLayouts
void PerformUpdate(bool aDryRun)
void OnOptionChanged(wxCommandEvent &event) override
bool TransferDataToWindow() override
void OnUpdateClick(wxCommandEvent &event) override
DIALOG_UPDATE_PCB(PCB_EDIT_FRAME *aParent, NETLIST *aNetlist)
An interface for classes handling user events controlling the view behavior such as zooming,...
virtual VECTOR2D GetMousePosition(bool aWorldCoordinates=true) const =0
Return the current mouse pointer position.
virtual void SetCursorPosition(const VECTOR2D &aPosition, bool aWarpView=true, bool aTriggeredByArrows=false, long aArrowCommand=0)=0
Move cursor to the requested position expressed in world coordinates.
PROJECT & Prj() const
Return a reference to the PROJECT associated with this KIWAY.
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
static TOOL_ACTION applyDesignBlockLayout
static TOOL_ACTION move
move or drag an item
The main frame for Pcbnew.
A set of BOARD_ITEMs (i.e., without duplicates).
A pure virtual class used to derive REPORTER objects from.
void SetReferencePoint(const VECTOR2I &aP)
Class to handle a set of BOARD_ITEMs.
Class that computes missing connections on a PCB.
IbisParser parser & reporter
VECTOR2< int32_t > VECTOR2I