org::kde::kirigami::ListSectionHeader

org::kde::kirigami::ListSectionHeader Class Reference
Inheritance diagram for org::kde::kirigami::ListSectionHeader:

Properties

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 40 of file ListSectionHeader.qml.

Property Documentation

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

Definition at line 49 of file ListSectionHeader.qml.

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

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

Definition at line 46 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-2020 The KDE developers.
Generated on Mon Nov 30 2020 22:38:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.