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:44
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 CmdSchematicNetSegmentAddElements class.
Definition cmdschematicnetsegmentaddelements.h:51
void performRedo() override
Redo the command.
Definition cmdschematicnetsegmentaddelements.cpp:94
~CmdSchematicNetSegmentAddElements() noexcept
Definition cmdschematicnetsegmentaddelements.cpp:47
void performUndo() override
Undo the command.
Definition cmdschematicnetsegmentaddelements.cpp:90
SI_NetPoint * addNetPoint(SI_NetPoint &netpoint)
Definition cmdschematicnetsegmentaddelements.cpp:54
SI_NetSegment & mNetSegment
Definition cmdschematicnetsegmentaddelements.h:78
QList< SI_NetPoint * > mNetPoints
Definition cmdschematicnetsegmentaddelements.h:79
bool performExecute() override
Execute the command the first time.
Definition cmdschematicnetsegmentaddelements.cpp:84
SI_NetLine * addNetLine(SI_NetLine &netline)
Definition cmdschematicnetsegmentaddelements.cpp:67
QList< SI_NetLine * > mNetLines
Definition cmdschematicnetsegmentaddelements.h:80
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76