• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaComponents

Signals | Properties | List of all members
ListItem Class Reference
Inheritance diagram for ListItem:
Inheritance graph
[legend]

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

void ListItem::clicked ( )
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
void ListItem::pressAndHold ( )
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:
  • ListItem.qml
This file is part of the KDE documentation.
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.

PlasmaComponents

Skip menu "PlasmaComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal