org::kde::kirigami::ListSectionHeader

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

Properties

alias _contents
 
alias label
 

Additional Inherited Members

- Public Member Functions inherited from QtQuick.Item
 childAt (x, real y)
 
bool contains (point)
 
 forceActiveFocus ()
 
 forceActiveFocus (reason)
 
bool grabToImage (callback, targetSize)
 
object mapFromGlobal (x, real y)
 
object mapFromItem (item, point p)
 
object mapFromItem (item, rect r)
 
object mapFromItem (item, real x, real y)
 
object mapFromItem (item, real x, real y, real width, real height)
 
object mapToGlobal (x, real y)
 
object mapToItem (item, rect r)
 
object mapToItem (item, real x, real y)
 
object mapToItem (item, point p)
 
object mapToItem (item, real x, real y, real width, real height)
 
 nextItemInFocusChain (forward)
 

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 Thu Jul 9 2020 22:37:25 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.