FormRadioDelegate
Properties | |
string | description |
alias | descriptionItem |
var | leading |
real | leadingPadding |
var | trailing |
real | trailingPadding |
Detailed Description
A Form delegate that corresponds to a radio button.
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 QtQuick.Controls.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.
- Since
- KirigamiAddons 0.11.0
- See also
- QtQuick.Controls.AbstractButton
- FormSwitchDelegate
- FormCheckDelegate
- FormComboBoxDelegate
Definition at line 38 of file FormRadioDelegate.qml.
Property Documentation
◆ description
|
read |
A label containing secondary text that appears under the inherited text property.
This provides additional information shown in a faint gray color.
Definition at line 46 of file FormRadioDelegate.qml.
◆ descriptionItem
|
read |
This property allows to override the internal description item (a QtQuick.Controls.Label) with a custom component.
Definition at line 68 of file FormRadioDelegate.qml.
◆ leading
|
read |
This property holds an item that will be displayed to the left of the delegate's contents.
Definition at line 50 of file FormRadioDelegate.qml.
◆ leadingPadding
|
read |
This property holds the padding after the leading item.
Definition at line 54 of file FormRadioDelegate.qml.
◆ trailing
|
read |
This property holds an item that will be displayed after the delegate's contents.
Definition at line 59 of file FormRadioDelegate.qml.
◆ trailingPadding
|
read |
This property holds the padding before the trailing item.
Definition at line 63 of file FormRadioDelegate.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.