FormRadioSelectorDelegate

Search for usage in LXR

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 {
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"
}
]
}
A single card that follows a form style.
Definition FormCard.qml:35
alias actions
This property holds a list of actions, each holding one of the options.
alias consistentWidth
This property holds whether all the items should have the same width.
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

alias FormRadioSelectorDelegate::actions
read

This property holds a list of actions, each holding one of the options.

Definition at line 37 of file FormRadioSelectorDelegate.qml.

◆ consistentWidth

alias FormRadioSelectorDelegate::consistentWidth
read

This property holds whether all the items should have the same width.

Definition at line 41 of file FormRadioSelectorDelegate.qml.

◆ selectedIndex

alias FormRadioSelectorDelegate::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

KDE's Doxygen guidelines are available online.