PlasmaComponents

Signals | |
void | clicked () |
void | pressAndHold () |
Properties | |
bool | checked |
alias | content |
bool | enabled |
int | implicitHeight |
bool | sectionDelegate |
Detailed Description
An item delegate for the primitive ListView component.
- Since
- 0.1
It's intended to make all listviews look coherent.
Definition at line 27 of file ListItem.qml.
Member Function Documentation
|
signal |
This signal is emitted when there is a click.
This is disabled by default, set enabled to true to use it.
- See also
- enabled
|
signal |
The user pressed the item with the mouse and didn't release it for a certain amount of time.
This is disabled by default, set enabled to true to use it.
- See also
- enabled
Property Documentation
bool ListItem::checked |
If true makes the list item look as checked or pressed.
It has to be set from the code, it won't change by itself.
Definition at line 60 of file ListItem.qml.
alias ListItem::content |
- Remarks
- This is the default property
Definition at line 31 of file ListItem.qml.
bool ListItem::enabled |
Holds if the item emits signals related to mouse interaction.
The default value is false.
Definition at line 37 of file ListItem.qml.
int ListItem::implicitHeight |
Definition at line 68 of file ListItem.qml.
bool ListItem::sectionDelegate |
If true the item will be a delegate for a section, so will look like a "title" for the otems under it.
Definition at line 66 of file ListItem.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.