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

Add login page

This commit is contained in:
Chris Josten 2021-03-07 16:26:13 +01:00
parent fb60cf13de
commit 56d7c1486e
13 changed files with 246 additions and 121 deletions

View file

@ -6,20 +6,31 @@ import QtQuick.Window 2.12
import nl.netsoj.chris.Jellyfin 1.0
import "components"
import "../SailfinStyle"
import ".."
ApplicationWindow {
id: appWindow
width: 600
height: 600
visible: true
property int _oldDepth: 0
background: Background {
id: background
anchors.fill: parent
}
StackView {
id: pageStack
anchors.fill: parent
onDepthChanged: {
if (depth >= _oldDepth) {
background.enter();
} else {
background.exit();
}
_oldDepth = depth
}
}
Connections {