FormButtonDelegate QML Type
A Form delegate that corresponds to a clickable button. More...
Import Statement: | import org.kde.kirigamiaddons.formcard |
Inherits: | |
Inherited By: |
Properties
- description : string
- descriptionItem : Label
- leading : var
- leadingPadding : real
- trailingLogo : alias
Detailed Description
Use the inherited AbstractButton.text property to define the main text of the button.
The trailing property (right-most side of the button) includes an arrow pointing to the right by default and cannot be overridden.
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.
This is supposed to be a short text and the API user should avoid making it longer than two lines.
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.
It is recommended to use Kirigami.Units here instead of direct values.
See also Kirigami.Units.
trailingLogo : alias |
This property holds an alias to the internal FormArrow.
This allow to hide it completely or change the direction (e.g. to implement a collapsible section).