本页内容

QQuickItem::ItemChangeData Union

union QQuickItem::ItemChangeData

为QQuickItem::itemChange()函数添加补充信息。更多内容...

公共变量

bool boolValue
QQuickItem *item
qreal realValue
QQuickWindow *window

详细说明

该类中每个成员的含义由变更类型定义。

另请参阅 QQuickItem::ItemChange 。

成员变量文档

bool ItemChangeData::boolValue

发生变化的布尔值:visible 、enabled 、activeFocus 或antialiasing 。

另请参阅 QQuickItem::ItemChange 。

QQuickItem *ItemChangeData::item

作为child 添加或移除的项目,或是新的parent 。

另请参阅 QQuickItem::ItemChange 。

qreal ItemChangeData::realValue

发生变化的数值:opacity 、rotation 、scale 或device pixel ratio 。

另请参阅 QQuickItem::ItemChange 。

QQuickWindow *ItemChangeData::window

该项曾显示的window ,或者如果该项已从窗口中移除,则为nullptr 。

另请参阅 QQuickItem::ItemChange 。

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