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 or 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 or 設備像素比率 .

另請參閱 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 .