FormRadioSelectorDelegate
FormRadioSelectorDelegate Class Reference
Inheritance diagram for FormRadioSelectorDelegate:
Properties | |
alias | actions |
alias | consistentWidth |
alias | selectedIndex |
Detailed Description
A FormCard delegate that allows sitching between multiple options.
This wraps a RadioSelector.
Example:
FormCard.FormRadioSelectorDelegate {
consistentWidth: false
actions: [
Kirigami.Action {
icon.name: "view-calendar-week-symbolic"
},
Kirigami.Action {
icon.name: "view-calendar-upcoming-days-symbolic"
},
Kirigami.Action {
icon.name: "view-calendar-day-symbolic"
}
]
}
alias actions
This property holds a list of actions, each holding one of the options.
Definition FormRadioSelectorDelegate.qml:37
alias consistentWidth
This property holds whether all the items should have the same width.
Definition FormRadioSelectorDelegate.qml:41
QString i18nc(const char *context, const char *text, const TYPE &arg...)
- Since
- Kirigami Addons 1.6.0.
Definition at line 32 of file FormRadioSelectorDelegate.qml.
Property Documentation
◆ actions
|
read |
This property holds a list of actions, each holding one of the options.
Definition at line 37 of file FormRadioSelectorDelegate.qml.
◆ consistentWidth
|
read |
This property holds whether all the items should have the same width.
Definition at line 41 of file FormRadioSelectorDelegate.qml.
◆ selectedIndex
|
read |
This property holds the currently selected option.
Definition at line 45 of file FormRadioSelectorDelegate.qml.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.