20#ifndef LIBREPCB_EDITOR_CMDPASTEBOARDITEMS_H
21#define LIBREPCB_EDITOR_CMDPASTEBOARDITEMS_H
26#include "../../undocommandgroup.h"
45class BoardClipboardData;
46class BoardGraphicsScene;
61 std::unique_ptr<BoardClipboardData> data,
62 const Point& posOffset)
noexcept;
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:73
The NetSignal class.
Definition netsignal.h:50
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The Project class represents a whole (opened) project with all its content.
Definition project.h:71
The BoardClipboardData class.
Definition boardclipboarddata.h:64
The BoardGraphicsScene class.
Definition boardgraphicsscene.h:77
The CmdPasteBoardItems class.
Definition cmdpasteboarditems.h:55
NetSignal * getOrCreateNetSignal(const QString &name)
Definition cmdpasteboarditems.cpp:348
CmdPasteBoardItems(const CmdPasteBoardItems &other)=delete
BoardGraphicsScene & mScene
Definition cmdpasteboarditems.h:75
CmdPasteBoardItems()=delete
Board & mBoard
Definition cmdpasteboarditems.h:76
std::unique_ptr< BoardClipboardData > mData
Definition cmdpasteboarditems.h:78
Project & mProject
Definition cmdpasteboarditems.h:77
~CmdPasteBoardItems() noexcept
Definition cmdpasteboarditems.cpp:95
Point mPosOffset
Definition cmdpasteboarditems.h:79
bool performExecute() override
Execute the command the first time.
Definition cmdpasteboarditems.cpp:102
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition undocommandgroup.h:44
Definition occmodel.cpp:76