SwitchSubtitleDelegate QML Type
A convenience wrapper combining QtQuick Controls SwitchDelegate and IconTitleSubtitle. More...
Import Statement: | import org.kde.kirigami.delegates |
Inherits: |
Properties
- subtitle : string
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 and IconTitleSubtitle.
Property Documentation
subtitle : string |
The subtitle to display.