Implementation of librepcb::WorkspaceSettingsItem to store theme configurations.
More...
#include <workspacesettingsitem_themes.h>
Implementation of librepcb::WorkspaceSettingsItem to store theme configurations.
◆ WorkspaceSettingsItem_Themes() [1/3]
◆ WorkspaceSettingsItem_Themes() [2/3]
◆ WorkspaceSettingsItem_Themes() [3/3]
◆ ~WorkspaceSettingsItem_Themes()
◆ getAll()
◆ getActiveUuid()
const Uuid & getActiveUuid |
( |
| ) |
const |
|
inlinenoexcept |
◆ getActive()
const Theme & getActive |
( |
| ) |
const |
|
inlinenoexcept |
◆ setAll()
void setAll |
( |
const QMap< Uuid, Theme > & |
themes | ) |
|
|
noexcept |
◆ setActiveUuid()
void setActiveUuid |
( |
const Uuid & |
uuid | ) |
|
|
noexcept |
◆ operator=()
◆ restoreDefaultImpl()
void restoreDefaultImpl |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
◆ loadImpl()
Load value from S-Expression node.
- Parameters
-
root | S-Expression node of the settings element. |
- Note
- Implementation must emit the edited() signal if the value has changed.
-
Implementation must be atomic, i.e. either the value must be loaded completely from file, or left at the old value (in case of errors).
Implements WorkspaceSettingsItem.
◆ serializeImpl()
Serialize the value into S-Expression node.
- Parameters
-
root | S-Expression node to be updated. |
Implements WorkspaceSettingsItem.
◆ addTheme()
void addTheme |
( |
const Theme & |
theme | ) |
|
|
privatenoexcept |
◆ updateActiveTheme()
void updateActiveTheme |
( |
| ) |
|
|
privatenoexcept |
◆ mThemes
◆ mActiveUuid
◆ mActiveTheme
The documentation for this class was generated from the following files: