aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardCreateWallet4.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-08-23 18:09:22 +0200
committerselsta <selsta@sent.at>2023-02-12 23:25:49 +0100
commit198dfb338cb26177763b5fff835a3740b0a4f0c5 (patch)
tree8e5608e824fde049ef9c0a5a37fd44c87dc6611a /wizard/WizardCreateWallet4.qml
parentb7ba9437d8cca6df4ecff7f5ae38a53cac5e26b2 (diff)
downloadmonzero-gui-198dfb338cb26177763b5fff835a3740b0a4f0c5.tar.gz
monzero-gui-198dfb338cb26177763b5fff835a3740b0a4f0c5.tar.xz
monzero-gui-198dfb338cb26177763b5fff835a3740b0a4f0c5.zip
wizard: redesign seed page
- move mnemonic seed - restore height into a separate page - pdf template - seed verification - responsive UI - accessibility
Diffstat (limited to 'wizard/WizardCreateWallet4.qml')
-rw-r--r--wizard/WizardCreateWallet4.qml34
1 files changed, 10 insertions, 24 deletions
diff --git a/wizard/WizardCreateWallet4.qml b/wizard/WizardCreateWallet4.qml
index 8a706bc3..9f949798 100644
--- a/wizard/WizardCreateWallet4.qml
+++ b/wizard/WizardCreateWallet4.qml
@@ -30,7 +30,6 @@ import QtQuick 2.9
import QtQuick.Layouts 1.2
import QtQuick.Controls 2.0
-import "../js/Wizard.js" as Wizard
import "../components" as MoneroComponents
Rectangle {
@@ -38,7 +37,6 @@ Rectangle {
color: "transparent"
property alias pageHeight: pageRoot.height
- property alias wizardNav: wizardNav
property string viewName: "wizardCreateWallet4"
ColumnLayout {
@@ -58,35 +56,23 @@ Rectangle {
spacing: 20
WizardHeader {
- title: qsTr("You're all set up!") + translationManager.emptyString
- subtitle: qsTr("New wallet details:") + translationManager.emptyString
+ title: qsTr("Daemon settings") + translationManager.emptyString
+ subtitle: qsTr("To be able to communicate with the Monero network your wallet needs to be connected to a Monero node. For best privacy it's recommended to run your own node.") + translationManager.emptyString
}
- WizardSummary {}
+ WizardDaemonSettings {
+ id: daemonSettings
+ }
WizardNav {
- id: wizardNav
- Layout.topMargin: 24
- btnNextText: qsTr("Create wallet") + translationManager.emptyString
- progressSteps: appWindow.walletMode <= 1 ? 3 : 4
- progress: appWindow.walletMode <= 1 ? 2 : 3
-
+ progressSteps: 5
+ progress: 3
onPrevClicked: {
- if (appWindow.walletMode <= 1){
- wizardStateView.state = "wizardCreateWallet1";
- } else {
- wizardStateView.state = "wizardCreateWallet3";
- }
+ wizardStateView.state = "wizardCreateWallet3";
}
onNextClicked: {
- btnNext.enabled = false;
- wizardController.wizardStateView.wizardCreateWallet2View.pwField = "";
- wizardController.wizardStateView.wizardCreateWallet2View.pwConfirmField = "";
- wizardController.writeWallet(function() {
- wizardController.useMoneroClicked();
- wizardController.walletOptionsIsRecoveringFromDevice = false;
- btnNext.enabled = true;
- });
+ daemonSettings.save();
+ wizardStateView.state = "wizardCreateWallet5";
}
}
}