ItemChangeData Union

union QQuickItem::ItemChangeData

Adds supplementary information to the QQuickItem::itemChange() function. More...

Public Variables

bool boolValue
QQuickItem *item
qreal realValue
QQuickWindow *window

Detailed Description

The meaning of each member of this class is defined by the change type.

See also QQuickItem::ItemChange.

Member Variable Documentation

bool ItemChangeData::boolValue

The boolean value that has changed: visible, enabled, activeFocus or antialiasing.

See also QQuickItem::ItemChange.

QQuickItem *ItemChangeData::item

The item that has been added or removed as a child, or the new parent.

See also QQuickItem::ItemChange.

qreal ItemChangeData::realValue

The numeric value that has changed: opacity, rotation or device pixel ratio.

See also QQuickItem::ItemChange.

QQuickWindow *ItemChangeData::window

The window in which the item has been shown, or nullptr if the item has been removed from a window.

See also QQuickItem::ItemChange.

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