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