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:
parent
fb60cf13de
commit
56d7c1486e
13 changed files with 246 additions and 121 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue