added swipe up for menu on PageHome

This commit is contained in:
vladimir.kuznetsov 2023-09-06 13:37:37 +05:00
parent 7fc4ea0c68
commit 4ab006f065
28 changed files with 90 additions and 85 deletions

View file

@ -17,8 +17,8 @@ PageType {
target: ImportController
function onQrDecodingFinished() {
closePage()
goToPage(PageEnum.PageSetupWizardViewConfig)
PageController.closePage()
PageController.goToPage(PageEnum.PageSetupWizardViewConfig)
}
}
@ -84,7 +84,7 @@ It's okay as long as it's from someone you trust.")
PageController.showBusyIndicator(false)
} else {
ImportController.extractConfigFromFile(fileDialog.selectedFile.toString())
goToPage(PageEnum.PageSetupWizardViewConfig)
PageController.goToPage(PageEnum.PageSetupWizardViewConfig)
}
}
}
@ -103,7 +103,7 @@ It's okay as long as it's from someone you trust.")
clickedFunction: function() {
ImportController.startDecodingQr()
if (Qt.platform.os === "ios") {
goToPage(PageEnum.PageSetupWizardQrReader)
PageController.goToPage(PageEnum.PageSetupWizardQrReader)
}
}
}
@ -120,7 +120,7 @@ It's okay as long as it's from someone you trust.")
leftImageSource: "qrc:/images/controls/text-cursor.svg"
clickedFunction: function() {
goToPage(PageEnum.PageSetupWizardTextKey)
PageController.goToPage(PageEnum.PageSetupWizardTextKey)
}
}