fixed screen fade when switching from PageSetupWizardStart to PageStart

This commit is contained in:
vladimir.kuznetsov 2024-03-06 14:22:44 +05:00
parent 6b6a76d2cc
commit 9201ca1e03
3 changed files with 24 additions and 25 deletions

View file

@ -86,6 +86,11 @@ Window {
function onGoToPageSettingsBackup() {
PageController.goToPage(PageEnum.PageSettingsBackup)
}
function onShowBusyIndicator(visible) {
busyIndicator.visible = visible
PageController.disableControls(visible)
}
}
Connections {
@ -215,6 +220,16 @@ Window {
}
}
Item {
anchors.fill: parent
BusyIndicatorType {
id: busyIndicator
anchors.centerIn: parent
z: 1
}
}
function showQuestionDrawer(headerText, descriptionText, yesButtonText, noButtonText, yesButtonFunction, noButtonFunction) {
questionDrawer.headerText = headerText
questionDrawer.descriptionText = descriptionText