1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-11 16:42:42 +00:00
harbour-sailfin/qtquick/qml/main.qml

34 lines
621 B
QML
Raw Normal View History

2021-02-16 17:01:17 +00:00
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtGraphicalEffects 1.12
2021-02-16 17:01:17 +00:00
import QtQuick.Window 2.12
import nl.netsoj.chris.Jellyfin 1.0
2021-02-16 17:01:17 +00:00
import "components"
import "../SailfinStyle"
2021-02-16 17:01:17 +00:00
ApplicationWindow {
2021-02-16 17:01:17 +00:00
width: 600
height: 600
visible: true
background: Background {
anchors.fill: parent
}
StackView {
id: pageStack
2021-02-16 17:01:17 +00:00
anchors.fill: parent
}
Connections {
target: ApiClient
onSetupRequired: pageStack.push(Qt.resolvedUrl("pages/setup/ServerSelectPage.qml"));
}
Component.onCompleted: {
ApiClient.restoreSavedSession()
}
2021-02-16 17:01:17 +00:00
}