RadioButton QML Type
A styled radio button with a Fluent Design indicator. More...
| Import Statement: | import FluentUI 1.0 |
Properties
- accentColor : var
- checked : bool
- enabled : bool
- font : font
- text : string
Detailed Description
RadioButton presents an option that can be toggled on or off. Radio buttons are typically grouped together so that only one option in the group can be selected at a time. The Fluent Design indicator provides a visual circle with an animated fill state.
Property Documentation
accentColor : var
The accent color used for the radio button indicator when checked. Can be a color, string, or Qt.rgba value.
checked : bool
Whether the radio button is currently checked (selected).
enabled : bool
Whether the radio button can be interacted with. When false, the control appears disabled and does not accept user input.
font : font
The font used for the radio button text label.
text : string
The text label displayed next to the radio button indicator.