int QML Value Type

a whole number, e.g. 0, 10, or -20. 更多...

详细描述

The int 类型引用整数 (如 0、10 或 -20)。

可能 int values range from -2147483648 to 2147483647, although most types will only accept a reduced range (which they mention in their documentation).

范例:

NumberAnimation { loops: 5 }
					

This value type is provided by the QML language.

另请参阅 QML Value Types .