itat_challenge/application.qml

26 lines
470 B
QML
Raw Permalink Normal View History

2024-07-26 17:49:18 +02:00
import QtQuick
import QtQuick.Controls
ApplicationWindow {
width: 400
height: 400
visible: true
2024-07-26 17:49:18 +02:00
2024-08-11 20:54:39 +02:00
TreeView {
id: listView
anchors.fill: parent
model: sports // This will reference the model added to the context
delegate: ItemDelegate {
2024-08-11 20:54:39 +02:00
text: eventName
}
2024-08-11 20:54:39 +02:00
Component.onCompleted : console.log(Object.keys(sports.data))
}
// StackView {
// id: stackView
// anchors.fill: parent
// initialItem: EventsPage {}
// }
2024-07-26 17:49:18 +02:00
}