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 trailingLogo 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 short text and the API user should avoid making it longer than two lines.

descriptionItem : Label

This property allows overriding 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.

trailing : var [default: null]

This property holds an item that will be displayed to the right of the delegate's contents.

trailingLogo : alias [read-only]

This property holds an alias to the internal FormArrow.

This allows hiding it completely or changing the direction (e.g. to implement a collapsible section).

trailingPadding : real

This property holds the padding before the trailing item.

It is recommended to use Kirigami.Units here instead of direct values.

See also Kirigami.Units.