MauiKit Controls
ListItemTemplate.qml
30 * <a href="https://doc.qt.io/qt-6/qml-qtquick-controls-item.html">This controls inherits from QQC2 Item, to checkout its inherited properties refer to the Qt Docs.</a>
32 * The structure of this control is divided into a left side header for the image/icon and a four [4] labels for the title, message at the right side of the header, and at the far right side another two labels for complementary information.
37 * For extra information checkout the ListBrowserDelegate documentation, since this template element is used as its base.
50 default property alias content: _layout.data
83 * @brief An alias for the QQC2 Label handling the title text. Exposed for fine tuning the label font properties.
90 * @brief An alias for the QQC2 Label handling the subtitle text. Exposed for fine tuning the label font properties.
97 * @brief An alias for the QQC2 Label handling the extra information text. Exposed for fine tuning the label font properties.
104 * @brief An alias for the QQC2 Label handling the extra information text. Exposed for fine tuning the label font properties.
119 * The component used as the icon header is loaded with a QQC2 Loader - this property exposes that element that was loaded.
120 * By default the loaded item will be a MauiKit IconItem, but if another component is used for `iconComponent`, that will be the resulting Item.
148 readonly property alias rightLabels : _rightLabels
158 * @brief A size hint for the icon to be used in the header. The final size will depend on the available space.
163 * @brief A size hint for the image to be used in the header. The final size will depend on the available space.
166 property int imageSizeHint : -1
170 * By default this is set to `-1` which means that the size of the header will be determined by the child implicit height and width.
182 property string iconSource
185 * @brief Whether this element is currently on a selected or checked state. This is used to highlight the component accordingly.
201 property int fillMode : Image.PreserveAspectFit
206 property int maskRadius: 0
209 * @brief The header section can be modified by changing its component to a custom one. By default the component used for the `iconComponent` is a MauiKit IconItem element.
260 readonly property color labelColor: control.isCurrentItem || control.highlighted? Maui.Theme.highlightedTextColor : Maui.Theme.textColor
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:49:06 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:49:06 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.