SubtitleDelegate
SubtitleDelegate Class Reference
Properties | |
string | subtitle |
Detailed Description
A convenience wrapper combining QtQuick Controls ItemDelegate and IconTitleSubtitle.
This is an intentionally minimal wrapper that replaces the ItemDelegate's contentItem with an IconTitleSubtitle and adds a subtitle property.
If you wish to customize the layout further, create your own ItemDelegate
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
ItemDelegate
directly.
- See also
- Kirigami::Delegates::TitleSubtitle
- Kirigami::Delegates::IconTitleSubtitle
Definition at line 24 of file SubtitleDelegate.qml.
Property Documentation
◆ subtitle
|
read |
The subtitle to display.
Definition at line 34 of file SubtitleDelegate.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 Sun Nov 17 2024 19:26:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Nov 17 2024 19:26:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.