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/WizardAskPassword.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/WizardAskPassword.qml')
| -rw-r--r-- | wizard/WizardAskPassword.qml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml index ca9c94c3..48c7e38e 100644 --- a/wizard/WizardAskPassword.qml +++ b/wizard/WizardAskPassword.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 FontAwesome 1.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents ColumnLayout { id: root @@ -74,10 +74,10 @@ ColumnLayout { fillRect.color = "#FF0000"; } else if(strength <= 66){ strengthString = qsTr("Medium"); - fillRect.color = (MoneroComponents.Style.blackTheme ? "#FFFF00" : "#FFCC00"); + fillRect.color = (MonzeroComponents.Style.blackTheme ? "#FFFF00" : "#FFCC00"); } else { strengthString = qsTr("High"); - fillRect.color = (MoneroComponents.Style.blackTheme ? "#00FF00" : "#008000"); + fillRect.color = (MonzeroComponents.Style.blackTheme ? "#00FF00" : "#008000"); } progressText.text = passwordStrengthText + strengthString + translationManager.emptyString; @@ -90,14 +90,14 @@ ColumnLayout { subtitle: qsTr("This password cannot be recovered. If you forget it then the wallet will have to be restored from your %1.").arg(!wizardController.walletOptionsIsRecoveringFromDevice ? qsTr("25 word mnemonic seed") : qsTr("hardware wallet"))+ translationManager.emptyString } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { text: "<b>%1</b> (%2).".arg(qsTr("Enter a strong password")).arg(qsTr("Using letters, numbers, and/or symbols")) + translationManager.emptyString } ColumnLayout { Layout.fillWidth: true - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: passwordInput Layout.fillWidth: true KeyNavigation.tab: passwordInputConfirm @@ -117,10 +117,10 @@ ColumnLayout { id: progressText Layout.topMargin: 6 Layout.bottomMargin: 6 - font.family: MoneroComponents.Style.fontMedium.name + font.family: MonzeroComponents.Style.fontMedium.name font.pixelSize: 14 font.bold: false - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor height: 18 passwordCharacter: "*" } @@ -131,7 +131,7 @@ ColumnLayout { Layout.preferredHeight: 8 radius: 8 - color: MoneroComponents.Style.progressBarBackgroundColor + color: MonzeroComponents.Style.progressBarBackgroundColor Rectangle { id: fillRect @@ -146,7 +146,7 @@ ColumnLayout { } Rectangle { - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.bottom: parent.bottom anchors.left: parent.left anchors.leftMargin: 8 @@ -158,7 +158,7 @@ ColumnLayout { ColumnLayout { Layout.fillWidth: true - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: passwordInputConfirm property bool firstUserInput: true Layout.fillWidth: true @@ -181,7 +181,7 @@ ColumnLayout { Layout.topMargin: 0 Layout.minimumHeight: passwordInputMessage.height + 3 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { visible: passwordInputMessage.visible font.family: FontAwesome.fontFamilySolid font.styleName: "Solid" @@ -191,7 +191,7 @@ ColumnLayout { themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: passwordInputMessage property bool passwordsMatch: passwordInputConfirm.text === passwordInput.text property bool partialPasswordsMatch: passwordInputConfirm.text === passwordInput.text.substring(0, passwordInputConfirm.text.length) @@ -199,8 +199,8 @@ ColumnLayout { Layout.topMargin: 3 text: passwordsMatch ? qsTr("Passwords match!") : qsTr("Passwords do not match") + translationManager.emptyString textFormat: Text.PlainText - color: passwordsMatch ? (MoneroComponents.Style.blackTheme ? "#00FF00" : "#008000") : "#FF0000" - font.family: MoneroComponents.Style.fontRegular.name + color: passwordsMatch ? (MonzeroComponents.Style.blackTheme ? "#00FF00" : "#008000") : "#FF0000" + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 themeTransition: false } |
