20#ifndef LIBREPCB_EDITOR_CMDDEVICEPADSIGNALMAPITEMEDIT_H
21#define LIBREPCB_EDITOR_CMDDEVICEPADSIGNALMAPITEMEDIT_H
26#include "../../cmd/cmdlistelementinsert.h"
27#include "../../cmd/cmdlistelementremove.h"
28#include "../../cmd/cmdlistelementsswap.h"
29#include "../../undocommand.h"
The DevicePadSignalMapItem class.
Definition devicepadsignalmap.h:42
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The CmdDevicePadSignalMapItemEdit class.
Definition cmddevicepadsignalmapitemedit.h:49
void performRedo() override
Redo the command.
Definition cmddevicepadsignalmapitemedit.cpp:73
std::optional< Uuid > mOldSignalUuid
Definition cmddevicepadsignalmapitemedit.h:78
void performUndo() override
Undo the command.
Definition cmddevicepadsignalmapitemedit.cpp:69
std::optional< Uuid > mNewSignalUuid
Definition cmddevicepadsignalmapitemedit.h:79
void setSignalUuid(const std::optional< Uuid > &uuid) noexcept
Definition cmddevicepadsignalmapitemedit.cpp:52
DevicePadSignalMapItem & mItem
Definition cmddevicepadsignalmapitemedit.h:76
CmdDevicePadSignalMapItemEdit(const CmdDevicePadSignalMapItemEdit &other)=delete
~CmdDevicePadSignalMapItemEdit() noexcept
Definition cmddevicepadsignalmapitemedit.cpp:45
bool performExecute() override
Execute the command the first time.
Definition cmddevicepadsignalmapitemedit.cpp:62
CmdDevicePadSignalMapItemEdit()=delete
The CmdListElementInsert class.
Definition cmdlistelementinsert.h:46
The CmdListElementRemove class.
Definition cmdlistelementremove.h:46
The CmdListElementsSwap class.
Definition cmdlistelementsswap.h:46
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
CmdListElementInsert< DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event > CmdDevicePadSignalMapItemInsert
Definition cmddevicepadsignalmapitemedit.h:88
CmdListElementRemove< DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event > CmdDevicePadSignalMapItemRemove
Definition cmddevicepadsignalmapitemedit.h:91
CmdListElementsSwap< DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event > CmdDevicePadSignalMapItemsSwap
Definition cmddevicepadsignalmapitemedit.h:94
Definition occmodel.cpp:76
Definition devicepadsignalmap.h:98