20#ifndef LIBREPCB_EDITOR_CMDBOARDNETLINEEDIT_H
21#define LIBREPCB_EDITOR_CMDBOARDNETLINEEDIT_H
26#include "../../undocommand.h"
The BI_NetLine class.
Definition bi_netline.h:71
The Layer class provides all supported geometry layers.
Definition layer.h:42
The CmdBoardNetLineEdit class.
Definition cmdboardnetlineedit.h:48
void performRedo() override
Redo the command.
Definition cmdboardnetlineedit.cpp:78
BI_NetLine & getObj() const noexcept
Definition cmdboardnetlineedit.h:55
void setLayer(const Layer &layer) noexcept
Definition cmdboardnetlineedit.cpp:53
void performUndo() override
Undo the command.
Definition cmdboardnetlineedit.cpp:73
void setWidth(const PositiveLength &width) noexcept
Definition cmdboardnetlineedit.cpp:58
PositiveLength mNewWidth
Definition cmdboardnetlineedit.h:76
const Layer * mNewLayer
Definition cmdboardnetlineedit.h:74
PositiveLength mOldWidth
Definition cmdboardnetlineedit.h:75
BI_NetLine & mNetLine
Definition cmdboardnetlineedit.h:72
bool performExecute() override
Execute the command the first time.
Definition cmdboardnetlineedit.cpp:67
~CmdBoardNetLineEdit() noexcept
Definition cmdboardnetlineedit.cpp:46
const Layer * mOldLayer
Definition cmdboardnetlineedit.h:73
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810