org::kde::kirigami::templates::AbstractListItem

Properties | |
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
An item delegate for the primitive ListView component.
- Since
- 2.2
It's intended to make all listviews look coherent.
Definition at line 21 of file controls/templates/AbstractListItem.qml.
Property Documentation
◆ _default
|
read |
- Remarks
- This is the default property
Definition at line 88 of file controls/templates/AbstractListItem.qml.
◆ activeBackgroundColor
|
read |
Color for the background of the item when pressed or selected It is advised to leave the default value (Theme.highlightColor)
Definition at line 85 of file controls/templates/AbstractListItem.qml.
◆ activeTextColor
|
read |
Color for the text in the item when pressed or selected It is advised to leave the default value (Theme.highlightedTextColor)
Note: if custom text elements are inserted in an AbstractListItem, their color property will have to be manually bound with this property
Definition at line 80 of file controls/templates/AbstractListItem.qml.
◆ alternateBackgroundColor
|
read |
The background color to use if alternatingBackground is true.
It is advised to leave the default.
- Since
- 2.7
Definition at line 72 of file controls/templates/AbstractListItem.qml.
◆ alternatingBackground
|
read |
If true the background of the list items will be alternating between two colors, helping readability with multiple column views.
Use it only when implementing a view which shows data visually in multiple columns @ since 2.7
Definition at line 43 of file controls/templates/AbstractListItem.qml.
◆ backgroundColor
|
read |
Color for the background of the item It is advised to leave the default value (Theme.viewBackgroundColor)
Definition at line 66 of file controls/templates/AbstractListItem.qml.
◆ containsMouse
|
read |
True when the user hovers the mouse over the list item NOTE: on mobile touch devices this will be true only when pressed is also true
Definition at line 35 of file controls/templates/AbstractListItem.qml.
◆ sectionDelegate
|
read |
If true the item will be a delegate for a section, so will look like a "title" for the items under it.
Definition at line 48 of file controls/templates/AbstractListItem.qml.
◆ separatorVisible
|
read |
True if the separator between items is visible default: true.
Definition at line 53 of file controls/templates/AbstractListItem.qml.
◆ supportsMouseEvents
|
read |
- Deprecated:
- Holds if the item emits signals related to mouse interaction.
The default value is false.
Definition at line 28 of file controls/templates/AbstractListItem.qml.
◆ textColor
|
read |
Color for the text in the item It is advised to leave the default value (Theme.textColor)
Note: if custom text elements are inserted in an AbstractListItem, their color property will have to be manually bound with this property
Definition at line 61 of file controls/templates/AbstractListItem.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Jun 29 2022 04:03:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.