Pages
API Documentation
On this page

SwitchSubtitleDelegate QML Type

A convenience wrapper combining QtQuick Controls SwitchDelegate and IconTitleSubtitle. More...

  • Import Statement: import org.kde.kirigami.delegates
  • Inherits: SwitchDelegate

Detailed Description

This is an intentionally minimal wrapper that replaces the SwitchDelegate's contentItem with an IconTitleSubtitle and adds a subtitle property.

If you wish to customize the layout further, create your own SwitchDelegate subclass with the contentItem: property set to the content of your choice. This can include IconTitleSubtitle inside a Layout, for example.

Note: If you don't need a subtitle, use SwitchDelegate directly.

See also TitleSubtitle, IconTitleSubtitle

Property Documentation

subtitle : string

The subtitle to display.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.