Search for usage in LXR

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


alias _contents
alias label
- Properties inherited from org::kde::kirigami::templates::AbstractListItem
alias _default
QQC2 Action
color activeBackgroundColor
color activeTextColor
color alternateBackgroundColor
bool alternatingBackground
color backgroundColor
alias containsMouse
bool sectionDelegate
bool separatorVisible
bool supportsMouseEvents
color textColor

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
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-2021 The KDE developers.
Generated on Thu Mar 4 2021 22:39:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.