W3cubDocs

/Qt 6.9

bool QML Value Type

a binary true/false value. More...

Detailed Description

The bool type refers to a binary true/false value.

Properties of type bool have false as their default value.

Example:

Item {
    focus: true
    clip: false
}

This value type is provided by the QML language.

See also QML Value Types.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qml-bool.html