![]() |
Qt 6.x
The Qt SDK
|
Public Types | |
typedef QHash< QByteArray, QVariant > | PropertiesMap |
Public Member Functions | |
PropertiesMap | propertiesForType (QSSGSceneDesc::Node::RuntimeType type) |
QVariant | getDefaultValue (QSSGSceneDesc::Node::RuntimeType type, const char *property) |
bool | isDefaultValue (QSSGSceneDesc::Node::RuntimeType type, const char *property, const QVariant &value) |
Static Public Member Functions | |
static PropertyMap * | instance () |
Definition at line 36 of file qssgqmlutilities.cpp.
Definition at line 39 of file qssgqmlutilities.cpp.
QVariant QSSGQmlUtilities::PropertyMap::getDefaultValue | ( | QSSGSceneDesc::Node::RuntimeType | type, |
const char * | property | ||
) |
Definition at line 284 of file qssgqmlutilities.cpp.
References properties, and property.
Referenced by isDefaultValue().
|
static |
Definition at line 273 of file qssgqmlutilities.cpp.
Referenced by QSSGQmlUtilities::writeNodeProperties().
bool QSSGQmlUtilities::PropertyMap::isDefaultValue | ( | QSSGSceneDesc::Node::RuntimeType | type, |
const char * | property, | ||
const QVariant & | value | ||
) |
Definition at line 296 of file qssgqmlutilities.cpp.
References getDefaultValue(), and property.
PropertyMap::PropertiesMap QSSGQmlUtilities::PropertyMap::propertiesForType | ( | QSSGSceneDesc::Node::RuntimeType | type | ) |
Definition at line 279 of file qssgqmlutilities.cpp.