QPropertyUpdatedChange Class

(Qt3DCore::QPropertyUpdatedChange)

The QPropertyUpdatedChange class is used to notify when a property value is updated. More...

Header: #include <Qt3DCore/QPropertyUpdatedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QStaticPropertyUpdatedChangeBase

Public Functions

QPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)
virtual ~QPropertyUpdatedChange()
void setValue(const QVariant &value)
QVariant value() const
typedef QPropertyUpdatedChangePtr

Detailed Description

The QPropertyUpdatedChange class is used to notify when a property value is updated.

Member Function Documentation

QPropertyUpdatedChange::QPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QPropertyUpdatedChange with subjectId.

[virtual] QPropertyUpdatedChange::~QPropertyUpdatedChange()

Destroys the instance of QPropertyUpdatedChange. The destructor is virtual.

void QPropertyUpdatedChange::setValue(const QVariant &value)

Set the property change value.

See also value().

QVariant QPropertyUpdatedChange::value() const

Returns property value.

See also setValue().

Related Non-Members

typedef Qt3DCore::QPropertyUpdatedChangePtr

A shared pointer for QPropertyUpdatedChange.

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