20#ifndef LIBREPCB_EDITOR_SYMBOLCLIPBOARDDATA_H
21#define LIBREPCB_EDITOR_SYMBOLCLIPBOARDDATA_H
43class IF_GraphicsLayerProvider;
79 static std::unique_ptr<SymbolClipboardData>
fromMimeData(
80 const QMimeData* mime);
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The SExpression class.
Definition sexpression.h:69
int count() const noexcept
Definition serializableobjectlist.h:199
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition graphicslayer.h:111
The SymbolClipboardData class.
Definition symbolclipboarddata.h:52
static QString getMimeType() noexcept
Definition symbolclipboarddata.cpp:135
SymbolClipboardData(const SymbolClipboardData &other)=delete
const SymbolPinList & getPins() const noexcept
Definition symbolclipboarddata.h:69
SymbolPinList mPins
Definition symbolclipboarddata.h:92
TextList mTexts
Definition symbolclipboarddata.h:95
static std::unique_ptr< SymbolClipboardData > fromMimeData(const QMimeData *mime)
Definition symbolclipboarddata.cpp:96
PolygonList & getPolygons() noexcept
Definition symbolclipboarddata.h:70
CircleList mCircles
Definition symbolclipboarddata.h:94
TextList & getTexts() noexcept
Definition symbolclipboarddata.h:74
const PolygonList & getPolygons() const noexcept
Definition symbolclipboarddata.h:71
bool getItemCount() const noexcept
Definition symbolclipboarddata.h:62
Uuid mSymbolUuid
Definition symbolclipboarddata.h:90
const Point & getCursorPos() const noexcept
Definition symbolclipboarddata.h:67
const CircleList & getCircles() const noexcept
Definition symbolclipboarddata.h:73
SymbolClipboardData & operator=(const SymbolClipboardData &rhs)=delete
const TextList & getTexts() const noexcept
Definition symbolclipboarddata.h:75
SymbolPinList & getPins() noexcept
Definition symbolclipboarddata.h:68
PolygonList mPolygons
Definition symbolclipboarddata.h:93
SymbolClipboardData()=delete
CircleList & getCircles() noexcept
Definition symbolclipboarddata.h:72
const Uuid & getSymbolUuid() const noexcept
Definition symbolclipboarddata.h:66
std::unique_ptr< QMimeData > toMimeData(const IF_GraphicsLayerProvider &lp)
Definition symbolclipboarddata.cpp:67
~SymbolClipboardData() noexcept
Definition symbolclipboarddata.cpp:60
Point mCursorPos
Definition symbolclipboarddata.h:91
QPixmap generatePixmap(const IF_GraphicsLayerProvider &lp) noexcept
Definition symbolclipboarddata.cpp:113
Definition occmodel.cpp:76