ItemChangeData Union

union QQuickItem ::ItemChangeData

Adds supplementary information to the QQuickItem::itemChange () 函数。 更多...

公共变量

bool boolValue
QQuickItem * item
qreal realValue
QQuickWindow * window

详细描述

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

另请参阅 QQuickItem::ItemChange .

成员变量文档编制

bool ItemChangeData:: boolValue

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

另请参阅 QQuickItem::ItemChange .

QQuickItem *ItemChangeData:: item

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

另请参阅 QQuickItem::ItemChange .

qreal ItemChangeData:: realValue

The numeric value that has changed: opacity , rotation ,或 设备像素比率 .

另请参阅 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.

另请参阅 QQuickItem::ItemChange .