W3cubDocs

/Qt 5.15

QDynamicPropertyUpdatedChange Class

class Qt3DCore::QDynamicPropertyUpdatedChange

The QDynamicPropertyUpdatedChange class is used to notify when a dynamic property value is updated. More...

Header: #include <Qt3DCore/QDynamicPropertyUpdatedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QPropertyUpdatedChangeBase

Public Functions

QDynamicPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)
QByteArray propertyName() const
void setPropertyName(const QByteArray &name)
void setValue(const QVariant &value)
QVariant value() const
typedef QDynamicPropertyUpdatedChangePtr

Detailed Description

Member Function Documentation

QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QDynamicPropertyUpdatedChange with subjectId.

QByteArray QDynamicPropertyUpdatedChange::propertyName() const

Returns name of the property.

See also setPropertyName().

void QDynamicPropertyUpdatedChange::setPropertyName(const QByteArray &name)

Sets the property change name.

See also propertyName().

void QDynamicPropertyUpdatedChange::setValue(const QVariant &value)

Set the property change value.

See also value().

QVariant QDynamicPropertyUpdatedChange::value() const

Returns property value.

See also setValue().

Related Non-Members

typedef QDynamicPropertyUpdatedChangePtr

A shared pointer for QDynamicPropertyUpdatedChange.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qt3dcore-qdynamicpropertyupdatedchange.html