aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardNav.qml
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2019-04-15 04:59:04 +0200
committerdsc <xmrdsc@protonmail.com>2019-04-26 01:53:42 +0200
commite84f4623d89d91d889562f6403c65207b2c4b164 (patch)
treebdc35a7c99f641db1cf2db17517334c1f76cca6f /wizard/WizardNav.qml
parente81cb7e64090f66e72d942b048b69505e490f5c0 (diff)
downloadmonzero-gui-e84f4623d89d91d889562f6403c65207b2c4b164.tar.gz
monzero-gui-e84f4623d89d91d889562f6403c65207b2c4b164.tar.xz
monzero-gui-e84f4623d89d91d889562f6403c65207b2c4b164.zip
Back transitions for the wizards
Diffstat (limited to 'wizard/WizardNav.qml')
-rw-r--r--wizard/WizardNav.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/wizard/WizardNav.qml b/wizard/WizardNav.qml
index 34f71f73..9770b976 100644
--- a/wizard/WizardNav.qml
+++ b/wizard/WizardNav.qml
@@ -50,6 +50,18 @@ GridLayout {
signal nextClicked;
signal prevClicked;
+ // internal signals
+ signal m_nextClicked;
+ signal m_prevClicked;
+
+ onM_prevClicked: {
+ wizardController.wizardStackView.backTransition = true;
+ }
+
+ onM_nextClicked: {
+ wizardController.wizardStackView.backTransition = false;
+ }
+
Rectangle {
Layout.preferredHeight: parent.height
Layout.fillWidth: true
@@ -64,6 +76,7 @@ GridLayout {
anchors.verticalCenter: parent.verticalCenter
onClicked: {
+ menuNav.m_prevClicked();
menuNav.prevClicked();
}
}
@@ -99,6 +112,7 @@ GridLayout {
anchors.right: parent.right
onClicked: {
+ menuNav.m_nextClicked();
menuNav.nextClicked();
}
}