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/merchant | |
| 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 'pages/merchant')
| -rw-r--r-- | pages/merchant/Merchant.qml | 34 | ||||
| -rw-r--r-- | pages/merchant/MerchantCheckbox.qml | 6 | ||||
| -rw-r--r-- | pages/merchant/MerchantTitlebar.qml | 19 | ||||
| -rw-r--r-- | pages/merchant/MerchantTrackingList.qml | 12 |
4 files changed, 36 insertions, 35 deletions
diff --git a/pages/merchant/Merchant.qml b/pages/merchant/Merchant.qml index 86d47560..4d4b2d3a 100644 --- a/pages/merchant/Merchant.qml +++ b/pages/merchant/Merchant.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2026, The Monero Project +// Copyright (c) 2014-2026, The Monzero Project // // All rights reserved. // @@ -44,7 +44,7 @@ import moneroComponents.SubaddressModel 1.0 import "../../js/Windows.js" as Windows import "../../js/TxUtils.js" as TxUtils import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents import "../../pages" import "." @@ -153,7 +153,7 @@ Item { Layout.preferredWidth: 10 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { font.pixelSize: 16 font.bold: true color: "#767676" @@ -287,7 +287,7 @@ Item { width: (parent.width - qrImg.width) - (50) height: 32 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter font.pixelSize: 12 @@ -315,7 +315,7 @@ Item { width: 220 height: 32 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter font.pixelSize: 12 @@ -361,7 +361,7 @@ Item { Layout.preferredWidth: 10 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { font.pixelSize: 14 font.bold: true color: "#767676" @@ -382,7 +382,7 @@ Item { // Layout.fillHeight: true // color: "transparent" -// MoneroComponents.TextPlain { +// MonzeroComponents.TextPlain { // anchors.verticalCenter: parent.verticalCenter // anchors.right: parent.right // anchors.rightMargin: 20 @@ -416,7 +416,7 @@ Item { color: "#d9d9d9" } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { property string _color: "#767676" Layout.fillWidth: true Layout.margins: 20 @@ -436,7 +436,7 @@ Item { hoverEnabled: true cursorShape: Qt.PointingHandCursor onEntered: { - parent.color = MoneroComponents.Style.orange + parent.color = MonzeroComponents.Style.orange } onExited: { parent.color = parent._color @@ -473,11 +473,11 @@ Item { anchors.left: parent.left anchors.right: parent.right - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { font.pixelSize: 14 font.bold: false color: "white" - text: qsTr("Amount to receive") + " (XMR)" + translationManager.emptyString + text: qsTr("Amount to receive") + " (XMZ)" + translationManager.emptyString themeTransition: false } @@ -486,7 +486,7 @@ Item { width: 220 source: "qrc:///images/merchant/input_box.png" - MoneroComponents.Input { + MonzeroComponents.Input { id: amountToReceive topPadding: 0 leftPadding: 10 @@ -524,8 +524,8 @@ Item { width: 220 } - MoneroComponents.TextPlain { - // @TODO: When we have XMR/USD rate avi. in the future. + MonzeroComponents.TextPlain { + // @TODO: When we have XMZ/USD rate avi. in the future. visible: false font.pixelSize: 14 font.bold: false @@ -564,7 +564,7 @@ Item { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: content font.pixelSize: 14 font.bold: false @@ -593,12 +593,12 @@ Item { width: 400 radius: 5 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 14 font.bold: true - color: MoneroComponents.Style.moneroGrey + color: MonzeroComponents.Style.moneroGrey text: qsTr("The merchant page requires a larger window") + translationManager.emptyString themeTransition: false } diff --git a/pages/merchant/MerchantCheckbox.qml b/pages/merchant/MerchantCheckbox.qml index bed9dea1..191e098b 100644 --- a/pages/merchant/MerchantCheckbox.qml +++ b/pages/merchant/MerchantCheckbox.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2026, The Monero Project +// Copyright (c) 2014-2026, The Monzero Project // // All rights reserved. // @@ -30,7 +30,7 @@ import QtQuick 2.9 import QtQuick.Layouts 1.1 import QtGraphicalEffects 1.0 -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Item { id: root @@ -72,7 +72,7 @@ Item { source: checkbox } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: content font.pixelSize: 14 font.bold: false diff --git a/pages/merchant/MerchantTitlebar.qml b/pages/merchant/MerchantTitlebar.qml index 485ff4f1..5258e9c4 100644 --- a/pages/merchant/MerchantTitlebar.qml +++ b/pages/merchant/MerchantTitlebar.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,8 +32,8 @@ import QtGraphicalEffects 1.0 import QtQuick.Layouts 1.2 import FontAwesome 1.0 -import "../../components/" as MoneroComponents -import "../../components/effects/" as MoneroEffects +import "../../components/" as MonzeroComponents +import "../../components/effects/" as MonzeroEffects Rectangle { id: root @@ -85,7 +85,8 @@ Rectangle { anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter - source: "qrc:///images/moneroLogo_white.png" + source: "qrc:///images/monzero-xmz-coin.png" + fillMode: Image.PreserveAspectFit } } @@ -96,13 +97,13 @@ Rectangle { Layout.preferredWidth: parent.height Layout.preferredHeight: parent.height - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { anchors.bottom: parent.bottom anchors.bottomMargin: 18 anchors.horizontalCenter: parent.horizontalCenter height: 3 width: 15 - image: MoneroComponents.Style.titleBarMinimizeSource + image: MonzeroComponents.Style.titleBarMinimizeSource color: "white" opacity: 0.75 } @@ -128,7 +129,7 @@ Rectangle { Image { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter - source: MoneroComponents.Style._b_titleBarFullscreenSource + source: MonzeroComponents.Style._b_titleBarFullscreenSource sourceSize.width: 16 sourceSize.height: 16 smooth: true @@ -155,12 +156,12 @@ Rectangle { Layout.preferredWidth: parent.height Layout.preferredHeight: parent.height - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter height: 16 width: 16 - image: MoneroComponents.Style._b_titleBarCloseSource + image: MonzeroComponents.Style._b_titleBarCloseSource color: "white" opacity: 0.75 } diff --git a/pages/merchant/MerchantTrackingList.qml b/pages/merchant/MerchantTrackingList.qml index 611df81e..784afa55 100644 --- a/pages/merchant/MerchantTrackingList.qml +++ b/pages/merchant/MerchantTrackingList.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2026, The Monero Project +// Copyright (c) 2014-2026, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents ListView { id: trackingListView @@ -65,7 +65,7 @@ ListView { color: "#767676" textFormat: Text.RichText text: parent.message - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } @@ -105,7 +105,7 @@ ListView { font.bold: false color: "#707070" text: time_date + " (" + Utils.ago(time_epoch) + ") " - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } @@ -154,7 +154,7 @@ ListView { font.bold: true color: hide_amount ? "#707070" : "#009F1E" text: hide_amount ? '-' : '+' + amount + (in_txpool ? ' (%1)'.arg(qsTr('unconfirmed')) : '') - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } @@ -201,7 +201,7 @@ ListView { } } } - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } |
