20#ifndef LIBREPCB_EDITOR_CMDPASTESYMBOLITEMS_H
21#define LIBREPCB_EDITOR_CMDPASTESYMBOLITEMS_H
26#include "../../undocommandgroup.h"
43class SymbolClipboardData;
44class SymbolGraphicsItem;
59 std::unique_ptr<SymbolClipboardData> data,
60 const Point& posOffset)
noexcept;
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The Symbol class represents the part of a component which is added to schematics.
Definition: symbol.h:55
The CmdPasteSymbolItems class.
Definition: cmdpastesymbolitems.h:53
SymbolGraphicsItem & mGraphicsItem
Definition: cmdpastesymbolitems.h:72
CmdPasteSymbolItems()=delete
Symbol & mSymbol
Definition: cmdpastesymbolitems.h:71
CmdPasteSymbolItems(const CmdPasteSymbolItems &other)=delete
Point mPosOffset
Definition: cmdpastesymbolitems.h:74
~CmdPasteSymbolItems() noexcept
Definition: cmdpastesymbolitems.cpp:64
bool performExecute() override
Execute the command the first time.
Definition: cmdpastesymbolitems.cpp:71
std::unique_ptr< SymbolClipboardData > mData
Definition: cmdpastesymbolitems.h:73
The SymbolClipboardData class.
Definition: symbolclipboarddata.h:52
The SymbolGraphicsItem class.
Definition: symbolgraphicsitem.h:56
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition: undocommandgroup.h:44
Definition: occmodel.cpp:77