int QML Basic Type

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

int type refers to a whole number, e.g. 0, 10, or -20.

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

范例:

Item { width: 100; height: 200 }
					

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

另请参阅 QML 基本类型 .