20#ifndef LIBREPCB_EDITOR_CMDBOARDNETSEGMENTREMOVEELEMENTS_H
21#define LIBREPCB_EDITOR_CMDBOARDNETSEGMENTREMOVEELEMENTS_H
26#include "../../undocommand.h"
The BI_NetLine class.
Definition bi_netline.h:71
The BI_NetPoint class.
Definition bi_netpoint.h:46
The BI_NetSegment class.
Definition bi_netsegment.h:53
A pad in a board (either standalone or from a footprint)
Definition bi_pad.h:49
The BI_Via class.
Definition bi_via.h:44
The CmdBoardNetSegmentRemoveElements class.
Definition cmdboardnetsegmentremoveelements.h:50
void removePad(BI_Pad &pad)
Definition cmdboardnetsegmentremoveelements.cpp:54
void performRedo() override
Redo the command.
Definition cmdboardnetsegmentremoveelements.cpp:84
void removeNetLine(BI_NetLine &netline)
Definition cmdboardnetsegmentremoveelements.cpp:66
void removeVia(BI_Via &via)
Definition cmdboardnetsegmentremoveelements.cpp:58
QList< BI_NetLine * > mNetLines
Definition cmdboardnetsegmentremoveelements.h:79
void performUndo() override
Undo the command.
Definition cmdboardnetsegmentremoveelements.cpp:80
QList< BI_NetPoint * > mNetPoints
Definition cmdboardnetsegmentremoveelements.h:78
BI_NetSegment & mNetSegment
Definition cmdboardnetsegmentremoveelements.h:75
QList< BI_Via * > mVias
Definition cmdboardnetsegmentremoveelements.h:77
~CmdBoardNetSegmentRemoveElements() noexcept
Definition cmdboardnetsegmentremoveelements.cpp:47
void removeNetPoint(BI_NetPoint &netpoint)
Definition cmdboardnetsegmentremoveelements.cpp:62
bool performExecute() override
Execute the command the first time.
Definition cmdboardnetsegmentremoveelements.cpp:74
QList< BI_Pad * > mPads
Definition cmdboardnetsegmentremoveelements.h:76
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:77