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 .