41 m_netlist( aNetlist ),
42 m_initialized( false )
53 { wxID_CANCEL,
_(
"Close" ) } } );
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)
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...
Class DIALOG_UPDATE_PCB_BASE.
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
void PerformUpdate(bool aDryRun)
void OnOptionChanged(wxCommandEvent &event) override
void OnUpdateClick(wxCommandEvent &event) override
DIALOG_UPDATE_PCB(PCB_EDIT_FRAME *aParent, NETLIST *aNetlist)
KIGFX::VIEW_CONTROLS * GetViewControls() const
Return a pointer to the #VIEW_CONTROLS instance used in the panel.
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.
void SetReplaceFootprints(bool aReplace)
void SetFindByTimeStamp(bool aFindByTimeStamp)
static TOOL_ACTION move
move or drag an item
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
The main frame for Pcbnew.
void OnNetlistChanged(BOARD_NETLIST_UPDATER &aUpdater, bool *aRunDragCommand)
Called after netlist is updated.
A pure virtual class used to derive REPORTER objects from.
void Clear()
Clears the report panel.
void SetLazyUpdate(bool aLazyUpdate)
Set the lazy update.
void SetLabel(const wxString &aLabel) override
Set the frame label.
void SetFileName(const wxString &aReportFileName)
Set the report full file name to the string.
void Flush(bool aSort=false)
Force updating the HTML page, after the report is built in lazy mode If aSort = true,...
REPORTER & Reporter()
Return the reporter object that reports to this panel.
Class that computes missing connections on a PCB.