QPropertyValueAddedChange Class

( Qt3DCore::QPropertyValueAddedChange )

Used to notify when a value is added to a property 更多...

头: #include <Qt3DCore/QPropertyValueAddedChange>
qmake: QT += 3dcore
继承: Qt3DCore::QStaticPropertyValueAddedChangeBase

公共函数

QPropertyValueAddedChange (QNodeId subjectId )
~QPropertyValueAddedChange ()
QVariant addedValue () const
void setAddedValue (const QVariant & value )
typedef QPropertyValueAddedChangePtr

详细描述

Used to notify when a value is added to a property

成员函数文档编制

QPropertyValueAddedChange:: QPropertyValueAddedChange ( QNodeId subjectId )

构造新的 QPropertyValueAddedChange with subjectId .

QPropertyValueAddedChange:: ~QPropertyValueAddedChange ()

Destroys the instance of QPropertyValueAddedChange.

QVariant QPropertyValueAddedChange:: addedValue () const

Returns the value added to the property.

另请参阅 setAddedValue ().

void QPropertyValueAddedChange:: setAddedValue (const QVariant & value )

Sets the value added to the property to value .

另请参阅 addedValue ().

相关非成员

typedef Qt3DCore:: QPropertyValueAddedChangePtr

共享指针为 QPropertyValueAddedChange .