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