Qt 4.8: QML Basic Type: int

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# QML Basic Type: int

An integer is a whole number, e.g. 0, 10, or -20. The possible `int` values range from around -2000000000 to around 2000000000, although most elements will only accept a reduced range (which they mention in their documentation).

Example:

     Item { width: 100; height: 200 }

See also QML Basic Types.