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)
void setValue(const QVariant &value)
QVariant value() const
enum ChangeFlag { NodeCreated, NodeDeleted, PropertyUpdated, PropertyValueAdded, ..., AllChanges }
typedef QPropertyUpdatedChangeBasePtr
typedef QPropertyUpdatedChangePtr
typedef QSceneChangePtr
typedef QStaticPropertyUpdatedChangeBasePtr

Detailed Description

Member Function Documentation

QPropertyUpdatedChange::QPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QPropertyUpdatedChange with subjectId.

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 QPropertyUpdatedChange::QPropertyUpdatedChangePtr

A shared pointer for QPropertyUpdatedChange.

© 2019 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.