QPropertyValueAddedChange Class

(Qt3DCore::QPropertyValueAddedChange)

Used to notify when a value is added to a property. More...

Header: #include <Qt3DCore/QPropertyValueAddedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QStaticPropertyValueAddedChangeBase

Public Functions

QPropertyValueAddedChange(Qt3DCore::QNodeId subjectId)
QVariant addedValue() const
void setAddedValue(const QVariant &value)

Detailed Description

Member Function Documentation

QPropertyValueAddedChange::QPropertyValueAddedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QPropertyValueAddedChange with subjectId.

QVariant QPropertyValueAddedChange::addedValue() const

Returns the value added to the property.

See also setAddedValue().

void QPropertyValueAddedChange::setAddedValue(const QVariant &value)

Sets the value added to the property to value.

See also addedValue().

Related Non-Members

typedef QPropertyValueAddedChangePtr

A shared pointer for QPropertyValueAddedChange.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.