20#ifndef LIBREPCB_EDITOR_CMDPASTESCHEMATICITEMS_H
21#define LIBREPCB_EDITOR_CMDPASTESCHEMATICITEMS_H
26#include "../../undocommandgroup.h"
44class SchematicClipboardData;
45class SchematicGraphicsScene;
60 std::unique_ptr<SchematicClipboardData> data,
61 const Point& posOffset)
noexcept;
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 Schematic class represents one schematic page of a project and is always part of a circuit.
Definition schematic.h:74
The CmdPasteSchematicItems class.
Definition cmdpasteschematicitems.h:54
Schematic & mSchematic
Definition cmdpasteschematicitems.h:73
SchematicGraphicsScene & mScene
Definition cmdpasteschematicitems.h:72
CmdPasteSchematicItems(const CmdPasteSchematicItems &other)=delete
std::unique_ptr< SchematicClipboardData > mData
Definition cmdpasteschematicitems.h:75
Project & mProject
Definition cmdpasteschematicitems.h:74
~CmdPasteSchematicItems() noexcept
Definition cmdpasteschematicitems.cpp:90
CmdPasteSchematicItems()=delete
Point mPosOffset
Definition cmdpasteschematicitems.h:76
bool performExecute() override
Execute the command the first time.
Definition cmdpasteschematicitems.cpp:97
The SchematicClipboardData class.
Definition schematicclipboarddata.h:56
The SchematicGraphicsScene class.
Definition schematicgraphicsscene.h:67
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