LibrePCB Developers Documentation
|
The BoardClipboardData class. More...
#include <boardclipboarddata.h>
Classes | |
struct | Device |
struct | NetSegment |
struct | Plane |
Public Member Functions | |
BoardClipboardData ()=delete | |
BoardClipboardData (const BoardClipboardData &other)=delete | |
BoardClipboardData (const Uuid &boardUuid, const Point &cursorPos) noexcept | |
BoardClipboardData (const QByteArray &mimeData) | |
~BoardClipboardData () noexcept | |
bool | isEmpty () const noexcept |
std::unique_ptr< TransactionalDirectory > | getDirectory (const QString &path="") noexcept |
const Uuid & | getBoardUuid () const noexcept |
const Point & | getCursorPos () const noexcept |
SerializableObjectList< Device, Device > & | getDevices () noexcept |
SerializableObjectList< NetSegment, NetSegment > & | getNetSegments () noexcept |
SerializableObjectList< Plane, Plane > & | getPlanes () noexcept |
QList< BoardZoneData > & | getZones () noexcept |
QList< BoardPolygonData > & | getPolygons () noexcept |
QList< BoardStrokeTextData > & | getStrokeTexts () noexcept |
QList< BoardHoleData > & | getHoles () noexcept |
QMap< std::pair< Uuid, Uuid >, Point > & | getPadPositions () noexcept |
std::unique_ptr< QMimeData > | toMimeData () const |
BoardClipboardData & | operator= (const BoardClipboardData &rhs)=delete |
Static Public Member Functions | |
static std::unique_ptr< BoardClipboardData > | fromMimeData (const QMimeData *mime) |
Static Private Member Functions | |
static QString | getMimeType () noexcept |
Private Attributes | |
std::shared_ptr< TransactionalFileSystem > | mFileSystem |
Uuid | mBoardUuid |
Point | mCursorPos |
SerializableObjectList< Device, Device > | mDevices |
SerializableObjectList< NetSegment, NetSegment > | mNetSegments |
SerializableObjectList< Plane, Plane > | mPlanes |
QList< BoardZoneData > | mZones |
QList< BoardPolygonData > | mPolygons |
QList< BoardStrokeTextData > | mStrokeTexts |
QList< BoardHoleData > | mHoles |
QMap< std::pair< Uuid, Uuid >, Point > | mPadPositions |
The BoardClipboardData class.
|
delete |
|
delete |
|
noexcept |
|
explicit |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
std::unique_ptr< QMimeData > toMimeData | ( | ) | const |
|
static |
|
delete |
|
staticprivatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |