20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTREMOVEELEMENTS_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTREMOVEELEMENTS_H
26#include "../../undocommand.h"
The SI_NetLine class.
Definition si_netline.h:65
The SI_NetPoint class.
Definition si_netpoint.h:44
The SI_NetSegment class.
Definition si_netsegment.h:53
The CmdSchematicNetSegmentRemoveElements class.
Definition cmdschematicnetsegmentremoveelements.h:48
void performRedo() override
Redo the command.
Definition cmdschematicnetsegmentremoveelements.cpp:78
void performUndo() override
Undo the command.
Definition cmdschematicnetsegmentremoveelements.cpp:74
void removeNetPoint(SI_NetPoint &netpoint)
Definition cmdschematicnetsegmentremoveelements.cpp:55
~CmdSchematicNetSegmentRemoveElements() noexcept
Definition cmdschematicnetsegmentremoveelements.cpp:48
SI_NetSegment & mNetSegment
Definition cmdschematicnetsegmentremoveelements.h:72
QList< SI_NetPoint * > mNetPoints
Definition cmdschematicnetsegmentremoveelements.h:73
bool performExecute() override
Execute the command the first time.
Definition cmdschematicnetsegmentremoveelements.cpp:68
void removeNetLine(SI_NetLine &netline)
Definition cmdschematicnetsegmentremoveelements.cpp:60
QList< SI_NetLine * > mNetLines
Definition cmdschematicnetsegmentremoveelements.h:74
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76