Qt Reference Documentation

QML CheckableGroup Element

Provides a component for grouping together related Checkable elements. More...

This element was introduced in Qt Quick Components 1.0.



Detailed Description

CheckableGroup is located in a separate plugin that can be imported with the following statement:

 import Qt.labs.components 1.1

The CheckableGroup is used in components like RadioButton where only one of the Checkable items can be selected at a time. This is known as an exclusive group.

See also RadioButton and Checkable.

Property Documentation

selectedValue : variant

The currently selected item in the group.

Method Documentation

CheckableGroup::clear ()

Completely resets the group. All the items in the group are set to null and any exclusive grouping is removed.