aboutsummaryrefslogtreecommitdiff
path: root/pages/Transfer.qml
diff options
context:
space:
mode:
authorMonzero Build System <builds@monzero.org>2026-08-15 21:26:40 +0100
committerMonzero Build System <builds@monzero.org>2026-08-15 21:26:40 +0100
commitdceeb88444ce966caa1a133d2926d5f7213c87ff (patch)
treed74c9c7d7e43c2a0d39d656c690c63050cff7f53 /pages/Transfer.qml
parent81f33c7e00bf183823909a02e6d96ce11e41adce (diff)
downloadmonzero-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/Transfer.qml')
-rw-r--r--pages/Transfer.qml106
1 files changed, 53 insertions, 53 deletions
diff --git a/pages/Transfer.qml b/pages/Transfer.qml
index 9641139f..640849fb 100644
--- a/pages/Transfer.qml
+++ b/pages/Transfer.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -37,7 +37,7 @@ import moneroComponents.Wallet 1.0
import moneroComponents.NetworkType 1.0
import FontAwesome 1.0
import "../components"
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
import "." 1.0
import "../js/TxUtils.js" as TxUtils
import "../js/Utils.js" as Utils
@@ -181,7 +181,7 @@ Rectangle {
RowLayout {
visible: root.warningContent !== ""
- MoneroComponents.WarningBox {
+ MonzeroComponents.WarningBox {
text: warningContent
onLinkActivated: {
appWindow.startDaemon(appWindow.persistentSettings.daemonFlags);
@@ -192,8 +192,8 @@ Rectangle {
RowLayout {
visible: leftPanel.minutesToUnlock !== ""
- MoneroComponents.WarningBox {
- text: qsTr("Spendable funds: %1 XMR. Please wait ~%2 minutes for your whole balance to become spendable.").arg(leftPanel.balanceUnlockedString).arg(leftPanel.minutesToUnlock)
+ MonzeroComponents.WarningBox {
+ text: qsTr("Spendable funds: %1 XMZ. Please wait ~%2 minutes for your whole balance to become spendable.").arg(leftPanel.balanceUnlockedString).arg(leftPanel.minutesToUnlock)
}
}
@@ -291,14 +291,14 @@ Rectangle {
spacing: 6
Layout.fillWidth: true
- MoneroComponents.TextPlain {
- font.family: MoneroComponents.Style.fontRegular.name
+ MonzeroComponents.TextPlain {
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 16
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
text: qsTr("Address") + translationManager.emptyString
}
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
fontFamily: FontAwesome.fontFamilySolid
fontStyleName: "Solid"
fontPixelSize: 18
@@ -320,7 +320,7 @@ Rectangle {
}
}
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
fontFamily: FontAwesome.fontFamilySolid
fontStyleName: "Solid"
text: FontAwesome.qrcode
@@ -332,7 +332,7 @@ Rectangle {
}
}
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
fontFamily: FontAwesome.fontFamily
text: FontAwesome.addressBook
tooltip: qsTr("Import from address book") + translationManager.emptyString
@@ -353,14 +353,14 @@ Rectangle {
Layout.preferredWidth: 125
Layout.maximumWidth: recipientLayout.secondRowWidth
- MoneroComponents.TextPlain {
- font.family: MoneroComponents.Style.fontRegular.name
+ MonzeroComponents.TextPlain {
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 16
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
text: qsTr("Amount") + translationManager.emptyString
}
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
fontFamily: FontAwesome.fontFamilySolid
fontStyleName: "Solid"
fontPixelSize: 16
@@ -392,7 +392,7 @@ Rectangle {
Layout.topMargin: -1
Layout.leftMargin: 1
Layout.rightMargin: recipientLayout.thirdRowWidth + 1
- color: MoneroComponents.Style.inputBorderColorInActive
+ color: MonzeroComponents.Style.inputBorderColorInActive
height: 1
visible: index > 0
}
@@ -400,7 +400,7 @@ Rectangle {
RowLayout {
spacing: 0
- MoneroComponents.LineEditMulti {
+ MonzeroComponents.LineEditMulti {
KeyNavigation.backtab: index > 0 ? recipientRepeater.itemAt(index - 1).children[1].children[2] : sendButton
KeyNavigation.tab: parent.children[2]
Layout.alignment: Qt.AlignVCenter
@@ -409,23 +409,23 @@ Rectangle {
Layout.fillWidth: true
addressValidation: true
borderDisabled: true
- fontColor: error && text != "" ? MoneroComponents.Style.errorColor : MoneroComponents.Style.defaultFontColor
- fontFamily: MoneroComponents.Style.fontMonoRegular.name
+ fontColor: error && text != "" ? MonzeroComponents.Style.errorColor : MonzeroComponents.Style.defaultFontColor
+ fontFamily: MonzeroComponents.Style.fontMonoRegular.name
fontSize: 14
inputPaddingBottom: 0
inputPaddingTop: 0
inputPaddingRight: 0
- placeholderFontFamily: MoneroComponents.Style.fontMonoRegular.name
+ placeholderFontFamily: MonzeroComponents.Style.fontMonoRegular.name
placeholderFontSize: 14
spacing: 0
wrapMode: Text.WrapAnywhere
placeholderText: {
if(persistentSettings.nettype == NetworkType.MAINNET){
- return "4.. / 8.. / monero:.. / OpenAlias";
+ return "F.. / monzero:.. / OpenAlias";
} else if (persistentSettings.nettype == NetworkType.STAGENET){
- return "5.. / 7.. / monero:..";
+ return "F.. / monzero:..";
} else if(persistentSettings.nettype == NetworkType.TESTNET){
- return "9.. / B.. / monero:..";
+ return "F.. / monzero:..";
}
}
onTextChanged: {
@@ -437,7 +437,7 @@ Rectangle {
}
text: address
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
small: true
text: qsTr("Resolve") + translationManager.emptyString
visible: TxUtils.isValidOpenAliasAddress(address)
@@ -478,11 +478,11 @@ Rectangle {
Layout.bottomMargin: 1
Layout.leftMargin: recipientLayout.colSpacing / 2 - width
Layout.rightMargin: recipientLayout.colSpacing / 2
- color: MoneroComponents.Style.inputBorderColorInActive
+ color: MonzeroComponents.Style.inputBorderColorInActive
width: 1
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
KeyNavigation.backtab: parent.children[0]
KeyNavigation.tab: index + 1 < recipientRepeater.count ? recipientRepeater.itemAt(index + 1).children[1].children[0] : sendButton
Layout.alignment: Qt.AlignVCenter
@@ -492,13 +492,13 @@ Rectangle {
Layout.preferredWidth: 125
Layout.maximumWidth: 125
borderDisabled: true
- fontFamily: MoneroComponents.Style.fontMonoRegular.name
+ fontFamily: MonzeroComponents.Style.fontMonoRegular.name
fontSize: 14
inputPaddingLeft: 0
inputPaddingRight: 0
inputPaddingTop: 0
inputPaddingBottom: 0
- placeholderFontFamily: MoneroComponents.Style.fontMonoRegular.name
+ placeholderFontFamily: MonzeroComponents.Style.fontMonoRegular.name
placeholderFontSize: 14
placeholderLeftMargin: 0
placeholderText: "0.00"
@@ -525,7 +525,7 @@ Rectangle {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
Layout.leftMargin: recipientLayout.colSpacing / 2
Layout.preferredWidth: recipientLayout.thirdRowWidth
font.family: FontAwesome.fontFamilySolid
@@ -548,12 +548,12 @@ Rectangle {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
Layout.leftMargin: recipientLayout.colSpacing / 2
Layout.preferredWidth: recipientLayout.thirdRowWidth
horizontalAlignment: Text.AlignHCenter
- font.family: MoneroComponents.Style.fontRegular.name
- text: "XMR"
+ font.family: MonzeroComponents.Style.fontRegular.name
+ text: "XMZ"
visible: recipientModel.count == 1
}
}
@@ -598,16 +598,16 @@ Rectangle {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
Layout.fillWidth: true
horizontalAlignment: Text.AlignRight
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 16
text: recipientModel.count > 1 ? qsTr("Total") + translationManager.emptyString : ""
}
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: totalValue
Layout.column: 1
Layout.row: 0
@@ -615,7 +615,7 @@ Rectangle {
Layout.topMargin: recipientModel.count > 1 ? 0 : -1
Layout.maximumWidth: recipientLayout.secondRowWidth
borderDisabled: true
- fontFamily: MoneroComponents.Style.fontMonoRegular.name
+ fontFamily: MonzeroComponents.Style.fontMonoRegular.name
fontSize: 14
inputHeight: 30
inputPaddingLeft: 0
@@ -627,25 +627,25 @@ Rectangle {
visible: recipientModel.count > 1
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
Layout.column: 2
Layout.row: 0
Layout.preferredWidth: recipientLayout.thirdRowWidth
Layout.maximumWidth: recipientLayout.thirdRowWidth
horizontalAlignment: Text.AlignHCenter
- font.family: MoneroComponents.Style.fontRegular.name
- text: "XMR"
+ font.family: MonzeroComponents.Style.fontRegular.name
+ text: "XMZ"
visible: recipientModel.count > 1
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
Layout.column: 1
Layout.row: recipientModel.count > 1 ? 1 : 0
Layout.preferredWidth: recipientLayout.secondRowWidth
Layout.topMargin: recipientModel.count > 1 ? 0 : -1
Layout.maximumWidth: recipientLayout.secondRowWidth
borderDisabled: true
- fontFamily: MoneroComponents.Style.fontMonoRegular.name
+ fontFamily: MonzeroComponents.Style.fontMonoRegular.name
fontSize: 14
inputHeight: 30
inputPaddingLeft: 0
@@ -658,13 +658,13 @@ Rectangle {
visible: persistentSettings.fiatPriceEnabled
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
Layout.column: 2
Layout.row: recipientModel.count > 1 ? 1 : 0
Layout.preferredWidth: recipientLayout.thirdRowWidth
Layout.topMargin: recipientModel.count > 1 ? 0 : -1
Layout.maximumWidth: recipientLayout.thirdRowWidth
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
horizontalAlignment: Text.AlignHCenter
opacity: 0.7
text: fiatApiCurrencySymbol()
@@ -682,7 +682,7 @@ Rectangle {
anchors.right: recipientLayout.right
anchors.rightMargin: recipientLayout.thirdRowWidth
color: "transparent"
- border.color: MoneroComponents.Style.inputBorderColorInActive
+ border.color: MonzeroComponents.Style.inputBorderColorInActive
border.width: 1
radius: 4
}
@@ -723,13 +723,13 @@ Rectangle {
labelFontSize: 16
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: feeLabel
Layout.alignment: Qt.AlignBottom
Layout.bottomMargin: 11
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
opacity: 0.7
property bool estimating: false
property var estimatedFee: null
@@ -768,7 +768,7 @@ Rectangle {
if (!sendButton.enabled || estimatedFee == null) {
return ""
}
- return "~%1 XMR%2 %3".arg(estimatedFee)
+ return "~%1 XMZ%2 %3".arg(estimatedFee)
.arg(estimatedFeeFiat)
.arg(qsTr("fee") + translationManager.emptyString);
}
@@ -783,7 +783,7 @@ Rectangle {
}
}
- MoneroComponents.WarningBox {
+ MonzeroComponents.WarningBox {
text: qsTr("Description field contents match long payment ID format. \
Please don't paste long payment ID into description field, your funds might be lost.") + translationManager.emptyString;
visible: warningLongPidDescription
@@ -854,7 +854,7 @@ Rectangle {
}
}
- MoneroComponents.WarningBox {
+ MonzeroComponents.WarningBox {
id: paymentIdWarningBox
text: qsTr("Long payment IDs are obsolete. \
Long payment IDs were not encrypted on the blockchain and would harm your privacy. \
@@ -862,7 +862,7 @@ Rectangle {
visible: root.paymentIdBlocked
}
- MoneroComponents.WarningBox {
+ MonzeroComponents.WarningBox {
id: sendButtonWarningBox
text: root.sendButtonWarning
visible: root.sendButtonWarning !== ""
@@ -992,7 +992,7 @@ Rectangle {
if (appWindow.viewOnly && !root.hasValidTransferInfo) {
errorMessage = "<p class='orange'>" + qsTr("* To create a transaction file, please enter address and amount above") + "</p>";
}
- var header = qsTr("Spend XMR from a cold (offline) wallet") + translationManager.emptyString;
+ var header = qsTr("Spend XMZ from a cold (offline) wallet") + translationManager.emptyString;
return "<style type='text/css'>.header{ font-size: 13px; } p{line-height:20px; margin-top:0px; margin-bottom:0px; " +
";} p.orange{color:#ff9323;}</style>" +
"<div class='header'>" + header + "</div>" +
@@ -1078,7 +1078,7 @@ Rectangle {
informationPopup.open();
} else {
informationPopup.title = qsTr("Information") + translationManager.emptyString
- informationPopup.text = qsTr("Monero sent successfully") + translationManager.emptyString
+ informationPopup.text = qsTr("Monzero sent successfully") + translationManager.emptyString
informationPopup.icon = StandardIcon.Information
informationPopup.onCloseCallback = null
informationPopup.open();