SwitchSubtitleDelegate

Search for usage in LXR

SwitchSubtitleDelegate Class Reference

Properties

string subtitle
 

Detailed Description

A convenience wrapper combining QtQuick Controls SwitchDelegate and IconTitleSubtitle.

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
Kirigami::Delegates::TitleSubtitle
Kirigami::Delegates::IconTitleSubtitle

Definition at line 24 of file SwitchSubtitleDelegate.qml.

Property Documentation

◆ subtitle

string SwitchSubtitleDelegate::subtitle
read

The subtitle to display.

Definition at line 30 of file SwitchSubtitleDelegate.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.