20 #ifndef LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTADDELEMENTS_H 21 #define LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTADDELEMENTS_H 26 #include "../../undocommand.h" 38 class SI_NetLineAnchor;
bool performExecute() override
Execute the command the first time.
Definition: cmdschematicnetsegmentaddelements.cpp:84
SI_NetLine * addNetLine(SI_NetLine &netline)
Definition: cmdschematicnetsegmentaddelements.cpp:67
void performRedo() override
Redo the command.
Definition: cmdschematicnetsegmentaddelements.cpp:94
Definition: occmodel.cpp:77
CmdSchematicNetSegmentAddElements(SI_NetSegment &segment) noexcept
Definition: cmdschematicnetsegmentaddelements.cpp:41
void performUndo() override
Undo the command.
Definition: cmdschematicnetsegmentaddelements.cpp:90
The CmdSchematicNetSegmentAddElements class.
Definition: cmdschematicnetsegmentaddelements.h:51
Definition: si_netline.h:44
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:79
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
The SI_NetPoint class.
Definition: si_netpoint.h:44
SI_NetSegment & mNetSegment
Definition: cmdschematicnetsegmentaddelements.h:78
QList< SI_NetLine * > mNetLines
Definition: cmdschematicnetsegmentaddelements.h:80
~CmdSchematicNetSegmentAddElements() noexcept
Definition: cmdschematicnetsegmentaddelements.cpp:47
QList< SI_NetPoint * > mNetPoints
Definition: cmdschematicnetsegmentaddelements.h:79
The SI_NetLine class.
Definition: si_netline.h:65
The SI_NetSegment class.
Definition: si_netsegment.h:53
SI_NetPoint * addNetPoint(SI_NetPoint &netpoint)
Definition: cmdschematicnetsegmentaddelements.cpp:54