CardsListView

Search for usage in LXR

CardsListView Class Reference
Inheritance diagram for CardsListView:

Additional Inherited Members

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

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.

The choice between using this view with AbstractCard or a normal ListView is purely a choice based on aesthetics alone.

It is recommended to use default values.

Since
2.4

Definition at line 27 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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.