Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
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 276 of file qssgqmlutilities.cpp.
References properties, and property.
Referenced by isDefaultValue().
|
static |
Definition at line 265 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 288 of file qssgqmlutilities.cpp.
References getDefaultValue(), and property.
PropertyMap::PropertiesMap QSSGQmlUtilities::PropertyMap::propertiesForType | ( | QSSGSceneDesc::Node::RuntimeType | type | ) |
Definition at line 271 of file qssgqmlutilities.cpp.