CheckBox

CheckBox is a component with two states, checked or unchecked. It can be used to set boolean options. The behavior is the same as Switch, the only difference is the graphical style. More...

Inherits AbstractButton

Inherited by Switch.

Properties

Detailed Description

See also the Design Guidelines on Toggles.

This component is under heavy development.

Example:

Item {
    CheckBox {
        checked: true
    }
}

Property Documentation

action : Action

The Action associated with this ActionItem. If action is set, the values of the Action properties are copied to the values of the ActionItem properties.


checked : bool

This documentation is under development and is subject to change.

Specifies whether the checkbox is checked or not. By default the property is set to false.


hovered : bool

True if the mouse cursor hovers over the button's mouse area.


iconSource : url

The image associated with the actionItem. Default value: action.iconSource.


pressed : bool

True if the user presses a mouse button in the button's mouse area.


style : Component

Component instantiated immediately and placed below everything else.


text : string

The title of the actionItem. Default value: action.text