LibrePCB Developers Documentation
|
Represents a 3D model of a librepcb::Package. More...
#include <packagemodel.h>
Public Types | |
enum class | Event |
typedef Slot< PackageModel, Event > | OnEditedSlot |
Public Member Functions | |
PackageModel ()=delete | |
PackageModel (const PackageModel &other) noexcept | |
PackageModel (const Uuid &uuid, const ElementName &name) noexcept | |
PackageModel (const SExpression &node) | |
~PackageModel () noexcept | |
const Uuid & | getUuid () const noexcept |
const ElementName & | getName () const noexcept |
QString | getFileName () const noexcept |
bool | setName (const ElementName &name) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
bool | operator== (const PackageModel &rhs) const noexcept |
bool | operator!= (const PackageModel &rhs) const noexcept |
PackageModel & | operator= (const PackageModel &rhs) noexcept |
Public Attributes | |
Signal< PackageModel, Event > | onEdited |
Private Attributes | |
Uuid | mUuid |
ElementName | mName |
Represents a 3D model of a librepcb::Package.
typedef Slot<PackageModel, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
noexcept |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
Signal<PackageModel, Event> onEdited |
|
private |
|
private |