20 #ifndef LIBREPCB_EDITOR_CMDPACKAGEPADEDIT_H 21 #define LIBREPCB_EDITOR_CMDPACKAGEPADEDIT_H 26 #include "../../cmd/cmdlistelementinsert.h" 27 #include "../../cmd/cmdlistelementremove.h" 28 #include "../../cmd/cmdlistelementsswap.h" 29 #include "../../undocommand.h" The CmdListElementRemove class.
Definition: cmdlistelementremove.h:46
The PackagePad class represents one logical pad of a package.
Definition: packagepad.h:47
Event
Definition: packagepad.h:52
Definition: occmodel.cpp:77
PackagePad & mPad
Definition: cmdpackagepadedit.h:77
The CmdPackagePadEdit class.
Definition: cmdpackagepadedit.h:48
~CmdPackagePadEdit() noexcept
Definition: cmdpackagepadedit.cpp:44
The CmdListElementInsert class.
Definition: cmdlistelementinsert.h:46
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: packagepad.h:98
CmdPackagePadEdit & operator=(const CmdPackagePadEdit &rhs)=delete
type_safe::constrained_type< QString, CircuitIdentifierConstraint, CircuitIdentifierVerifier > CircuitIdentifier
Definition: circuitidentifier.h:96
bool performExecute() override
Execute the command the first time.
Definition: cmdpackagepadedit.cpp:60
The CmdListElementsSwap class.
Definition: cmdlistelementsswap.h:46
void performRedo() override
Redo the command.
Definition: cmdpackagepadedit.cpp:71
void setName(const CircuitIdentifier &name) noexcept
Definition: cmdpackagepadedit.cpp:51
CircuitIdentifier mNewName
Definition: cmdpackagepadedit.h:81
CmdPackagePadEdit()=delete
CircuitIdentifier mOldName
Definition: cmdpackagepadedit.h:80
void performUndo() override
Undo the command.
Definition: cmdpackagepadedit.cpp:67