fixed navigation during initial installation
This commit is contained in:
parent
b5dd48ad7b
commit
fdff57da7c
2 changed files with 28 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
#include "MobileUtils.h"
|
#include "MobileUtils.h"
|
||||||
|
|
||||||
void MobileUtils::shareText(const QStringList&) {}
|
void MobileUtils::shareText(const QStringList &)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void MobileUtils::openFile()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
|
@ -23,6 +23,28 @@ PageType {
|
||||||
function onShowBusyIndicator(visible) {
|
function onShowBusyIndicator(visible) {
|
||||||
busyIndicator.visible = visible
|
busyIndicator.visible = visible
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onClosePage() {
|
||||||
|
if (stackView.depth <= 1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
stackView.pop()
|
||||||
|
}
|
||||||
|
|
||||||
|
function onGoToPage(page, slide) {
|
||||||
|
var pagePath = PageController.getPagePath(page)
|
||||||
|
if (slide) {
|
||||||
|
stackView.push(pagePath, { "objectName" : pagePath }, StackView.PushTransition)
|
||||||
|
} else {
|
||||||
|
stackView.push(pagePath, { "objectName" : pagePath }, StackView.Immediate)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function onGoToStartPage() {
|
||||||
|
while (stackView.depth > 1) {
|
||||||
|
stackView.pop()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue