#include "StyleValue.h"
◆ StyleValue() [1/2]
ot::StyleValue::StyleValue |
( |
| ) |
|
◆ StyleValue() [2/2]
ot::StyleValue::StyleValue |
( |
const StyleValue & | _other | ) |
|
◆ ~StyleValue()
ot::StyleValue::~StyleValue |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_document | The JSON document (used to get the allocator) |
_object | The JSON object to add the contents to |
◆ color()
const ot::Color & ot::StyleValue::color |
( |
void | | ) |
const |
|
inline |
◆ key()
const std::string & ot::StyleValue::key |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ qss()
const std::string & ot::StyleValue::qss |
( |
void | | ) |
const |
|
inline |
◆ setColor()
void ot::StyleValue::setColor |
( |
const ot::Color & | _color | ) |
|
|
inline |
◆ setFromJsonObject()
Will set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information |
- Exceptions
-
Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Implements ot::Serializable.
◆ setKey()
void ot::StyleValue::setKey |
( |
const std::string & | _key | ) |
|
|
inline |
◆ setQss()
void ot::StyleValue::setQss |
( |
const std::string & | _qss | ) |
|
|
inline |
The documentation for this class was generated from the following files: