Theme class as used by librepcb::WorkspaceSettingsItem_Themes.
More...
#include <theme.h>
|
void | addColor (const QString &id, const char *category, const char *name, const QColor &primary, const QColor &secondary, const QString &nameSuffix=QString()) noexcept |
|
SExpression & | addNode (const QString &name) noexcept |
|
◆ GridStyle
Enumerator |
---|
None | |
Dots | |
Lines | |
◆ Theme() [1/3]
◆ Theme() [2/3]
Theme |
( |
const Uuid & |
uuid, |
|
|
const QString & |
name, |
|
|
const Theme & |
copyFrom |
|
) |
| |
|
noexcept |
◆ Theme() [3/3]
◆ ~Theme()
◆ getUuid()
const Uuid & getUuid |
( |
| ) |
const |
|
inlinenoexcept |
◆ getName()
const QString & getName |
( |
| ) |
const |
|
inlinenoexcept |
◆ getColors()
◆ getColor()
const ThemeColor & getColor |
( |
const QString & |
identifier | ) |
const |
|
noexcept |
◆ getSchematicGridStyle()
◆ getBoardGridStyle()
◆ setName()
void setName |
( |
const QString & |
name | ) |
|
|
noexcept |
◆ setColors()
void setColors |
( |
const QList< ThemeColor > & |
colors | ) |
|
|
noexcept |
◆ setSchematicGridStyle()
void setSchematicGridStyle |
( |
GridStyle |
style | ) |
|
|
noexcept |
◆ setBoardGridStyle()
◆ restoreDefaults()
◆ load()
◆ serialize()
◆ operator==()
bool operator== |
( |
const Theme & |
rhs | ) |
const |
|
noexcept |
◆ operator!=()
bool operator!= |
( |
const Theme & |
rhs | ) |
const |
|
inlinenoexcept |
◆ operator=()
◆ getCopperColorNames()
const QSet< QString > & getCopperColorNames |
( |
| ) |
|
|
staticnoexcept |
◆ getGrabAreaColorName()
QString getGrabAreaColorName |
( |
const QString & |
outlineColorName | ) |
|
|
staticnoexcept |
◆ addColor()
void addColor |
( |
const QString & |
id, |
|
|
const char * |
category, |
|
|
const char * |
name, |
|
|
const QColor & |
primary, |
|
|
const QColor & |
secondary, |
|
|
const QString & |
nameSuffix = QString() |
|
) |
| |
|
privatenoexcept |
◆ addNode()
◆ mNodes
◆ mUuid
◆ mName
◆ mColors
◆ mSchematicGridStyle
◆ mBoardGridStyle
The documentation for this class was generated from the following files:
- /__w/1/s/libs/librepcb/core/workspace/theme.h
- /__w/1/s/libs/librepcb/core/workspace/theme.cpp