FormButtonDelegate QML Type

A Form delegate that corresponds to a clickable button. More...

Import Statement: import org.kde.kirigamiaddons.formcard
Inherits:

AbstractFormDelegate

Inherited By:

FormLinkDelegate

Properties

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 [default: null]

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 [read-only]

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).