Maki
Formally verfied low-code orchestration
Loading...
Searching...
No Matches
PropertyConfig Class Reference

Configuration for a property. More...

#include <config.h>

Inheritance diagram for PropertyConfig:
ConfigBase

Public Member Functions

 PropertyConfig ()
 Default constructor.
 PropertyConfig (const QJsonObject &object)
 Constructor from JSON object.
Public Member Functions inherited from ConfigBase
 ConfigBase ()
 Default constructor.
 ConfigBase (ConfigBase &copy)
 Copy constructor.
 ConfigBase (const ConfigBase &copy)
 Copy constructor.
bool isValid () const
 Checks if the configuration is valid.

Public Attributes

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.
Public Attributes inherited from ConfigBase
bool isConfigValid
 Indicates whether the configuration is valid.
QString errorMessage
 Error message if the configuration is invalid.

Friends

QDataStream & operator<< (QDataStream &out, const PropertyConfig &config)
 Additional information about the property.

Additional Inherited Members

Protected Member Functions inherited from ConfigBase
void setInvalid (const QString &message)
 Sets the configuration as invalid with an error message.

Detailed Description

Configuration for a property.

Constructor & Destructor Documentation

◆ PropertyConfig()

PropertyConfig::PropertyConfig ( const QJsonObject & object)

Constructor from JSON object.

Parameters
objectThe 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