org::kde::kirigami::CardsListView

org::kde::kirigami::CardsListView Class Reference

Inherits org::kde::kirigami::CardsListViewPrivate.

Properties

alias delegate
 

Detailed Description

CardsListView is a ListView which can have AbstractCard as its delegate: it will automatically assign the proper spacings and margins around the cards adhering to the design guidelines.

CardsListView should be used only with cards which can look good at any horizontal size, so It is recommended to use directly AbstractCard with an appropriate layout inside, because they are stretching for the whole list width. Therefore is discouraged to use it with the Card type, unless it has Horizontal as headerOrientation. The choice between using this view with AbstractCard or a normal ListView with AbstractListItem/BasicListItem is purely a choice based on aesthetics alone. It is discouraged to tweak the properties of this ListView. ListView

Since
2.4

Definition at line 26 of file CardsListView.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 Tue Aug 4 2020 22:37:18 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.