1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 18:22:46 +00:00

WIP: Slowly bringing back viewmodels

This commit is contained in:
Chris Josten 2021-03-29 23:48:16 +02:00
parent 9abee12658
commit 228f81984b
17 changed files with 292 additions and 96 deletions

View file

@ -14,6 +14,11 @@ ApplicationWindow {
height: 600
visible: true
property int _oldDepth: 0
property alias playbackManager: playbackManager
J.PlaybackManager {
id: playbackManager
}
background: Background {
id: background
@ -43,4 +48,20 @@ ApplicationWindow {
Component.onCompleted: {
ApiClient.restoreSavedSession()
}
footer: Column {
id: footer
Text {
text: qsTr("Now playing")
color: "white"
}
Text {
text: playbackManager.item.name ? playbackManager.item.name : "Nothing"
color: "white"
}
}
Rectangle {
color: "darkblue"
anchors.fill: footer
}
}