GODT-1458: Splash screen and wording.

This commit is contained in:
Jakub
2021-12-09 11:50:42 +01:00
committed by Jakub Cuth
parent ad6b84d4e0
commit f0d05aeb79
12 changed files with 289 additions and 14 deletions

View File

@ -98,6 +98,10 @@ ApplicationWindow {
property bool _showSetup: false
currentIndex: {
if (backend.showSplashScreen) {
return 3
}
// show welcome when there are no users or only one non-logged-in user is present
if (backend.users.count === 0) {
return 1
@ -122,7 +126,7 @@ ApplicationWindow {
return 0
}
ContentWrapper {
ContentWrapper { // 0
id: contentWrapper
colorScheme: root.colorScheme
backend: root.backend
@ -136,7 +140,7 @@ ApplicationWindow {
}
}
WelcomeGuide {
WelcomeGuide { // 1
colorScheme: root.colorScheme
backend: root.backend
@ -144,7 +148,7 @@ ApplicationWindow {
Layout.fillWidth: true
}
SetupGuide {
SetupGuide { // 2
id: setupGuide
colorScheme: root.colorScheme
backend: root.backend
@ -163,6 +167,15 @@ ApplicationWindow {
root.showSetup(null,"")
}
}
SplashScreen { // 3
id: splashScreen
colorScheme: root.colorScheme
backend: root.backend
Layout.fillHeight: true
Layout.fillWidth: true
}
}
NotificationPopups {