![]() |
LibrePCB Developers Documentation
|
The BoardUserSettings class. More...
#include <boardusersettings.h>
Public Member Functions | |
BoardUserSettings ()=delete | |
BoardUserSettings (const BoardUserSettings &other)=delete | |
BoardUserSettings (Board &board, const BoardUserSettings &other) noexcept | |
BoardUserSettings (Board &board, bool restore, bool readOnly, bool create) | |
~BoardUserSettings () noexcept | |
bool | save (bool toOriginal, QStringList &errors) noexcept |
BoardUserSettings & | operator= (const BoardUserSettings &rhs)=delete |
![]() | |
SerializableObject () noexcept | |
virtual | ~SerializableObject () noexcept |
SExpression | serializeToDomElement (const QString &name) const |
Serialize the object to a new S-Expression node. More... | |
Private Member Functions | |
void | serialize (SExpression &root) const override |
Serialize the object into an existing S-Expression node. More... | |
Private Attributes | |
Board & | mBoard |
FilePath | mFilepath |
QScopedPointer< SmartSExprFile > | mFile |
QScopedPointer < GraphicsLayerStackAppearanceSettings > | mLayerSettings |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static void | serializeObjectContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainerUuidSorted (SExpression &root, const T &container, const QString &itemName) |
The BoardUserSettings class.
|
delete |
|
delete |
|
noexcept |
|
explicit |
|
noexcept |
|
noexcept |
|
delete |
|
overrideprivatevirtual |
Serialize the object into an existing S-Expression node.
This method inserts/appends all attributes and childs of the object to an existing S-Expression node. The content which already exists in the given S-Expression node will not be removed.
root | The target DOM root node |
Exception | This method throws an exception if an error occurs. |
Implements SerializableObject.
|
private |
|
private |
|
private |
|
private |