diff options
| author | mmbyday <mmbyday@protonmail.com> | 2019-05-15 00:27:57 -0700 |
|---|---|---|
| committer | mmbyday <mmbyday@protonmail.com> | 2019-05-15 00:37:53 -0700 |
| commit | a3c620f78d0ac14703fcb223d7676a48b7c30025 (patch) | |
| tree | 062b76e01eca5aa9b481e5958cc4ce2b81530dc1 /wizard/WizardCreateWallet1.qml | |
| parent | c286c7e5a8e67d769bc9054f661ab742a8b1a5ba (diff) | |
| download | monzero-gui-a3c620f78d0ac14703fcb223d7676a48b7c30025.tar.gz monzero-gui-a3c620f78d0ac14703fcb223d7676a48b7c30025.tar.xz monzero-gui-a3c620f78d0ac14703fcb223d7676a48b7c30025.zip | |
restore height visibility enhancements
Diffstat (limited to 'wizard/WizardCreateWallet1.qml')
| -rw-r--r-- | wizard/WizardCreateWallet1.qml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/wizard/WizardCreateWallet1.qml b/wizard/WizardCreateWallet1.qml index 031bbc5f..577243c3 100644 --- a/wizard/WizardCreateWallet1.qml +++ b/wizard/WizardCreateWallet1.qml @@ -32,6 +32,7 @@ import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard +import "../js/Utils.js" as Utils import "../components" as MoneroComponents Rectangle { @@ -128,6 +129,63 @@ Rectangle { } } + ColumnLayout { + spacing: 0 + + Layout.topMargin: 10 + Layout.fillWidth: true + + MoneroComponents.LineEditMulti { + id: restoreHeight + + spacing: 0 + inputPaddingLeft: 16 + inputPaddingRight: 16 + inputPaddingTop: 20 + inputPaddingBottom: 20 + inputRadius: 0 + fontSize: 18 + fontBold: true + wrapMode: Text.WordWrap + labelText: qsTr("Wallet restore height") + translationManager.emptyString + labelFontSize: 14 + copyButton: false + readOnly: true + text: Utils.roundDownToNearestThousand(wizardController.m_wallet.walletCreationHeight) + } + + MoneroComponents.WarningBox { + Rectangle { + anchors.left: parent.left + anchors.top: parent.top + anchors.bottom: parent.bottom + width: 1 + color: MoneroComponents.Style.inputBorderColorInActive + } + + Rectangle { + anchors.right: parent.right + anchors.left: parent.left + anchors.bottom: parent.bottom + height: 1 + color: MoneroComponents.Style.inputBorderColorInActive + } + + Rectangle { + anchors.right: parent.right + anchors.top: parent.top + anchors.bottom: parent.bottom + width: 1 + color: MoneroComponents.Style.inputBorderColorInActive + } + + radius: 0 + border.color: MoneroComponents.Style.inputBorderColorInActive + border.width: 0 + text: qsTr("Should you restore your wallet in the future, specifying this block number will recover your wallet quicker.") + translationManager.emptyString + } + } + WizardNav { progressSteps: 4 progress: 1 |
