98 FOOTPRINT* footprint = static_cast<FOOTPRINT*>( item );
109 PAD*
pad = static_cast<PAD*>( item );
124 for(
PAD*
pad : footprint->Pads() )
COMMIT & Modify(EDA_ITEM *aItem)
Create an undo entry for an item that has been already modified.
DIALOG_UNUSED_PAD_LAYERS(PCB_BASE_FRAME *aParent, const PCB_SELECTION &aItems, COMMIT &aCommit)
const PCB_SELECTION & m_items
Represent a set of changes (additions, deletions or modifications) of a data model (e....
class PAD, a pad in a footprint
bool TransferDataFromWindow() override
Class DIALOG_UNUSED_PAD_LAYERS_BASE.
FOOTPRINTS & Footprints()
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
class FOOTPRINT, a footprint
void syncImages(wxCommandEvent &aEvent) override
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
virtual void Push(const wxString &aMessage=wxT("A commit"), bool aCreateUndoEntry=true, bool aSetDirtyBit=true)=0
Revert the commit by restoring the modified items state.
wxCheckBox * m_cbSelectedOnly
A base class for most all the KiCad significant classes used in schematics and boards.
class PCB_VIA, a via (like a track segment on a copper layer)
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
wxButton * m_StdButtonsOK
wxCheckBox * m_cbPreservePads