20#ifndef LIBREPCB_EDITOR_CMDREMOVEBOARDITEMS_H
21#define LIBREPCB_EDITOR_CMDREMOVEBOARDITEMS_H
26#include "../../undocommandgroup.h"
64 QSet<BI_FootprintPad*>
pads;
125 const QSet<BI_FootprintPad*>& padsToDisconnect,
126 const QSet<BI_Via*>& viasToRemove,
127 const QSet<BI_NetPoint*>& netpointsToRemove,
128 const QSet<BI_NetLine*>& netlinesToRemove);
The BI_Device class.
Definition bi_device.h:57
The BI_NetSegment class.
Definition bi_netsegment.h:52
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:73
The CmdRemoveBoardItems class.
Definition cmdremoveboarditems.h:57
QSet< BI_Plane * > mPlanes
Definition cmdremoveboarditems.h:139
QSet< BI_NetPoint * > mNetPoints
Definition cmdremoveboarditems.h:137
void removeNetSegmentItems(BI_NetSegment &netsegment, const QSet< BI_FootprintPad * > &padsToDisconnect, const QSet< BI_Via * > &viasToRemove, const QSet< BI_NetPoint * > &netpointsToRemove, const QSet< BI_NetLine * > &netlinesToRemove)
Definition cmdremoveboarditems.cpp:169
void removeZones(const QSet< BI_Zone * > &set)
Definition cmdremoveboarditems.h:100
QSet< BI_Zone * > mZones
Definition cmdremoveboarditems.h:140
QSet< BI_Polygon * > mPolygons
Definition cmdremoveboarditems.h:141
QSet< BI_StrokeText * > mStrokeTexts
Definition cmdremoveboarditems.h:142
void removeDeviceInstances(const QSet< BI_Device * > &set)
Definition cmdremoveboarditems.h:76
CmdRemoveBoardItems()=delete
void removeVias(const QSet< BI_Via * > &set)
Definition cmdremoveboarditems.h:84
Board & mBoard
Definition cmdremoveboarditems.h:131
void removeStrokeTexts(const QSet< BI_StrokeText * > &set)
Definition cmdremoveboarditems.h:108
CmdRemoveBoardItems(const CmdRemoveBoardItems &other)=delete
QSet< BI_Via * > mVias
Definition cmdremoveboarditems.h:136
void removeNetPoints(const QSet< BI_NetPoint * > &set)
Definition cmdremoveboarditems.h:88
void removePolygons(const QSet< BI_Polygon * > &set)
Definition cmdremoveboarditems.h:104
QSet< BI_Device * > mDeviceInstances
Definition cmdremoveboarditems.h:134
CmdRemoveBoardItems & operator=(const CmdRemoveBoardItems &other)=delete
QSet< BI_NetSegment * > mNetSegments
Definition cmdremoveboarditems.h:135
void removeHoles(const QSet< BI_Hole * > &set)
Definition cmdremoveboarditems.h:112
bool performExecute() override
Execute the command the first time.
Definition cmdremoveboarditems.cpp:74
QHash< BI_NetSegment *, NetSegmentItems > NetSegmentItemList
Definition cmdremoveboarditems.h:66
QSet< BI_Hole * > mHoles
Definition cmdremoveboarditems.h:143
QSet< BI_NetLine * > mNetLines
Definition cmdremoveboarditems.h:138
void removePlanes(const QSet< BI_Plane * > &set)
Definition cmdremoveboarditems.h:96
~CmdRemoveBoardItems() noexcept
Definition cmdremoveboarditems.cpp:67
void removeNetLines(const QSet< BI_NetLine * > &set)
Definition cmdremoveboarditems.h:92
void removeNetSegments(const QSet< BI_NetSegment * > &set)
Definition cmdremoveboarditems.h:80
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition undocommandgroup.h:44
bool wasEverExecuted() const noexcept
This method shows whether that command was ever executed (execute() called successfully)
Definition undocommand.h:63
Definition occmodel.cpp:76
Definition cmdremoveboarditems.h:60
QSet< BI_FootprintPad * > pads
Definition cmdremoveboarditems.h:64
QSet< BI_NetPoint * > netpoints
Definition cmdremoveboarditems.h:62
QSet< BI_NetLine * > netlines
Definition cmdremoveboarditems.h:63
QSet< BI_Via * > vias
Definition cmdremoveboarditems.h:61