Configuration for a property.
More...
#include <config.h>
|
|
maki::Value | defaultValue |
| | Unique identifier for the property.
|
|
koda::types::TypeReference | type = {} |
| | Default value of the property.
|
|
Types::ControlTypes | control = Types::ControlTypes::AUTO |
| | Type of the property.
|
|
QString | info = "" |
| | Control widget in the property menu.
|
|
bool | isConfigValid |
| | Indicates whether the configuration is valid.
|
|
QString | errorMessage |
| | Error message if the configuration is invalid.
|
|
|
QDataStream & | operator<< (QDataStream &out, const PropertyConfig &config) |
| | Additional information about the property.
|
|
| void | setInvalid (const QString &message) |
| | Sets the configuration as invalid with an error message.
|
Configuration for a property.
◆ PropertyConfig()
| PropertyConfig::PropertyConfig |
( |
const QJsonObject & | object | ) |
|
Constructor from JSON object.
- Parameters
-
| object | The JSON object to initialize the configuration from. |
The documentation for this class was generated from the following files:
- /__w/maki/maki/app/common/config.h
- /__w/maki/maki/app/common/config.cpp