FormCheckDelegate QML Type
A Form delegate that corresponds to a checkbox. More...
| Import Statement: | import org.kde.kirigamiaddons.formcard |
Properties
- description : string
- descriptionItem : Label
- leading : var
- leadingPadding : real
- trailing : var
- trailingPadding : real
Detailed Description
This component is used for individual settings that can be toggled on, off, or tristate, typically in conjunction with multiple other checkboxes.
Use the inherited AbstractButton.text property to define the main text of the checkbox.
If you need a purely on/off toggle for a single setting, consider using a FormSwitchDelegate.
If you need multiple toggles for the same setting, use a FormRadioDelegate instead.
If you need multiple values for the same setting, use a FormComboBoxDelegate instead.
See also AbstractButton, FormSwitchDelegate, FormComboBoxDelegate, and FormRadioDelegate.
Property Documentation
description : string
A label containing secondary text that appears under the inherited text property.
This provides additional information shown in a faint gray color.
descriptionItem : Label
This property allows to override the internal description item with a custom component.
leading : var
This property holds an item that will be displayed to the left of the delegate's contents.
leadingPadding : real
This property holds the padding after the leading item.
trailing : var
This property holds an item that will be displayed to the right of the delegate's contents.
trailingPadding : real
This property holds the padding before the trailing item.