Search for usage in LXR

org::kde::kirigami::ListSectionHeader Class Reference

Inherits AbstractListItem.


alias _contents
alias label

Detailed Description

A section delegate for the primitive ListView component.

It's intended to make all listviews look coherent.

Example usage:

import QtQuick 2.5
import QtQuick.Controls 2.5 as QQC2
import org.kde.kirigami 2.10 as Kirigami
ListView {
section.delegate: Kirigami.ListSectionHeader {
label: section
QQC2.Button {
text: "Button 1"
QQC2.Button {
text: "Button 2"

Definition at line 39 of file ListSectionHeader.qml.

Property Documentation

alias org::kde::kirigami::ListSectionHeader::_contents
This is the default property

Definition at line 48 of file ListSectionHeader.qml.

alias org::kde::kirigami::ListSectionHeader::label

label: string A single text label the list section header will contain

Definition at line 45 of file ListSectionHeader.qml.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Jan 28 2022 22:34:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.