20 #ifndef LIBREPCB_LIBRARY_EDITOR_CMDPASTESYMBOLITEMS_H
21 #define LIBREPCB_LIBRARY_EDITOR_CMDPASTESYMBOLITEMS_H
40 class SymbolGraphicsItem;
44 class SymbolClipboardData;
59 std::unique_ptr<SymbolClipboardData> data,
60 const Point& posOffset) noexcept;
73 std::unique_ptr<SymbolClipboardData>
mData;
85 #endif // LIBREPCB_LIBRARY_EDITOR_CMDPASTESYMBOLITEMS_H
CmdPasteSymbolItems & operator=(const CmdPasteSymbolItems &rhs)=delete
bool performExecute() override
Execute the command the first time.
Definition: cmdpastesymbolitems.cpp:68
~CmdPasteSymbolItems() noexcept
Definition: cmdpastesymbolitems.cpp:61
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition: undocommandgroup.h:43
The Symbol class represents the part of a component which is added to schematics. ...
Definition: symbol.h:57
Point mPosOffset
Definition: cmdpastesymbolitems.h:74
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:78
CmdPasteSymbolItems()=delete
std::unique_ptr< SymbolClipboardData > mData
Definition: cmdpastesymbolitems.h:73
SymbolGraphicsItem & mGraphicsItem
Definition: cmdpastesymbolitems.h:72
The CmdPasteSymbolItems class.
Definition: cmdpastesymbolitems.h:53
The SymbolGraphicsItem class.
Definition: symbolgraphicsitem.h:58
Symbol & mSymbol
Definition: cmdpastesymbolitems.h:71