LibrePCB Developers Documentation
Loading...
Searching...
No Matches
BoardClipboardData::Device Struct Reference

#include <boardclipboarddata.h>

+ Collaboration diagram for BoardClipboardData::Device:

Public Member Functions

 Device (const Uuid &componentUuid, const Uuid &libDeviceUuid, const Uuid &libFootprintUuid, const Point &position, const Angle &rotation, bool mirrored, bool locked, const AttributeList &attributes, const QList< BoardStrokeTextData > &strokeTexts)
 
 Device (const SExpression &node)
 
void serialize (SExpression &root) const
 
bool operator!= (const Device &rhs) noexcept
 

Public Attributes

Uuid componentUuid
 
Uuid libDeviceUuid
 
Uuid libFootprintUuid
 
Point position
 
Angle rotation
 
bool mirrored
 
bool locked
 
AttributeList attributes
 
QList< BoardStrokeTextDatastrokeTexts
 
Signal< DeviceonEdited
 Dummy event, not used.
 

Static Public Attributes

static constexpr const char * tagname = "device"
 

Constructor & Destructor Documentation

◆ Device() [1/2]

Device ( const Uuid componentUuid,
const Uuid libDeviceUuid,
const Uuid libFootprintUuid,
const Point position,
const Angle rotation,
bool  mirrored,
bool  locked,
const AttributeList attributes,
const QList< BoardStrokeTextData > &  strokeTexts 
)
inline

◆ Device() [2/2]

Device ( const SExpression node)
inlineexplicit
+ Here is the call graph for this function:

Member Function Documentation

◆ serialize()

void serialize ( SExpression root) const
inline
+ Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const Device rhs)
inlinenoexcept

Member Data Documentation

◆ tagname

constexpr const char* tagname = "device"
staticconstexpr

◆ componentUuid

Uuid componentUuid

◆ libDeviceUuid

Uuid libDeviceUuid

◆ libFootprintUuid

Uuid libFootprintUuid

◆ position

Point position

◆ rotation

Angle rotation

◆ mirrored

bool mirrored

◆ locked

bool locked

◆ attributes

AttributeList attributes

◆ strokeTexts

QList<BoardStrokeTextData> strokeTexts

◆ onEdited

Signal<Device> onEdited

Dummy event, not used.


The documentation for this struct was generated from the following file: