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:52
The BI_Via class.
Definition bi_via.h:44
The CmdBoardNetSegmentRemoveElements class.
Definition cmdboardnetsegmentremoveelements.h:49
void performRedo() override
Redo the command.
Definition cmdboardnetsegmentremoveelements.cpp:80
void removeNetLine(BI_NetLine &netline)
Definition cmdboardnetsegmentremoveelements.cpp:62
void removeVia(BI_Via &via)
Definition cmdboardnetsegmentremoveelements.cpp:54
QList< BI_NetLine * > mNetLines
Definition cmdboardnetsegmentremoveelements.h:76
void performUndo() override
Undo the command.
Definition cmdboardnetsegmentremoveelements.cpp:76
QList< BI_NetPoint * > mNetPoints
Definition cmdboardnetsegmentremoveelements.h:75
BI_NetSegment & mNetSegment
Definition cmdboardnetsegmentremoveelements.h:73
QList< BI_Via * > mVias
Definition cmdboardnetsegmentremoveelements.h:74
~CmdBoardNetSegmentRemoveElements() noexcept
Definition cmdboardnetsegmentremoveelements.cpp:47
void removeNetPoint(BI_NetPoint &netpoint)
Definition cmdboardnetsegmentremoveelements.cpp:58
bool performExecute() override
Execute the command the first time.
Definition cmdboardnetsegmentremoveelements.cpp:70
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76