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 /pages/settings | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.tar.gz monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.tar.xz monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
Diffstat (limited to 'pages/settings')
| -rw-r--r-- | pages/settings/Settings.qml | 16 | ||||
| -rw-r--r-- | pages/settings/SettingsInfo.qml | 122 | ||||
| -rw-r--r-- | pages/settings/SettingsLayout.qml | 48 | ||||
| -rw-r--r-- | pages/settings/SettingsLog.qml | 44 | ||||
| -rw-r--r-- | pages/settings/SettingsNode.qml | 66 | ||||
| -rw-r--r-- | pages/settings/SettingsWallet.qml | 22 |
6 files changed, 159 insertions, 159 deletions
diff --git a/pages/settings/Settings.qml b/pages/settings/Settings.qml index 17457f98..df149311 100644 --- a/pages/settings/Settings.qml +++ b/pages/settings/Settings.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import "../../js/Windows.js" as Windows import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents import "../../pages" import "." import moneroComponents.Clipboard 1.0 @@ -48,35 +48,35 @@ ColumnLayout { property int settingsHeight: 900 property alias settingsStateViewState: settingsStateView.state - MoneroComponents.Navbar { + MonzeroComponents.Navbar { id: navbarId Layout.alignment: Qt.AlignHCenter Layout.topMargin: height Layout.bottomMargin: height - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Wallet" text: qsTr("Wallet") + translationManager.emptyString onSelected: settingsStateView.state = "Wallet" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "UI" text: qsTr("Interface") + translationManager.emptyString onSelected: settingsStateView.state = "UI" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Node" text: qsTr("Node") + translationManager.emptyString visible: appWindow.walletMode >= 2 onSelected: settingsStateView.state = "Node" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Log" text: qsTr("Log") + translationManager.emptyString onSelected: settingsStateView.state = "Log" visible: !isAndroid } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Info" text: qsTr("Info") + translationManager.emptyString onSelected: settingsStateView.state = "Info" diff --git a/pages/settings/SettingsInfo.qml b/pages/settings/SettingsInfo.qml index e126383a..b366446f 100644 --- a/pages/settings/SettingsInfo.qml +++ b/pages/settings/SettingsInfo.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -34,7 +34,7 @@ import QtQuick.Dialogs 1.2 import "../../js/Wizard.js" as Wizard import "../../js/Utils.js" as Utils import "../../version.js" as Version -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { @@ -67,14 +67,14 @@ Rectangle { columns: 2 columnSpacing: 0 - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { font.pixelSize: 14 text: qsTr("GUI version: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { font.pixelSize: 14 - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")" + translationManager.emptyString } @@ -83,8 +83,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -92,19 +92,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { - id: guiMoneroVersion + MonzeroComponents.TextBlock { + id: guiMonzeroVersion font.pixelSize: 14 - text: qsTr("Embedded Monero version: ") + translationManager.emptyString + text: qsTr("Embedded Monzero version: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { font.pixelSize: 14 - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: moneroVersion } @@ -113,8 +113,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -122,20 +122,20 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Wallet path: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: walletLocation Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 property string walletPath: (isIOS ? appWindow.accountsDir : "") + persistentSettings.wallet_path text: "\ @@ -158,8 +158,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -167,22 +167,22 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: restoreHeight font.pixelSize: 14 textFormat: Text.RichText text: (typeof currentWallet == "undefined") ? "" : qsTr("Wallet restore height: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: restoreHeightText Layout.fillWidth: true textFormat: Text.RichText - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 property var style: "<style type='text/css'>a {cursor:pointer;text-decoration: none; color: #FF6C3C}</style>" text: (currentWallet ? currentWallet.walletCreationHeight : "") + style + " <a href='#'> (%1)</a>".arg(qsTr("Change")) + translationManager.emptyString @@ -241,8 +241,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -250,19 +250,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Wallet log path: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: "\ <style type='text/css'>\ @@ -284,8 +284,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -293,19 +293,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Wallet mode: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: walletModeString } @@ -315,8 +315,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -324,19 +324,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Graphics mode: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: isOpenGL ? "OpenGL" : "Low graphics mode" } @@ -347,8 +347,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -357,21 +357,21 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { visible: isTails Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Tails: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { visible: isTails Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: tailsUsePersistence ? qsTr("persistent") + translationManager.emptyString : qsTr("persistence disabled") + translationManager.emptyString; } @@ -380,13 +380,13 @@ Rectangle { RowLayout { spacing: 20; - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true text: qsTr("Copy to clipboard") + translationManager.emptyString onClicked: { var data = ""; data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")"; - data += "\nEmbedded Monero version: " + moneroVersion; + data += "\nEmbedded Monzero version: " + moneroVersion; data += "\nWallet path: " + walletLocation.walletPath; data += "\nWallet restore height: "; @@ -405,11 +405,11 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true - text: qsTr("Donate to Monero") + translationManager.emptyString + text: qsTr("Donate to Monzero") + translationManager.emptyString onClicked: { - middlePanel.sendTo("888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H", "", qsTr("Donation to Monero Core Team") + translationManager.emptyString); + middlePanel.sendTo("888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H", "", qsTr("Donation to Monzero Core Team") + translationManager.emptyString); } } } diff --git a/pages/settings/SettingsLayout.qml b/pages/settings/SettingsLayout.qml index e73355ae..29f1c202 100644 --- a/pages/settings/SettingsLayout.qml +++ b/pages/settings/SettingsLayout.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -35,7 +35,7 @@ import moneroComponents.Wallet 1.0 import "../../js/Utils.js" as Utils import "../../js/Windows.js" as Windows -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { color: "transparent" @@ -53,14 +53,14 @@ Rectangle { anchors.topMargin: 0 spacing: 6 - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: customDecorationsCheckBox checked: persistentSettings.customDecorations onClicked: Windows.setCustomWindowDecorations(checked) text: qsTr("Custom decorations") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: checkForUpdatesCheckBox enabled: !disableCheckUpdatesFlag checked: persistentSettings.checkForUpdates && !disableCheckUpdatesFlag @@ -68,13 +68,13 @@ Rectangle { text: qsTr("Check for updates periodically") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.displayWalletNameInTitleBar onClicked: persistentSettings.displayWalletNameInTitleBar = !persistentSettings.displayWalletNameInTitleBar text: qsTr("Display wallet name in title bar") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: hideBalanceCheckBox checked: persistentSettings.hideBalance onClicked: { @@ -84,17 +84,17 @@ Rectangle { text: qsTr("Hide balance") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: themeCheckbox - checked: !MoneroComponents.Style.blackTheme + checked: !MonzeroComponents.Style.blackTheme text: qsTr("Light theme") + translationManager.emptyString toggleOnClick: false onClicked: { - MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme; + MonzeroComponents.Style.blackTheme = !MonzeroComponents.Style.blackTheme; } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.askPasswordBeforeSending text: qsTr("Ask for password before sending a transaction") + translationManager.emptyString toggleOnClick: false @@ -115,13 +115,13 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.autosave onClicked: persistentSettings.autosave = !persistentSettings.autosave text: qsTr("Autosave") + translationManager.emptyString } - MoneroComponents.Slider { + MonzeroComponents.Slider { Layout.fillWidth: true Layout.leftMargin: 35 Layout.topMargin: 6 @@ -134,14 +134,14 @@ Rectangle { onMoved: persistentSettings.autosaveMinutes = value } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: userInActivityCheckbox checked: persistentSettings.lockOnUserInActivity onClicked: persistentSettings.lockOnUserInActivity = !persistentSettings.lockOnUserInActivity text: qsTr("Lock wallet on inactivity") + translationManager.emptyString } - MoneroComponents.Slider { + MonzeroComponents.Slider { visible: userInActivityCheckbox.checked Layout.fillWidth: true Layout.topMargin: 6 @@ -157,7 +157,7 @@ Rectangle { onMoved: persistentSettings.lockOnUserInActivityInterval = value } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: backgroundSyncCheckbox visible: !!currentWallet && !currentWallet.isHwBacked() && !appWindow.viewOnly checked: appWindow.backgroundSyncType != Wallet.BackgroundSync_Off @@ -179,7 +179,7 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.askStopLocalNode onClicked: persistentSettings.askStopLocalNode = !persistentSettings.askStopLocalNode text: qsTr("Ask to stop local node during program exit") + translationManager.emptyString @@ -187,7 +187,7 @@ Rectangle { //! Manage pricing RowLayout { - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: enableConvertCurrency text: qsTr("Enable displaying balance in other currencies") + translationManager.emptyString checked: persistentSettings.fiatPriceEnabled @@ -207,7 +207,7 @@ Rectangle { Layout.leftMargin: 36 columnSpacing: 32 - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: fiatPriceProviderDropDown Layout.maximumWidth: 200 labelText: qsTr("Price source") + translationManager.emptyString @@ -222,7 +222,7 @@ Rectangle { } } - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: fiatPriceCurrencyDropdown Layout.maximumWidth: 100 labelText: qsTr("Currency") + translationManager.emptyString @@ -248,11 +248,11 @@ Rectangle { Layout.topMargin: 5 Layout.leftMargin: 36 - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { text: qsTr("Enabling price conversion exposes your IP address to the selected price source.") + translationManager.emptyString; } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { Layout.topMargin: 10 Layout.bottomMargin: 10 small: true @@ -265,7 +265,7 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: proxyCheckbox Layout.topMargin: 6 enabled: !socksProxyFlagSet @@ -278,7 +278,7 @@ Rectangle { .arg(qsTr("updates downloading, fetching price sources")) + translationManager.emptyString } - MoneroComponents.RemoteNodeEdit { + MonzeroComponents.RemoteNodeEdit { id: proxyEdit enabled: proxyCheckbox.enabled Layout.leftMargin: 36 @@ -296,7 +296,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { visible: !persistentSettings.customDecorations Layout.topMargin: 10 small: true diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml index efe06f0e..c0100c2a 100644 --- a/pages/settings/SettingsLog.qml +++ b/pages/settings/SettingsLog.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -31,7 +31,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls 2.2 import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { @@ -56,15 +56,15 @@ Rectangle { // Layout.preferredHeight: 1 // Layout.fillWidth: true // Layout.bottomMargin: 8 -// color: MoneroComponents.Style.dividerColor -// opacity: MoneroComponents.Style.dividerOpacity +// color: MonzeroComponents.Style.dividerColor +// opacity: MonzeroComponents.Style.dividerOpacity // } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.bottomMargin: 2 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 18 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name text: qsTr("Log level") + translationManager.emptyString } @@ -84,7 +84,7 @@ Rectangle { ListElement { column1: "custom"; } } - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: logLevelDropdown dataModel: logLevel itemTopMargin: 2 @@ -105,7 +105,7 @@ Rectangle { z: parent.z + 1 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: logCategories visible: logLevelDropdown.currentIndex === 5 Layout.fillWidth: true @@ -125,19 +125,19 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.topMargin: 10 Layout.bottomMargin: 2 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 18 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name text: qsTr("Daemon log") + translationManager.emptyString themeTransition: false onColorChanged: { var flickableContentYBefore = flickable.contentY var daemonLogText = consoleArea.text consoleArea.clear(); - if (MoneroComponents.Style.blackTheme) { + if (MonzeroComponents.Style.blackTheme) { consoleArea.append(daemonLogText.replace(/#000000/g, '#ffffff').replace(/#008000/g, '#00ff00')); } else { consoleArea.append(daemonLogText.replace(/#ffffff/g, '#000000').replace(/#00ff00/g, '#008000')); @@ -154,7 +154,7 @@ Rectangle { Rectangle { anchors.fill: parent color: "transparent" - border.color: MoneroComponents.Style.inputBorderColorInActive + border.color: MonzeroComponents.Style.inputBorderColorInActive border.width: 1 radius: 4 } @@ -166,24 +166,24 @@ Rectangle { TextArea.flickable: TextArea { id : consoleArea - color: MoneroComponents.Style.defaultFontColor - selectionColor: MoneroComponents.Style.textSelectionColor + color: MonzeroComponents.Style.defaultFontColor + selectionColor: MonzeroComponents.Style.textSelectionColor textFormat: TextEdit.RichText selectByMouse: true selectByKeyboard: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 wrapMode: TextEdit.Wrap readOnly: true function logCommand(msg){ - msg = log_color(msg, MoneroComponents.Style.blackTheme ? "lime" : "green"); + msg = log_color(msg, MonzeroComponents.Style.blackTheme ? "lime" : "green"); consoleArea.append(msg); } function logMessage(msg){ msg = Utils.htmlEscape(msg.trim()); - var color = MoneroComponents.Style.defaultFontColor; + var color = MonzeroComponents.Style.defaultFontColor; if(msg.toLowerCase().indexOf('error') >= 0){ - color = MoneroComponents.Style.errorColor; + color = MonzeroComponents.Style.errorColor; } else if (msg.toLowerCase().indexOf('warning') >= 0){ color = "#fa6800" } @@ -205,7 +205,7 @@ Rectangle { timeZoneName: undefined }); - var _timestamp = log_color("[" + timestamp + "]", MoneroComponents.Style.defaultFontColor); + var _timestamp = log_color("[" + timestamp + "]", MonzeroComponents.Style.defaultFontColor); var _msg = log_color(msg, color); consoleArea.append(_timestamp + " " + _msg); @@ -223,7 +223,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: sendCommandText Layout.fillWidth: true inputPaddingTop: 0 diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 28480419..63902207 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -31,8 +31,8 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 import FontAwesome 1.0 -import "../../components" as MoneroComponents -import "../../components/effects" as MoneroEffects +import "../../components" as MonzeroComponents +import "../../components/effects" as MonzeroEffects Rectangle{ color: "transparent" @@ -64,8 +64,8 @@ Rectangle{ anchors.left: parent.left anchors.right: parent.right height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -93,25 +93,25 @@ Rectangle{ anchors.leftMargin: 16 anchors.verticalCenter: parent.verticalCenter - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 32 text: FontAwesome.home fontFamily: FontAwesome.fontFamilySolid anchors.centerIn: parent - fontColor: MoneroComponents.Style.defaultFontColor + fontColor: MonzeroComponents.Style.defaultFontColor styleName: "Solid" } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: localNodeHeader anchors.left: localNodeIcon.right anchors.leftMargin: 14 anchors.top: parent.top - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + color: MonzeroComponents.Style.defaultFontColor + opacity: MonzeroComponents.Style.blackTheme ? 1.0 : 0.8 font.bold: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 text: qsTr("Local node") + translationManager.emptyString } @@ -122,8 +122,8 @@ Rectangle{ anchors.topMargin: 4 anchors.left: localNodeIcon.right anchors.leftMargin: 14 - color: MoneroComponents.Style.dimmedFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 horizontalAlignment: TextInput.AlignLeft wrapMode: Text.WordWrap; @@ -157,8 +157,8 @@ Rectangle{ anchors.left: parent.left anchors.right: parent.right height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -186,25 +186,25 @@ Rectangle{ anchors.leftMargin: 16 anchors.verticalCenter: parent.verticalCenter - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 28 text: FontAwesome.cloud fontFamily: FontAwesome.fontFamilySolid styleName: "Solid" anchors.centerIn: parent - fontColor: MoneroComponents.Style.defaultFontColor + fontColor: MonzeroComponents.Style.defaultFontColor } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: remoteNodeHeader anchors.left: remoteNodeIcon.right anchors.leftMargin: 14 anchors.top: parent.top - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + color: MonzeroComponents.Style.defaultFontColor + opacity: MonzeroComponents.Style.blackTheme ? 1.0 : 0.8 font.bold: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 text: qsTr("Remote node") + translationManager.emptyString } @@ -215,14 +215,14 @@ Rectangle{ anchors.topMargin: 4 anchors.left: remoteNodeIcon.right anchors.leftMargin: 14 - color: MoneroComponents.Style.dimmedFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 horizontalAlignment: TextInput.AlignLeft wrapMode: Text.WordWrap; leftPadding: 0 topPadding: 0 - text: qsTr("Uses a third-party server to connect to the Monero network. Less secure, but easier on your computer.") + translationManager.emptyString + text: qsTr("Uses a third-party server to connect to the Monzero network. Less secure, but easier on your computer.") + translationManager.emptyString width: parent.width - (remoteNodeIcon.width + remoteNodeIcon.anchors.leftMargin + anchors.leftMargin) } @@ -244,18 +244,18 @@ Rectangle{ anchors.right: parent.right anchors.bottom: parent.bottom height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { Layout.topMargin: 46 - text: qsTr("To find a remote node, type 'Monero remote node' into your favorite search engine. Please ensure the node is run by a trusted third-party.") + translationManager.emptyString + text: qsTr("To find a remote node, type 'Monzero remote node' into your favorite search engine. Please ensure the node is run by a trusted third-party.") + translationManager.emptyString visible: persistentSettings.useRemoteNode } - MoneroComponents.RemoteNodeList { + MonzeroComponents.RemoteNodeList { Layout.fillWidth: true Layout.topMargin: 26 visible: persistentSettings.useRemoteNode @@ -267,7 +267,7 @@ Rectangle{ Layout.topMargin: 40 visible: !persistentSettings.useRemoteNode - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true text: (appWindow.daemonRunning ? qsTr("Stop daemon") : qsTr("Start daemon")) + translationManager.emptyString onClicked: { @@ -281,7 +281,7 @@ Rectangle{ } RowLayout { - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: blockchainFolder Layout.preferredWidth: 200 Layout.fillWidth: true @@ -308,7 +308,7 @@ Rectangle{ } } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: daemonFlags Layout.fillWidth: true labelFontSize: 14 @@ -333,7 +333,7 @@ Rectangle{ ColumnLayout { Layout.fillWidth: true - MoneroComponents.RemoteNodeEdit { + MonzeroComponents.RemoteNodeEdit { id: bootstrapNodeEdit Layout.minimumWidth: 100 Layout.bottomMargin: 20 diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml index f43d64e2..a7fa0901 100644 --- a/pages/settings/SettingsWallet.qml +++ b/pages/settings/SettingsWallet.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Dialogs 1.2 import FontAwesome 1.0 import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { color: "transparent" @@ -50,7 +50,7 @@ Rectangle { anchors.topMargin: 0 spacing: 0 - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.lock description: qsTr("Locks the wallet on demand.") + translationManager.emptyString title: qsTr("Lock this wallet") + translationManager.emptyString @@ -58,7 +58,7 @@ Rectangle { onClicked: appWindow.lock(); } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.signOutAlt description: qsTr("Logs out of this wallet.") + translationManager.emptyString title: qsTr("Close this wallet") + translationManager.emptyString @@ -66,7 +66,7 @@ Rectangle { onClicked: appWindow.showWizard() } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.eye description: qsTr("Creates a new wallet that can only view and initiate transactions, but requires a spendable wallet to sign transactions before sending.") + translationManager.emptyString title: qsTr("Create a view-only wallet") + translationManager.emptyString @@ -88,7 +88,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.key description: qsTr("Store this information safely to recover your wallet in the future.") + translationManager.emptyString title: qsTr("Show seed & keys") + translationManager.emptyString @@ -98,7 +98,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { enabled: leftPanel.progressBar.fillLevel == 100 iconText: FontAwesome.repeat description: qsTr("Use this feature if you think the shown balance is not accurate.") + translationManager.emptyString @@ -127,7 +127,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { enabled: leftPanel.progressBar.fillLevel == 100 iconText: FontAwesome.magnifyingGlass description: qsTr("Use this feature if a transaction is missing in your wallet history. This will expose the transaction ID to the remote node, which can harm your privacy.") + translationManager.emptyString @@ -158,7 +158,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.ellipsisH description: qsTr("Change the password of your wallet.") + translationManager.emptyString title: qsTr("Change wallet password") + translationManager.emptyString @@ -181,10 +181,10 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.cashRegister isLast: true - description: qsTr("Receive Monero for your business, easily.") + translationManager.emptyString + description: qsTr("Receive Monzero for your business, easily.") + translationManager.emptyString title: qsTr("Enter merchant mode") + translationManager.emptyString onClicked: { |
