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)
virtual ~QPropertyValueAddedChange()
QVariant addedValue() const
void setAddedValue(const QVariant &value)
typedef QPropertyValueAddedChangePtr

Detailed Description

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

Member Function Documentation

QPropertyValueAddedChange::QPropertyValueAddedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QPropertyValueAddedChange with subjectId.

[virtual] QPropertyValueAddedChange::~QPropertyValueAddedChange()

Destroys the instance of QPropertyValueAddedChange. The destructor is virtual.

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 Qt3DCore::QPropertyValueAddedChangePtr

A shared pointer for QPropertyValueAddedChange.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3dcore-qpropertyvalueaddedchange.html