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

Properties | |
alias | _contents |
alias | label |
![]() | |
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
◆ _contents
|
read |
- Remarks
- This is the default property
Definition at line 49 of file ListSectionHeader.qml.
◆ label
|
read |
This property sets the text of the ListView's section header.
Definition at line 46 of file ListSectionHeader.qml.
The documentation for this class was generated from the following file:
alias label
This property sets the text of the ListView's section header.
Definition: ListSectionHeader.qml:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 1 2023 04:01:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 1 2023 04:01:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.