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 (Qt3DCore::QNodeId subjectId )
virtual ~QDynamicPropertyUpdatedChange ()
QByteArray propertyName () const
void setPropertyName (const QByteArray & name )
void setValue (const QVariant & value )
QVariant value () const

保护函数

QDynamicPropertyUpdatedChange (Qt3DCore::QDynamicPropertyUpdatedChangePrivate & dd , Qt3DCore::QNodeId subjectId )
typedef QDynamicPropertyUpdatedChangePtr

详细描述

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

成员函数文档编制

QDynamicPropertyUpdatedChange:: QDynamicPropertyUpdatedChange ( Qt3DCore::QNodeId subjectId )

构造新的 QDynamicPropertyUpdatedChange with subjectId .

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

Default constructs an instance of QDynamicPropertyUpdatedChange.

[虚拟] QDynamicPropertyUpdatedChange:: ~QDynamicPropertyUpdatedChange ()

Destroys the instance of QDynamicPropertyUpdatedChange. The destructor is virtual.

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

共享指针为 QDynamicPropertyUpdatedChange .