36 m_parentFrame( aParentFrame ),
147 else if( !commit.
Empty() )
150 commit.
Push(
_(
"Board cleanup" ) );
static TOOL_ACTION selectionClear
Clear the current selection.
BOARD_ITEM * GetItem(const KIID &aID) const
void SetProvider(RC_ITEMS_PROVIDER *aProvider)
void Compile_Ratsnest(bool aDisplayStatus)
Create the entire board ratsnest.
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
bool TransferDataToWindow() override
wxCheckBox * m_mergeSegmOpt
static KIID ToUUID(wxDataViewItem aItem)
void doCleanup(bool aDryRun)
void SetSeverities(int aSeverities)
Provide an abstract interface of a RC_ITEM* list manager.
wxCheckBox * m_cleanShortCircuitOpt
PCB_EDIT_FRAME * m_parentFrame
bool TransferDataFromWindow() override
RC_TREE_MODEL * m_changesTreeModel
std::vector< std::shared_ptr< CLEANUP_ITEM > > m_items
VECTOR_CLEANUP_ITEMS_PROVIDER is an implementation of the interface named RC_ITEMS_PROVIDER which use...
void OnCheckBox(wxCommandEvent &anEvent) override
wxCheckBox * m_deleteDanglingViasOpt
bool Show(bool show) override
virtual void Refresh(bool aEraseBackground=true, const wxRect *aRect=NULL) override
Update the board display after modifying it by a python script (note: it is automatically called by a...
bool Empty() const
Returns status of an item.
wxStdDialogButtonSizer * m_sdbSizer
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
Class DIALOG_CLEANUP_TRACKS_AND_VIAS_BASE.
void OnSelectItem(wxDataViewEvent &event) override
void OnLeftDClickItem(wxMouseEvent &event) override
The main frame for Pcbnew.
PCBNEW_SETTINGS * GetPcbNewSettings() const
wxCheckBox * m_deleteTracksInPadsOpt
virtual void Push(const wxString &aMessage=wxT("A commit"), bool aCreateUndoEntry=true, bool aSetDirtyBit=true) override
Revert the commit by restoring the modified items state.
wxCheckBox * m_deleteUnconnectedOpt
~DIALOG_CLEANUP_TRACKS_AND_VIAS()
wxDataViewCtrl * m_changesDataView
DIALOG_CLEANUP_TRACKS_AND_VIAS(PCB_EDIT_FRAME *parent)
void FocusOnItem(BOARD_ITEM *aItem)
wxCheckBox * m_cleanViasOpt