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) |
- 2 个公有函数继承自 Qt3DCore::QStaticPropertyValueAddedChangeBase
- 4 个公有函数继承自 Qt3DCore::QSceneChange
相关非成员
typedef | QPropertyValueAddedChangePtr |
详细描述
Used to notify when a value is added to a property
成员函数
QPropertyValueAddedChange::QPropertyValueAddedChange(QNodeId subjectId)
Constructs a new 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
A shared pointer for QPropertyValueAddedChange.