20#ifndef LIBREPCB_EDITOR_CMDCOMPONENTPINSIGNALMAPITEMEDIT_H
21#define LIBREPCB_EDITOR_CMDCOMPONENTPINSIGNALMAPITEMEDIT_H
26#include "../../undocommand.h"
38class ComponentPinSignalMapItem;
The CmpSigPinDisplayType clas.
Definition: cmpsigpindisplaytype.h:40
The ComponentPinSignalMapItem class maps a symbol pin to a component signal.
Definition: componentpinsignalmap.h:50
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The CmdComponentPinSignalMapItemEdit class.
Definition: cmdcomponentpinsignalmapitemedit.h:49
void performRedo() override
Redo the command.
Definition: cmdcomponentpinsignalmapitemedit.cpp:85
CmdComponentPinSignalMapItemEdit(const CmdComponentPinSignalMapItemEdit &other)=delete
ComponentPinSignalMapItem & mItem
Definition: cmdcomponentpinsignalmapitemedit.h:78
tl::optional< Uuid > mNewSignalUuid
Definition: cmdcomponentpinsignalmapitemedit.h:81
void setSignalUuid(const tl::optional< Uuid > &uuid) noexcept
Definition: cmdcomponentpinsignalmapitemedit.cpp:56
tl::optional< Uuid > mOldSignalUuid
Definition: cmdcomponentpinsignalmapitemedit.h:80
void setDisplayType(const CmpSigPinDisplayType &type) noexcept
Definition: cmdcomponentpinsignalmapitemedit.cpp:62
CmpSigPinDisplayType mOldDisplayType
Definition: cmdcomponentpinsignalmapitemedit.h:82
void performUndo() override
Undo the command.
Definition: cmdcomponentpinsignalmapitemedit.cpp:80
~CmdComponentPinSignalMapItemEdit() noexcept
Definition: cmdcomponentpinsignalmapitemedit.cpp:49
CmdComponentPinSignalMapItemEdit()=delete
CmpSigPinDisplayType mNewDisplayType
Definition: cmdcomponentpinsignalmapitemedit.h:83
bool performExecute() override
Execute the command the first time.
Definition: cmdcomponentpinsignalmapitemedit.cpp:72
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77