Pages
API Documentation
On this page

FormRadioDelegate QML Type

A Form delegate that corresponds to a radio button. More...

  • Import Statement: import org.kde.kirigamiaddons.formcard

Detailed Description

This component is used for creating multiple on/off toggles for the same setting. In other words, by grouping multiple radio buttons under the same parent, only one of the radio buttons should be checkable and applied to a setting.

Use the inherited AbstractButton.text property to define the main text of the radio button.

If you need multiple values for the same setting, use a FormComboBoxDelegate instead.

If you need a purely on/off toggle for a single setting, use a FormSwitchDelegate instead.

If you need an on/off/tristate toggle, use a FormCheckDelegate instead.

See also AbstractButton, FormSwitchDelegate, FormCheckDelegate, FormComboBoxDelegate

Property Documentation

[default: ""] description : string

A label containing secondary text that appears under the inherited text property.

This provides additional information shown in a faint gray color.

descriptionItem : Label

This property allows to override the internal description item with a custom component.

[default: null] leading : Item

This property holds an item that will be displayed to the left of the delegate's contents.

[default: Kirigami.Units.smallSpacing] leadingPadding : real

This property holds the padding after the leading item.

[default: null] trailing : Item

This property holds an item that will be displayed after the delegate's contents.

[default: Kirigami.Units.smallSpacing] trailingPadding : real

This property holds the padding before the trailing item.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.