org::kde::kirigami::CardsListView

Search for usage in LXR

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

Additional Inherited Members

- Public Member Functions inherited from QtQuick.ListView
 add ()
 
 decrementCurrentIndex ()
 
 forceLayout ()
 
 incrementCurrentIndex ()
 
int indexAt (x, real y)
 
Item itemAt (x, real y)
 
Item itemAtIndex (index)
 
 positionViewAtBeginning ()
 
 positionViewAtEnd ()
 
 positionViewAtIndex (index, PositionMode mode)
 
 remove ()
 

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 directly use AbstractCard with an appropriate layout inside, because they are stretching for the whole list width.

Therefore, it is discouraged to use it with the Card type, unless it has headerOrientation set to Qt.Horizontal.

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 recommended to use default values.

Since
2.4

Definition at line 30 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-2022 The KDE developers.
Generated on Sun Dec 4 2022 04:11:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.