diff options
Diffstat (limited to 'application.qml')
-rw-r--r-- | application.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/application.qml b/application.qml index 5e5d092..44236fe 100644 --- a/application.qml +++ b/application.qml @@ -6,13 +6,14 @@ ApplicationWindow { height: 400 visible: true - ListView { + TreeView { id: listView anchors.fill: parent model: sports // This will reference the model added to the context delegate: ItemDelegate { - text: modelData + text: eventName } + Component.onCompleted : console.log(Object.keys(sports.data)) } // StackView { |