int QML Basic Type

整數 (如 0、10 或 -20)。

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).

範例:

Item { width: 100; height: 200 }
					

此基本類型由 QML 語言提供。

另請參閱 QML 基本類型 .