int QML Basic Type

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

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

范例:

NumberAnimation { loops: 5 }
					

此基本类型由 QML 语言提供。

另请参阅 QML 基本类型 .