SubtitleDelegate

Search for usage in LXR

SubtitleDelegate Class Reference

Inherits QtQuick::Controls::ItemDelegate.

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 25 of file SubtitleDelegate.qml.

Property Documentation

◆ subtitle

string SubtitleDelegate::subtitle
read

The subtitle to display.

Definition at line 35 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 Fri May 3 2024 11:49:34 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.