QDynamicPropertyUpdatedChange Class

(Qt3DCore::QDynamicPropertyUpdatedChange)

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

头文件: #include <Qt3DCore/QDynamicPropertyUpdatedChange>
qmake: QT += 3dcore
基类: Qt3DCore::QPropertyUpdatedChangeBase

公有函数

QDynamicPropertyUpdatedChange(QNodeId subjectId)
~QDynamicPropertyUpdatedChange()
QByteArray propertyName() const
void setPropertyName(const QByteArray &name)
void setValue(const QVariant &value)
QVariant value() const

受保护的函数

QDynamicPropertyUpdatedChange(QDynamicPropertyUpdatedChangePrivate &dd, QNodeId subjectId)

详细描述

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

成员函数

QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(QNodeId subjectId)

Constructs a new QDynamicPropertyUpdatedChange with subjectId.

[protected] QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(QDynamicPropertyUpdatedChangePrivate &dd, QNodeId subjectId)

Copy constructor.

QDynamicPropertyUpdatedChange::~QDynamicPropertyUpdatedChange()

Destroys the instance of QDynamicPropertyUpdatedChange.

QByteArray QDynamicPropertyUpdatedChange::propertyName() const

Returns name of the property.

参见 setPropertyName().

void QDynamicPropertyUpdatedChange::setPropertyName(const QByteArray &name)

Sets the property change name.

参见 propertyName().

void QDynamicPropertyUpdatedChange::setValue(const QVariant &value)

Set the property change value.

参见 value().

QVariant QDynamicPropertyUpdatedChange::value() const

Returns property value.

参见 setValue().

相关非成员

typedef Qt3DCore::QDynamicPropertyUpdatedChangePtr

A shared pointer for QDynamicPropertyUpdatedChange.