FormRadioSelectorDelegate QML Type
A FormCard delegate that allows switching between multiple options. More...
Import Statement: | import org.kde.kirigamiaddons.formcard |
Inherits: |
Properties
- actions : alias
- consistentWidth : bool
- selectedIndex : int
Detailed Description
This wraps a RadioSelector.
Example:
FormCard.FormRadioSelectorDelegate { consistentWidth: false actions: [ Kirigami.Action { text: i18nc("@option:radio", "Week") icon.name: "view-calendar-week-symbolic" }, Kirigami.Action { text: i18nc("@option:radio", "3 Days") icon.name: "view-calendar-upcoming-days-symbolic" }, Kirigami.Action { text: i18nc("@option:radio", "1 Day") icon.name: "view-calendar-day-symbolic" } ] }
Property Documentation
actions : alias |
This property holds a list of actions, each holding one of the options.
consistentWidth : bool |
This property holds whether all the items should have the same width.
selectedIndex : int |
This property holds the currently selected option.