FormRadioDelegate QML Type
A Form delegate that corresponds to a radio button. More...
Import Statement: | import org.kde.kirigamiaddons.formcard |
Properties
- description : string
- descriptionItem : Label
- leading : var
- leadingPadding : real
- trailing : var
- trailingPadding : real
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, and FormComboBoxDelegate.
Property Documentation
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.
leading : var |
This property holds an item that will be displayed to the left of the delegate's contents.
leadingPadding : real |
This property holds the padding after the leading item.
trailing : var |
This property holds an item that will be displayed after the delegate's contents.
trailingPadding : real |
This property holds the padding before the trailing item.