cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
33 lines
625 B
QML
33 lines
625 B
QML
/*
|
|
* SPDX-FileCopyrightText: 2018 Aleix Pol Gonzalez <aleixpol@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
import org.kde.kirigami as Kirigami
|
|
|
|
Kirigami.ApplicationWindow {
|
|
|
|
Component {
|
|
id: delegateComponent
|
|
Kirigami.Card {
|
|
contentItem: Label { text: ourlist.prefix + index }
|
|
}
|
|
}
|
|
|
|
pageStack.initialPage: Kirigami.ScrollablePage {
|
|
|
|
Kirigami.CardsListView {
|
|
id: ourlist
|
|
property string prefix: "ciao "
|
|
|
|
delegate: delegateComponent
|
|
|
|
model: 100
|
|
}
|
|
}
|
|
}
|