org::kde::kirigami::CardsListView

Additional Inherited Members | |
![]() | |
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 intended to be used with AbstractCard component 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 AbstractCard::headerOrientation set to Qt.Horizontal
.
The choice between using this view with AbstractCard or a normal QtQuick.ListView with AbstractListItem / BasicListItem is purely a choice based on aesthetics alone.
It is recommended to use default values.
- Since
- org.kde.kirigami 2.4
Definition at line 32 of file CardsListView.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:08:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.