summaryrefslogtreecommitdiff
path: root/application.qml
diff options
context:
space:
mode:
Diffstat (limited to 'application.qml')
-rw-r--r--application.qml15
1 files changed, 12 insertions, 3 deletions
diff --git a/application.qml b/application.qml
index cf7b04d..5e5d092 100644
--- a/application.qml
+++ b/application.qml
@@ -6,10 +6,19 @@ ApplicationWindow {
height: 400
visible: true
- StackView {
- id: stackView
+ ListView {
+ id: listView
anchors.fill: parent
- initialItem: EventsPage {}
+ model: sports // This will reference the model added to the context
+ delegate: ItemDelegate {
+ text: modelData
+ }
}
+
+ // StackView {
+ // id: stackView
+ // anchors.fill: parent
+ // initialItem: EventsPage {}
+ // }
}