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:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:31 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.