diff options
| author | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
|---|---|---|
| committer | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
| commit | dceeb88444ce966caa1a133d2926d5f7213c87ff (patch) | |
| tree | d74c9c7d7e43c2a0d39d656c690c63050cff7f53 /wizard/WizardRestoreWallet1.qml | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-phase0-20260815.tar.gz monzero-gui-phase0-20260815.tar.xz monzero-gui-phase0-20260815.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
Diffstat (limited to 'wizard/WizardRestoreWallet1.qml')
| -rw-r--r-- | wizard/WizardRestoreWallet1.qml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/wizard/WizardRestoreWallet1.qml b/wizard/WizardRestoreWallet1.qml index 61818c3c..4c56c637 100644 --- a/wizard/WizardRestoreWallet1.qml +++ b/wizard/WizardRestoreWallet1.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardRestoreWallet1 @@ -114,7 +114,7 @@ Rectangle { spacing: 30 Layout.fillWidth: true - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: seedRadioButton text: qsTr("Restore from seed") + translationManager.emptyString fontSize: 16 @@ -127,7 +127,7 @@ Rectangle { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: keysRadioButton text: qsTr("Restore from keys") + translationManager.emptyString fontSize: 16 @@ -140,7 +140,7 @@ Rectangle { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: qrRadioButton text: qsTr("Restore from QR Code") + translationManager.emptyString fontSize: 16 @@ -173,53 +173,53 @@ Rectangle { border.width: 1 border.color: { if(seedInput.text !== "" && seedInput.error){ - return MoneroComponents.Style.inputBorderColorInvalid; + return MonzeroComponents.Style.inputBorderColorInvalid; } else if(seedInput.activeFocus){ - return MoneroComponents.Style.inputBorderColorActive; + return MonzeroComponents.Style.inputBorderColorActive; } else { - return MoneroComponents.Style.inputBorderColorInActive; + return MonzeroComponents.Style.inputBorderColorInActive; } } - MoneroComponents.InputMulti { + MonzeroComponents.InputMulti { id: seedInput property bool error: false width: parent.width height: 100 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor textMargin: 2 text: "" - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - selectionColor: MoneroComponents.Style.textSelectionColor - selectedTextColor: MoneroComponents.Style.textSelectedColor + selectionColor: MonzeroComponents.Style.textSelectionColor + selectedTextColor: MonzeroComponents.Style.textSelectedColor wrapMode: TextInput.Wrap selectByMouse: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: memoTextPlaceholder opacity: 0.35 anchors.fill:parent font.pixelSize: 16 anchors.margins: 8 anchors.leftMargin: 10 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name text: qsTr("Enter your 25 word mnemonic seed") + translationManager.emptyString - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor visible: !seedInput.text } } } - MoneroComponents.CheckBox2 { + MonzeroComponents.CheckBox2 { id: seedOffsetCheckbox text: qsTr("Seed offset passphrase (optional)") + translationManager.emptyString } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: seedOffset password: true Layout.fillWidth: true @@ -229,7 +229,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: addressLine visible: wizardController.walletRestoreMode === 'keys' Layout.fillWidth: true @@ -241,7 +241,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: viewKeyLine visible: wizardController.walletRestoreMode === 'keys' Layout.fillWidth: true @@ -253,7 +253,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: spendKeyLine visible: wizardController.walletRestoreMode === 'keys' Layout.fillWidth: true @@ -266,7 +266,7 @@ Rectangle { } GridLayout{ - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: restoreHeight Layout.fillWidth: true labelText: qsTr("Wallet creation date as `YYYY-MM-DD` or restore height") + translationManager.emptyString |
