MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML CheckBox Element

Component to express a boolean choice. More...

Inherited by RadioButton.

This element was introduced in qt-components 4.7.

Properties

Signals

Detailed Description

A check box is a component that can be switched on (checked) or off (unchecked). Check boxes are typically used to represent features in an application that can be enabled or disabled without affecting others, but different types of behavior can be implemented. When a check box is checked or unchecked, it sends a clicked() signal for the application to handle.

Property Documentation

checked : bool

Specifies the checked state.


enabled : bool

Property default is true.

Enables or disables the component.


pressed : bool

(ReadOnly) Is true when the checkbox is pressed.


text : string

The label which is rendered next to the checkbox.


Signal Documentation

CheckBox::clicked ()

Is emitted when the checkbox is clicked.