RadioSelector
RadioSelector Class Reference
Properties | |
listTAction | actions |
bool | consistentWidth |
int | selectedIndex |
Detailed Description
A Component that allows sitching between multiple options.
Example:
Components.RadioSelector {
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"
}
]
}
bool consistentWidth
This property holds whether all the items should have the same width.
Definition RadioSelector.qml:45
listTAction actions
This property holds a list of actions, each holding one of the options.
Definition RadioSelector.qml:40
QString i18nc(const char *context, const char *text, const TYPE &arg...)
- Since
- Kirigami Addons 1.6.0.
Definition at line 34 of file RadioSelector.qml.
Property Documentation
◆ actions
|
read |
This property holds a list of actions, each holding one of the options.
Definition at line 40 of file RadioSelector.qml.
◆ consistentWidth
|
read |
This property holds whether all the items should have the same width.
Definition at line 45 of file RadioSelector.qml.
◆ selectedIndex
|
read |
This property holds the currently selected option.
By default, it's the first actions or -1 if no actions is set.
Definition at line 50 of file RadioSelector.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 Fri Dec 20 2024 11:49:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
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.