aboutsummaryrefslogtreecommitdiff
path: root/components
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 /components
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 'components')
-rw-r--r--components/AdvancedOptionsItem.qml4
-rw-r--r--components/CheckBox.qml22
-rw-r--r--components/CheckBox2.qml16
-rw-r--r--components/ContextMenu.qml16
-rw-r--r--components/ContextMenuItem.qml10
-rw-r--r--components/DaemonManagerDialog.qml14
-rw-r--r--components/DatePicker.qml90
-rw-r--r--components/DevicePassphraseDialog.qml4
-rw-r--r--components/Dialog.qml12
-rw-r--r--components/IconButton.qml12
-rw-r--r--components/InlineButton.qml24
-rw-r--r--components/Input.qml14
-rw-r--r--components/InputDialog.qml26
-rw-r--r--components/InputMulti.qml16
-rw-r--r--components/Label.qml10
-rw-r--r--components/LabelButton.qml16
-rw-r--r--components/LabelSubheader.qml14
-rw-r--r--components/LanguageButton.qml10
-rw-r--r--components/LanguageSidebar.qml18
-rw-r--r--components/LineEdit.qml34
-rw-r--r--components/LineEditMulti.qml34
-rw-r--r--components/MenuBar.qml8
-rw-r--r--components/MenuButton.qml32
-rw-r--r--components/MenuButtonDivider.qml12
-rw-r--r--components/Navbar.qml16
-rw-r--r--components/NavbarItem.qml2
-rw-r--r--components/NetworkStatusItem.qml28
-rw-r--r--components/PasswordDialog.qml38
-rw-r--r--components/ProcessingSplash.qml14
-rw-r--r--components/ProgressBar.qml30
-rw-r--r--components/QRCodeScanner.qml2
-rw-r--r--components/RadioButton.qml14
-rw-r--r--components/RemoteNodeDialog.qml18
-rw-r--r--components/RemoteNodeEdit.qml14
-rw-r--r--components/RemoteNodeList.qml30
-rw-r--r--components/SettingsListItem.qml32
-rw-r--r--components/Slider.qml14
-rw-r--r--components/StandardButton.qml28
-rw-r--r--components/StandardDialog.qml48
-rw-r--r--components/StandardDropdown.qml38
-rw-r--r--components/SuccessfulTxDialog.qml20
-rw-r--r--components/TextBlock.qml8
-rw-r--r--components/TextPlain.qml16
-rw-r--r--components/TextPlainArea.qml14
-rw-r--r--components/TipItem.qml6
-rw-r--r--components/TitleBar.qml97
-rw-r--r--components/Tooltip.qml14
-rw-r--r--components/TxConfirmationDialog.qml52
-rw-r--r--components/UpdateDialog.qml32
-rw-r--r--components/WarningBox.qml10
-rw-r--r--components/effects/ColorTransition.qml8
-rw-r--r--components/effects/GradientBackground.qml8
-rw-r--r--components/effects/ImageMask.qml6
53 files changed, 563 insertions, 562 deletions
diff --git a/components/AdvancedOptionsItem.qml b/components/AdvancedOptionsItem.qml
index d43944e8..4fc8ea26 100644
--- a/components/AdvancedOptionsItem.qml
+++ b/components/AdvancedOptionsItem.qml
@@ -1,7 +1,7 @@
import QtQuick 2.9
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
RowLayout {
id: advancedOptionsItem
@@ -19,7 +19,7 @@ RowLayout {
Layout.maximumWidth: 195
Layout.leftMargin: 10
- MoneroComponents.Label {
+ MonzeroComponents.Label {
id: title
fontSize: 14
tooltipIconVisible: true
diff --git a/components/CheckBox.qml b/components/CheckBox.qml
index d0615e0f..444b7f3d 100644
--- a/components/CheckBox.qml
+++ b/components/CheckBox.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -30,8 +30,8 @@ import QtQuick 2.9
import QtQuick.Layouts 1.1
import FontAwesome 1.0
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
Item {
id: checkBox
@@ -82,22 +82,22 @@ Item {
visible: checkBox.border
anchors.fill: parent
radius: 3
- color: checkBox.enabled ? "transparent" : MoneroComponents.Style.inputBoxBackgroundDisabled
+ color: checkBox.enabled ? "transparent" : MonzeroComponents.Style.inputBoxBackgroundDisabled
border.color:
if (checkBox.activeFocus) {
- return MoneroComponents.Style.inputBorderColorActive;
+ return MonzeroComponents.Style.inputBorderColorActive;
} else {
- return MoneroComponents.Style.inputBorderColorInActive;
+ return MonzeroComponents.Style.inputBorderColorInActive;
}
}
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
id: img
visible: checkBox.checked || checkBox.uncheckedIcon != ""
anchors.centerIn: parent
width: checkBox.imgWidth
height: checkBox.imgHeight
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
fontAwesomeFallbackIcon: checkBox.fontAwesomeIcons ? getIcon() : FontAwesome.plus
fontAwesomeFallbackSize: 14
image: checkBox.fontAwesomeIcons ? "" : getIcon()
@@ -110,11 +110,11 @@ Item {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: checkBox.fontSize
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
textFormat: Text.RichText
wrapMode: Text.NoWrap
visible: text != ""
diff --git a/components/CheckBox2.qml b/components/CheckBox2.qml
index 3764b99f..b9ffac96 100644
--- a/components/CheckBox2.qml
+++ b/components/CheckBox2.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 FontAwesome 1.0
import "." 1.0
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
RowLayout {
id: checkBox
@@ -58,7 +58,7 @@ RowLayout {
width: (label.width + indicatorRect.width + checkBox.textMargin)
color: "transparent"
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
font.family: Style.fontLight.name
font.pixelSize: checkBox.fontSize
@@ -77,18 +77,18 @@ RowLayout {
color: "transparent"
rotation: checkBox.checked ? 180 : 0
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
id: indicatorImage
anchors.centerIn: parent
width: 12
height: 8
image: "qrc:///images/whiteDropIndicator.png"
- color: MoneroComponents.Style.defaultFontColor
- opacity: MoneroComponents.Style.blackTheme ? 1 : 0.75
+ color: MonzeroComponents.Style.defaultFontColor
+ opacity: MonzeroComponents.Style.blackTheme ? 1 : 0.75
fontAwesomeFallbackIcon: FontAwesome.arrowDown
fontAwesomeFallbackSize: 14
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
targetObj: indicatorImage
blackColor: "white"
whiteColor: "black"
diff --git a/components/ContextMenu.qml b/components/ContextMenu.qml
index efbd38ab..0b3a37d0 100644
--- a/components/ContextMenu.qml
+++ b/components/ContextMenu.qml
@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import FontAwesome 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
MouseArea {
signal cut()
@@ -26,10 +26,10 @@ MouseArea {
id: contextMenu
background: Rectangle {
- border.color: MoneroComponents.Style.buttonBackgroundColorDisabledHover
+ border.color: MonzeroComponents.Style.buttonBackgroundColorDisabledHover
border.width: 1
radius: 2
- color: MoneroComponents.Style.blackTheme ? MoneroComponents.Style.buttonBackgroundColorDisabled : "#E5E5E5"
+ color: MonzeroComponents.Style.blackTheme ? MonzeroComponents.Style.buttonBackgroundColorDisabled : "#E5E5E5"
}
padding: 1
@@ -45,31 +45,31 @@ MouseArea {
root.parent.forceActiveFocus()
}
- MoneroComponents.ContextMenuItem {
+ MonzeroComponents.ContextMenuItem {
enabled: root.parent.selectedText != "" && !root.parent.readOnly
onTriggered: root.cut()
text: qsTr("Cut") + translationManager.emptyString
}
- MoneroComponents.ContextMenuItem {
+ MonzeroComponents.ContextMenuItem {
enabled: root.parent.selectedText != ""
onTriggered: root.copy()
text: qsTr("Copy") + translationManager.emptyString
}
- MoneroComponents.ContextMenuItem {
+ MonzeroComponents.ContextMenuItem {
enabled: root.parent.canPaste === true
onTriggered: root.paste()
text: qsTr("Paste") + translationManager.emptyString
}
- MoneroComponents.ContextMenuItem {
+ MonzeroComponents.ContextMenuItem {
enabled: root.parent.selectedText != "" && !root.parent.readOnly
onTriggered: root.remove()
text: qsTr("Delete") + translationManager.emptyString
}
- MoneroComponents.ContextMenuItem {
+ MonzeroComponents.ContextMenuItem {
enabled: root.parent.text != ""
onTriggered: root.selectAll()
text: qsTr("Select All") + translationManager.emptyString
diff --git a/components/ContextMenuItem.qml b/components/ContextMenuItem.qml
index c4e0f395..64279b92 100644
--- a/components/ContextMenuItem.qml
+++ b/components/ContextMenuItem.qml
@@ -3,7 +3,7 @@ import QtQuick.Controls 2.2
import QtQuick.Layouts 1.1
import FontAwesome 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
MenuItem {
id: menuItem
@@ -12,7 +12,7 @@ MenuItem {
property alias glyphIcon: glyphIcon.text
background: Rectangle {
- color: MoneroComponents.Style.buttonBackgroundColorDisabledHover
+ color: MonzeroComponents.Style.buttonBackgroundColorDisabledHover
opacity: 0
MouseArea {
@@ -45,15 +45,15 @@ MenuItem {
Text {
id: glyphIcon
- color: MoneroComponents.Style.buttonTextColor
+ color: MonzeroComponents.Style.buttonTextColor
font.family: glyphIconSolid ? FontAwesome.fontFamilySolid : FontAwesome.fontFamily
font.pixelSize: 14
font.styleName: glyphIconSolid ? "Solid" : "Regular"
}
Text {
- color: MoneroComponents.Style.blackTheme ? MoneroComponents.Style.buttonTextColor : MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
+ color: MonzeroComponents.Style.blackTheme ? MonzeroComponents.Style.buttonTextColor : MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
Layout.fillWidth: true
text: menuItem.text
diff --git a/components/DaemonManagerDialog.qml b/components/DaemonManagerDialog.qml
index 683318df..90400e85 100644
--- a/components/DaemonManagerDialog.qml
+++ b/components/DaemonManagerDialog.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.Controls.Styles 1.4
import QtQuick.Window 2.0
import moneroComponents.Wallet 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Window {
id: root
@@ -53,7 +53,7 @@ Window {
// TODO: implement without hardcoding sizes
width: 480
height: 200
- color: MoneroComponents.Style.middlePanelBackgroundColor
+ color: MonzeroComponents.Style.middlePanelBackgroundColor
// Make window draggable
MouseArea {
@@ -95,14 +95,14 @@ Window {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
text: qsTr("Starting local node in %1 seconds").arg(countDown) + translationManager.emptyString;
font.pixelSize: 18
Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
themeTransition: false
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
}
@@ -112,7 +112,7 @@ Window {
spacing: 60
Layout.alignment: Qt.AlignHCenter
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: okButton
visible:false
fontSize: 14
@@ -126,7 +126,7 @@ Window {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: cancelButton
fontSize: 14
text: qsTr("Use custom settings") + translationManager.emptyString
diff --git a/components/DatePicker.qml b/components/DatePicker.qml
index a9eba5f4..451af42d 100644
--- a/components/DatePicker.qml
+++ b/components/DatePicker.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -34,15 +34,15 @@ import QtGraphicalEffects 1.0
import QtQuick.Controls.Styles 1.2
import FontAwesome 1.0
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
Item {
id: datePicker
readonly property alias expanded: popup.visible
property date currentDate
property bool showCurrentDate: true
- property color backgroundColor : MoneroComponents.Style.appWindowBorderColor
+ property color backgroundColor : MonzeroComponents.Style.appWindowBorderColor
property color errorColor : "red"
property bool error: false
property alias inputLabel: inputLabel
@@ -59,16 +59,16 @@ Item {
height: 22
width: parent.width
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: inputLabel
anchors.top: parent.top
anchors.topMargin: 2
anchors.left: parent.left
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
font.pixelSize: 14
font.bold: false
textFormat: Text.RichText
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
themeTransition: false
MouseArea {
@@ -105,7 +105,7 @@ Item {
anchors.left: parent.left
anchors.leftMargin: 2
anchors.right: parent.right
- property string headerFontColor: MoneroComponents.Style.blackTheme ? "#e6e6e6" : "#333333"
+ property string headerFontColor: MonzeroComponents.Style.blackTheme ? "#e6e6e6" : "#333333"
spacing: 0
function setDate(date) {
@@ -127,10 +127,10 @@ Item {
id: dayInput
readOnly: true
Layout.preferredWidth: childrenRect.width + 40
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
color: datePicker.error ? errorColor : parent.headerFontColor
- selectionColor: MoneroComponents.Style.dimmedFontColor
+ selectionColor: MonzeroComponents.Style.dimmedFontColor
selectByMouse: true
horizontalAlignment: TextInput.AlignHCenter
maximumLength: 2
@@ -151,10 +151,10 @@ Item {
}
}
- MoneroComponents.TextPlain {
- font.family: MoneroComponents.Style.fontRegular.name
+ MonzeroComponents.TextPlain {
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
- color: datePicker.error ? errorColor : MoneroComponents.Style.defaultFontColor
+ color: datePicker.error ? errorColor : MonzeroComponents.Style.defaultFontColor
text: "-"
themeTransition: false
}
@@ -163,10 +163,10 @@ Item {
id: monthInput
readOnly: true
Layout.preferredWidth: childrenRect.width + 40
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
color: datePicker.error ? errorColor : parent.headerFontColor
- selectionColor: MoneroComponents.Style.dimmedFontColor
+ selectionColor: MonzeroComponents.Style.dimmedFontColor
selectByMouse: true
horizontalAlignment: TextInput.AlignHCenter
maximumLength: 2
@@ -186,10 +186,10 @@ Item {
}
}
- MoneroComponents.TextPlain {
- font.family: MoneroComponents.Style.fontRegular.name
+ MonzeroComponents.TextPlain {
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
- color: datePicker.error ? errorColor : MoneroComponents.Style.defaultFontColor
+ color: datePicker.error ? errorColor : MonzeroComponents.Style.defaultFontColor
text: "-"
themeTransition: false
}
@@ -197,10 +197,10 @@ Item {
TextInput {
id: yearInput
Layout.preferredWidth: childrenRect.width + 60
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
color: datePicker.error ? errorColor : parent.headerFontColor
- selectionColor: MoneroComponents.Style.dimmedFontColor
+ selectionColor: MonzeroComponents.Style.dimmedFontColor
selectByMouse: true
horizontalAlignment: TextInput.AlignHCenter
maximumLength: 4
@@ -222,7 +222,7 @@ Item {
Layout.fillWidth: true
color: "transparent"
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
id: button
anchors.right: parent.right
anchors.rightMargin: 10
@@ -232,7 +232,7 @@ Item {
width: 12
fontAwesomeFallbackIcon: FontAwesome.arrowDown
fontAwesomeFallbackSize: 14
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
rotation: datePicker.expanded ? 180 : 0
}
@@ -261,9 +261,9 @@ Item {
x: head.x
y: head.y + head.height - 2
- color: MoneroComponents.Style.middlePanelBackgroundColor
+ color: MonzeroComponents.Style.middlePanelBackgroundColor
border.width: 1
- border.color: MoneroComponents.Style.appWindowBorderColor
+ border.color: MonzeroComponents.Style.appWindowBorderColor
height: datePicker.expanded ? calendar.height + 2 : 0
clip: true
@@ -286,7 +286,7 @@ Item {
anchors.leftMargin: 1
anchors.rightMargin: 1
anchors.top: parent.top
- color: MoneroComponents.Style.appWindowBorderColor
+ color: MonzeroComponents.Style.appWindowBorderColor
height: 1
}
@@ -302,7 +302,7 @@ Item {
style: CalendarStyle {
gridVisible: false
- background: Rectangle { color: MoneroComponents.Style.middlePanelBackgroundColor }
+ background: Rectangle { color: MonzeroComponents.Style.middlePanelBackgroundColor }
dayDelegate: Item {
z: parent.z + 1
implicitHeight: implicitWidth
@@ -314,10 +314,10 @@ Item {
radius: parent.implicitHeight / 2
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: dayText
anchors.centerIn: parent
- font.family: MoneroComponents.Style.fontMonoRegular.name
+ font.family: MonzeroComponents.Style.fontMonoRegular.name
font.pixelSize: {
if(!styleData.visibleMonth) return 12
return 14
@@ -331,22 +331,22 @@ Item {
color: {
if (currentDate.toDateString() === styleData.date.toDateString()) {
if (dayArea.containsMouse) {
- dayRect.color = MoneroComponents.Style.buttonBackgroundColorHover;
+ dayRect.color = MonzeroComponents.Style.buttonBackgroundColorHover;
} else {
- dayRect.color = MoneroComponents.Style.buttonBackgroundColor;
+ dayRect.color = MonzeroComponents.Style.buttonBackgroundColor;
}
} else {
if (dayArea.containsMouse) {
- dayRect.color = MoneroComponents.Style.blackTheme ? "#20FFFFFF" : "#10000000"
+ dayRect.color = MonzeroComponents.Style.blackTheme ? "#20FFFFFF" : "#10000000"
} else {
dayRect.color = "transparent";
}
}
if(!styleData.valid) return "transparent"
if(styleData.date.toDateString() === (new Date()).toDateString()) return "#FFFF00"
- if(!styleData.visibleMonth) return MoneroComponents.Style.lightGreyFontColor
- if(dayArea.pressed) return MoneroComponents.Style.defaultFontColor
- return MoneroComponents.Style.defaultFontColor
+ if(!styleData.visibleMonth) return MonzeroComponents.Style.lightGreyFontColor
+ if(dayArea.pressed) return MonzeroComponents.Style.defaultFontColor
+ return MonzeroComponents.Style.defaultFontColor
}
}
@@ -376,12 +376,12 @@ Item {
implicitHeight: 20
implicitWidth: calendar.width / 7
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.centerIn: parent
elide: Text.ElideRight
- font.family: MoneroComponents.Style.fontMonoRegular.name
+ font.family: MonzeroComponents.Style.fontMonoRegular.name
font.pixelSize: 12
- color: MoneroComponents.Style.lightGreyFontColor
+ color: MonzeroComponents.Style.lightGreyFontColor
themeTransition: false
text: {
var locale = Qt.locale()
@@ -391,15 +391,15 @@ Item {
}
navigationBar: Rectangle {
- color: MoneroComponents.Style.middlePanelBackgroundColor
+ color: MonzeroComponents.Style.middlePanelBackgroundColor
implicitWidth: calendar.width
implicitHeight: 30
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.centerIn: parent
- font.family: MoneroComponents.Style.fontMonoRegular.name
+ font.family: MonzeroComponents.Style.fontMonoRegular.name
font.pixelSize: 14
- color: MoneroComponents.Style.dimmedFontColor
+ color: MonzeroComponents.Style.dimmedFontColor
themeTransition: false
text: styleData.title
}
@@ -412,7 +412,7 @@ Item {
anchors.bottom: parent.bottom
width: height
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
id: prevMonthIcon
anchors.centerIn: parent
image: "qrc:///images/prevMonth.png"
@@ -420,7 +420,7 @@ Item {
width: 12
fontAwesomeFallbackIcon: FontAwesome.arrowLeft
fontAwesomeFallbackSize: 14
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
MouseArea {
@@ -438,7 +438,7 @@ Item {
anchors.bottom: parent.bottom
width: height
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
id: nextMonthIcon
anchors.centerIn: parent
image: "qrc:///images/prevMonth.png"
@@ -447,7 +447,7 @@ Item {
rotation: 180
fontAwesomeFallbackIcon: FontAwesome.arrowLeft
fontAwesomeFallbackSize: 14
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
MouseArea {
diff --git a/components/DevicePassphraseDialog.qml b/components/DevicePassphraseDialog.qml
index 75db3988..d6e3f2e3 100644
--- a/components/DevicePassphraseDialog.qml
+++ b/components/DevicePassphraseDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -27,7 +27,7 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.9
-import "." as MoneroComponents
+import "." as MonzeroComponents
Item {
id: root
diff --git a/components/Dialog.qml b/components/Dialog.qml
index 0cd712fa..7fd99f94 100644
--- a/components/Dialog.qml
+++ b/components/Dialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2021-2024, The Monero Project
+// Copyright (c) 2021-2024, The Monzero Project
//
// All rights reserved.
//
@@ -30,7 +30,7 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.1
-import "." as MoneroComponents
+import "." as MonzeroComponents
Popup {
id: dialog
@@ -39,9 +39,9 @@ Popup {
property alias title: header.text
background: Rectangle {
- border.color: MoneroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
+ border.color: MonzeroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
border.width: 1
- color: MoneroComponents.Style.blackTheme ? "black" : "white"
+ color: MonzeroComponents.Style.blackTheme ? "black" : "white"
radius: 10
}
closePolicy: Popup.CloseOnEscape
@@ -56,9 +56,9 @@ Popup {
Text {
id: header
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.bold: true
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 18
visible: text != ""
}
diff --git a/components/IconButton.qml b/components/IconButton.qml
index 334f0da5..2d4c3074 100644
--- a/components/IconButton.qml
+++ b/components/IconButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -27,19 +27,19 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.9
-import "../components" as MoneroComponents
-import "../components/effects" as MoneroEffects
+import "../components" as MonzeroComponents
+import "../components/effects" as MonzeroEffects
-MoneroEffects.ImageMask {
+MonzeroEffects.ImageMask {
id: button
z: 666
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
image: ""
property alias tooltip: tooltip.text
signal clicked(var mouse)
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: tooltip
anchors.fill: parent
tooltipLeft: true
diff --git a/components/InlineButton.qml b/components/InlineButton.qml
index 3fd75538..4827ce22 100644
--- a/components/InlineButton.qml
+++ b/components/InlineButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -32,14 +32,14 @@ import QtGraphicalEffects 1.0
import FontAwesome 1.0
-import "." as MoneroComponents
-import "./effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "./effects/" as MonzeroEffects
Item {
id: inlineButton
property bool small: false
- property string textColor: MoneroComponents.Style.inlineButtonTextColor
+ property string textColor: MonzeroComponents.Style.inlineButtonTextColor
property alias text: inlineText.text
property alias fontPixelSize: inlineText.font.pixelSize
property alias fontFamily: inlineText.font.family
@@ -64,13 +64,13 @@ Item {
Rectangle{
id: rect
anchors.fill: parent
- color: buttonArea.containsMouse ? MoneroComponents.Style.buttonInlineBackgroundColorHover : MoneroComponents.Style.buttonInlineBackgroundColor
+ color: buttonArea.containsMouse ? MonzeroComponents.Style.buttonInlineBackgroundColorHover : MonzeroComponents.Style.buttonInlineBackgroundColor
radius: 4
border.width: parent.focus && parent.enabled ? 1 : 0
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: inlineText
- font.family: MoneroComponents.Style.fontBold.name
+ font.family: MonzeroComponents.Style.fontBold.name
font.bold: true
font.pixelSize: inlineButton.isFontAwesomeIcon ? 22 : inlineButton.small ? 14 : 16
color: inlineButton.textColor
@@ -78,14 +78,14 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter
themeTransition: false
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
targetObj: inlineText
- blackColor: MoneroComponents.Style._b_inlineButtonTextColor
- whiteColor: MoneroComponents.Style._w_inlineButtonTextColor
+ blackColor: MonzeroComponents.Style._b_inlineButtonTextColor
+ whiteColor: MonzeroComponents.Style._w_inlineButtonTextColor
}
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: tooltip
anchors.fill: parent
}
@@ -109,7 +109,7 @@ Item {
}
DropShadow {
- visible: !MoneroComponents.Style.blackTheme
+ visible: !MonzeroComponents.Style.blackTheme
anchors.fill: rect
horizontalOffset: 2
verticalOffset: 2
diff --git a/components/Input.qml b/components/Input.qml
index 3fb83af1..6299e001 100644
--- a/components/Input.qml
+++ b/components/Input.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,24 +29,24 @@
import QtQuick.Controls 2.0
import QtQuick 2.9
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
TextField {
id: textField
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 18
font.bold: true
horizontalAlignment: TextInput.AlignLeft
selectByMouse: true
- color: MoneroComponents.Style.defaultFontColor
- selectionColor: MoneroComponents.Style.textSelectionColor
- selectedTextColor: MoneroComponents.Style.textSelectedColor
+ color: MonzeroComponents.Style.defaultFontColor
+ selectionColor: MonzeroComponents.Style.textSelectionColor
+ selectedTextColor: MonzeroComponents.Style.textSelectedColor
background: Rectangle {
color: "transparent"
}
- MoneroComponents.ContextMenu {
+ MonzeroComponents.ContextMenu {
cursorShape: Qt.IBeamCursor
onCut: textField.cut();
onCopy: textField.copy();
diff --git a/components/InputDialog.qml b/components/InputDialog.qml
index 40e3e445..eb21963c 100644
--- a/components/InputDialog.qml
+++ b/components/InputDialog.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.Controls.Styles 1.4
import QtQuick.Window 2.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Item {
id: root
@@ -79,33 +79,33 @@ Item {
Layout.fillWidth: true
font.pixelSize: 16
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
- MoneroComponents.Input {
+ MonzeroComponents.Input {
id : input
focus: true
Layout.topMargin: 6
Layout.fillWidth: true
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
font.pixelSize: 24
KeyNavigation.tab: okButton
bottomPadding: 10
leftPadding: 10
topPadding: 10
- color: MoneroComponents.Style.defaultFontColor
- selectionColor: MoneroComponents.Style.textSelectionColor
- selectedTextColor: MoneroComponents.Style.textSelectedColor
+ color: MonzeroComponents.Style.defaultFontColor
+ selectionColor: MonzeroComponents.Style.textSelectionColor
+ selectedTextColor: MonzeroComponents.Style.textSelectedColor
background: Rectangle {
radius: 2
- border.color: MoneroComponents.Style.inputBorderColorActive
+ border.color: MonzeroComponents.Style.inputBorderColorActive
border.width: 1
- color: MoneroComponents.Style.blackTheme ? "black" : "#A9FFFFFF"
+ color: MonzeroComponents.Style.blackTheme ? "black" : "#A9FFFFFF"
}
Keys.enabled: root.visible
@@ -127,7 +127,7 @@ Item {
Layout.topMargin: 16
Layout.alignment: Qt.AlignRight
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: cancelButton
primary: false
small: true
@@ -140,7 +140,7 @@ Item {
root.rejected()
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: okButton
small: true
width: 120
diff --git a/components/InputMulti.qml b/components/InputMulti.qml
index 6f07dd3a..94ec441d 100644
--- a/components/InputMulti.qml
+++ b/components/InputMulti.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -30,26 +30,26 @@ import QtQuick.Controls 2.0
import QtQuick 2.9
import "../js/TxUtils.js" as TxUtils
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
TextArea {
property int fontSize: 18
property bool fontBold: false
- property string fontColor: MoneroComponents.Style.defaultFontColor
+ property string fontColor: MonzeroComponents.Style.defaultFontColor
property bool mouseSelection: true
property bool error: false
property bool addressValidation: false
id: textArea
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
color: fontColor
font.pixelSize: fontSize
font.bold: fontBold
horizontalAlignment: TextInput.AlignLeft
selectByMouse: mouseSelection
- selectionColor: MoneroComponents.Style.textSelectionColor
- selectedTextColor: MoneroComponents.Style.textSelectedColor
+ selectionColor: MonzeroComponents.Style.textSelectionColor
+ selectedTextColor: MonzeroComponents.Style.textSelectedColor
property int minimumHeight: 100
height: contentHeight > minimumHeight ? contentHeight : minimumHeight
@@ -57,7 +57,7 @@ TextArea {
onTextChanged: {
if(addressValidation){
// js replacement for `RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }`
- if (textArea.text.startsWith("monero:")) {
+ if (textArea.text.startsWith("monzero:")) {
error = false;
return;
}
@@ -69,7 +69,7 @@ TextArea {
}
}
- MoneroComponents.ContextMenu {
+ MonzeroComponents.ContextMenu {
cursorShape: Qt.IBeamCursor
onCut: textArea.cut();
onCopy: textArea.copy();
diff --git a/components/Label.qml b/components/Label.qml
index 22778113..28a8bd8b 100644
--- a/components/Label.qml
+++ b/components/Label.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Item {
id: item
@@ -42,7 +42,7 @@ Item {
property string tipText: ""
property int fontSize: 16
property bool fontBold: false
- property string fontColor: MoneroComponents.Style.defaultFontColor
+ property string fontColor: MonzeroComponents.Style.defaultFontColor
property string fontFamily: ""
property alias wrapMode: label.wrapMode
property alias horizontalAlignment: label.horizontalAlignment
@@ -55,7 +55,7 @@ Item {
width: label.width
Layout.topMargin: 10
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
anchors.bottom: parent.bottom
anchors.bottomMargin: 2
@@ -64,7 +64,7 @@ Item {
if(fontFamily){
return fontFamily;
} else {
- return MoneroComponents.Style.fontRegular.name;
+ return MonzeroComponents.Style.fontRegular.name;
}
}
font.pixelSize: fontSize
diff --git a/components/LabelButton.qml b/components/LabelButton.qml
index b7a40651..4f181f37 100644
--- a/components/LabelButton.qml
+++ b/components/LabelButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Rectangle {
@@ -37,22 +37,22 @@ Rectangle {
property alias text: labelButtonText.text
id: labelButton
- color: MoneroComponents.Style.buttonBackgroundColorDisabled
+ color: MonzeroComponents.Style.buttonBackgroundColorDisabled
radius: 3
height: 20
width: labelButtonText.width + 14
anchors.right: copyButton.left
anchors.rightMargin: 6
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: labelButtonText
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 12
font.bold: true
text: ""
- color: MoneroComponents.Style.inlineButtonTextColor
+ color: MonzeroComponents.Style.inlineButtonTextColor
}
MouseArea {
@@ -61,11 +61,11 @@ Rectangle {
hoverEnabled: true
onClicked: labelButton.clicked()
onEntered: {
- labelButton.color = MoneroComponents.Style.buttonBackgroundColorDisabledHover;
+ labelButton.color = MonzeroComponents.Style.buttonBackgroundColorDisabledHover;
labelButtonText.opacity = 0.8;
}
onExited: {
- labelButton.color = MoneroComponents.Style.buttonBackgroundColorDisabled;
+ labelButton.color = MonzeroComponents.Style.buttonBackgroundColorDisabled;
labelButtonText.opacity = 1.0;
}
}
diff --git a/components/LabelSubheader.qml b/components/LabelSubheader.qml
index a7432c5a..020c66ca 100644
--- a/components/LabelSubheader.qml
+++ b/components/LabelSubheader.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -28,8 +28,8 @@
import QtQuick 2.9
-import "../components" as MoneroComponents
-import "../components/effects/" as MoneroEffects
+import "../components" as MonzeroComponents
+import "../components/effects/" as MonzeroEffects
Label {
id: item
@@ -42,12 +42,12 @@ Label {
anchors.left: parent.left
anchors.right: parent.right
height: 2
- color: MoneroComponents.Style.appWindowBorderColor
+ color: MonzeroComponents.Style.appWindowBorderColor
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
targetObj: parent
- blackColor: MoneroComponents.Style._b_appWindowBorderColor
- whiteColor: MoneroComponents.Style._w_appWindowBorderColor
+ blackColor: MonzeroComponents.Style._b_appWindowBorderColor
+ whiteColor: MonzeroComponents.Style._w_appWindowBorderColor
}
}
}
diff --git a/components/LanguageButton.qml b/components/LanguageButton.qml
index aa33ea85..100f5570 100644
--- a/components/LanguageButton.qml
+++ b/components/LanguageButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2020-2024, The Monero Project
+// Copyright (c) 2020-2024, The Monzero Project
//
// All rights reserved.
//
@@ -31,7 +31,7 @@ import QtQuick.Layouts 1.3
import FontAwesome 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Item {
implicitHeight: layout.height
@@ -42,16 +42,16 @@ Item {
opacity: mouseArea.containsMouse ? 1 : 0.85
spacing: 10
- MoneroComponents.Label {
+ MonzeroComponents.Label {
Layout.bottomMargin: 5
- fontColor: MoneroComponents.Style.defaultFontColor
+ fontColor: MonzeroComponents.Style.defaultFontColor
fontFamily: FontAwesome.fontFamilySolid
fontSize: 26
styleName: "Solid"
text: FontAwesome.language
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
font.pixelSize: 14
text: persistentSettings.language
}
diff --git a/components/LanguageSidebar.qml b/components/LanguageSidebar.qml
index 630d1fb4..8b62973c 100644
--- a/components/LanguageSidebar.qml
+++ b/components/LanguageSidebar.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -26,7 +26,7 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
import QtQuick 2.9
import QtQuick.XmlListModel 2.0
@@ -42,7 +42,7 @@ Drawer {
y: titleBar.height
background: Rectangle {
- color: MoneroComponents.Style.blackTheme ? "#0d0d0d" : "white"
+ color: MonzeroComponents.Style.blackTheme ? "#0d0d0d" : "white"
width: parent.width
}
@@ -71,7 +71,7 @@ Drawer {
delegate: Rectangle {
id: item
- color: index == languagesListView.currentIndex ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
+ color: index == languagesListView.currentIndex ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent"
width: sideBar.width
height: 32
@@ -103,7 +103,7 @@ Drawer {
anchors.leftMargin: 0
height: parent.height
width: 2
- color: index == languagesListView.currentIndex ? MoneroComponents.Style.buttonBackgroundColor : "transparent"
+ color: index == languagesListView.currentIndex ? MonzeroComponents.Style.buttonBackgroundColor : "transparent"
}
Rectangle {
@@ -121,12 +121,12 @@ Drawer {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.left: parent.left
anchors.leftMargin: 32
font.bold: languagesListView.currentIndex == index ? true : false
font.pixelSize: 14
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
text: display_name
anchors.verticalCenter: parent.verticalCenter
}
@@ -135,8 +135,8 @@ Drawer {
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
- color: MoneroComponents.Style.dividerColor
- opacity: MoneroComponents.Style.dividerOpacity
+ color: MonzeroComponents.Style.dividerColor
+ opacity: MonzeroComponents.Style.dividerOpacity
height: 1
}
diff --git a/components/LineEdit.qml b/components/LineEdit.qml
index 0274103d..e70fd50b 100644
--- a/components/LineEdit.qml
+++ b/components/LineEdit.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 2.9
import QtGraphicalEffects 1.0
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
ColumnLayout {
id: item
@@ -56,10 +56,10 @@ ColumnLayout {
property alias placeholderText: placeholderLabel.text
property bool placeholderCenter: false
- property string placeholderFontFamily: MoneroComponents.Style.fontRegular.name
+ property string placeholderFontFamily: MonzeroComponents.Style.fontRegular.name
property bool placeholderFontBold: false
property int placeholderFontSize: 18
- property string placeholderColor: MoneroComponents.Style.defaultFontColor
+ property string placeholderColor: MonzeroComponents.Style.defaultFontColor
property real placeholderOpacity: 0.35
property real placeholderLeftMargin: {
if (placeholderCenter) {
@@ -81,15 +81,15 @@ ColumnLayout {
property bool borderDisabled: false
property string borderColor: {
if ((error && input.text !== "") || (errorWhenEmpty && input.text == "")) {
- return MoneroComponents.Style.inputBorderColorInvalid;
+ return MonzeroComponents.Style.inputBorderColorInvalid;
} else if (input.activeFocus) {
- return MoneroComponents.Style.inputBorderColorActive;
+ return MonzeroComponents.Style.inputBorderColorActive;
} else {
- return MoneroComponents.Style.inputBorderColorInActive;
+ return MonzeroComponents.Style.inputBorderColorInActive;
}
}
- property string fontFamily: MoneroComponents.Style.fontRegular.name
+ property string fontFamily: MonzeroComponents.Style.fontRegular.name
property int fontSize: 18
property bool fontBold: false
property alias fontColor: input.color
@@ -167,15 +167,15 @@ ColumnLayout {
height: (inputLabel.height + 10)
visible: showingHeader ? true : false
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: inputLabel
anchors.top: parent.top
anchors.left: parent.left
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: labelFontSize
font.bold: labelFontBold
textFormat: Text.RichText
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
onLinkActivated: item.labelLinkActivated()
MouseArea {
@@ -189,7 +189,7 @@ ColumnLayout {
anchors.right: parent.right
spacing: 16
- MoneroComponents.LabelButton {
+ MonzeroComponents.LabelButton {
id: copyButtonId
text: qsTr("Copy") + translationManager.emptyString
onClicked: {
@@ -202,7 +202,7 @@ ColumnLayout {
visible: copyButton && input.text !== ""
}
- MoneroComponents.LabelButton {
+ MonzeroComponents.LabelButton {
id: pasteButtonId
onClicked: {
input.clear();
@@ -214,7 +214,7 @@ ColumnLayout {
}
}
- MoneroComponents.Input {
+ MonzeroComponents.Input {
id: input
Keys.onBacktabPressed: {
item.backtabPressed();
@@ -244,7 +244,7 @@ ColumnLayout {
onTextChanged: item.textUpdated()
echoMode: isPasswordHidden() ? TextInput.Password : TextInput.Normal
- MoneroComponents.Label {
+ MonzeroComponents.Label {
visible: password || passwordLinked
fontSize: 20
text: isPasswordHidden() ? FontAwesome.eye : FontAwesome.eyeSlash
@@ -264,7 +264,7 @@ ColumnLayout {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: placeholderLabel
visible: input.text ? false : true
anchors.verticalCenter: parent.verticalCenter
@@ -284,7 +284,7 @@ ColumnLayout {
Rectangle {
anchors.fill: parent
anchors.topMargin: 1
- color: item.enabled ? "transparent" : MoneroComponents.Style.inputBoxBackgroundDisabled
+ color: item.enabled ? "transparent" : MonzeroComponents.Style.inputBoxBackgroundDisabled
}
Rectangle {
diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml
index d937b6dd..efc6f740 100644
--- a/components/LineEditMulti.qml
+++ b/components/LineEditMulti.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
ColumnLayout {
id: item
@@ -50,33 +50,33 @@ ColumnLayout {
property int inputRadius: 4
property bool placeholderCenter: false
- property string placeholderFontFamily: MoneroComponents.Style.fontRegular.name
+ property string placeholderFontFamily: MonzeroComponents.Style.fontRegular.name
property bool placeholderFontBold: false
property int placeholderFontSize: 18
- property string placeholderColor: MoneroComponents.Style.defaultFontColor
+ property string placeholderColor: MonzeroComponents.Style.defaultFontColor
property real placeholderOpacity: 0.35
property bool borderDisabled: false
property string borderColor: {
if(input.error && input.text !== ""){
- return MoneroComponents.Style.inputBorderColorInvalid;
+ return MonzeroComponents.Style.inputBorderColorInvalid;
} else if(input.activeFocus){
- return MoneroComponents.Style.inputBorderColorActive;
+ return MonzeroComponents.Style.inputBorderColorActive;
} else {
- return MoneroComponents.Style.inputBorderColorInActive;
+ return MonzeroComponents.Style.inputBorderColorInActive;
}
}
property alias error: input.error
property alias cursorPosition: input.cursorPosition
- property string labelFontColor: MoneroComponents.Style.defaultFontColor
+ property string labelFontColor: MonzeroComponents.Style.defaultFontColor
property bool labelFontBold: false
property int labelFontSize: 16
property bool labelButtonVisible: false
- property string fontColor: MoneroComponents.Style.defaultFontColor
- property string fontFamily: MoneroComponents.Style.fontRegular.name
+ property string fontColor: MonzeroComponents.Style.defaultFontColor
+ property string fontFamily: MonzeroComponents.Style.fontRegular.name
property bool fontBold: false
property int fontSize: 16
@@ -105,11 +105,11 @@ ColumnLayout {
height: (inputLabel.height + 10)
visible: showingHeader ? true : false
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: inputLabel
anchors.top: parent.top
anchors.left: parent.left
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: item.labelFontSize
font.bold: labelFontBold
textFormat: Text.RichText
@@ -127,13 +127,13 @@ ColumnLayout {
anchors.right: parent.right
spacing: 16
- MoneroComponents.LabelButton {
+ MonzeroComponents.LabelButton {
id: labelButton
onClicked: labelButtonClicked()
visible: labelButtonVisible
}
- MoneroComponents.LabelButton {
+ MonzeroComponents.LabelButton {
id: copyButtonId
visible: copyButton && input.text !== ""
text: qsTr("Copy") + translationManager.emptyString
@@ -146,7 +146,7 @@ ColumnLayout {
}
}
- MoneroComponents.LabelButton {
+ MonzeroComponents.LabelButton {
id: pasteButtonId
onClicked: {
input.clear();
@@ -158,7 +158,7 @@ ColumnLayout {
}
}
- MoneroComponents.InputMulti {
+ MonzeroComponents.InputMulti {
id: input
readOnly: false
addressValidation: false
@@ -182,7 +182,7 @@ ColumnLayout {
Keys.onReturnPressed: item.returnPressed()
Keys.onEnterPressed: item.enterPressed()
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: placeholderLabel
visible: input.text ? false : true
anchors.verticalCenter: parent.verticalCenter
diff --git a/components/MenuBar.qml b/components/MenuBar.qml
index e605f01e..6a60bb35 100644
--- a/components/MenuBar.qml
+++ b/components/MenuBar.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -27,7 +27,7 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import Qt.labs.platform 1.0 as PlatformLabs
-import "." as MoneroComponents
+import "." as MonzeroComponents
PlatformLabs.MenuBar {
PlatformLabs.Menu {
@@ -41,9 +41,9 @@ PlatformLabs.MenuBar {
PlatformLabs.Menu {
title: qsTr("View")
PlatformLabs.MenuItem {
- text: MoneroComponents.Style.blackTheme ? qsTr("Light Theme") : qsTr("Dark Theme")
+ text: MonzeroComponents.Style.blackTheme ? qsTr("Light Theme") : qsTr("Dark Theme")
onTriggered: {
- MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme;
+ MonzeroComponents.Style.blackTheme = !MonzeroComponents.Style.blackTheme;
}
}
PlatformLabs.MenuItem {
diff --git a/components/MenuButton.qml b/components/MenuButton.qml
index 5f6381f3..70707a3b 100644
--- a/components/MenuButton.qml
+++ b/components/MenuButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,8 +29,8 @@
import QtQuick 2.9
import QtGraphicalEffects 1.0
-import "../components" as MoneroComponents
-import "effects/" as MoneroEffects
+import "../components" as MonzeroComponents
+import "effects/" as MonzeroEffects
Rectangle {
id: button
@@ -72,8 +72,8 @@ Rectangle {
start: Qt.point(width, 0)
end: Qt.point(0, 0)
gradient: Gradient {
- GradientStop { position: 0.0; color: MoneroComponents.Style.menuButtonGradientStart }
- GradientStop { position: 1.0; color: MoneroComponents.Style.menuButtonGradientStop }
+ GradientStop { position: 0.0; color: MonzeroComponents.Style.menuButtonGradientStart }
+ GradientStop { position: 1.0; color: MonzeroComponents.Style.menuButtonGradientStop }
}
opacity: button.checked ? 1 : 0.3
}
@@ -82,7 +82,7 @@ Rectangle {
Rectangle {
visible: !isOpenGL && (button.checked || buttonArea.containsMouse)
anchors.fill: parent
- color: MoneroComponents.Style.menuButtonFallbackBackgroundColor
+ color: MonzeroComponents.Style.menuButtonFallbackBackgroundColor
opacity: button.checked ? 1 : 0.3
}
@@ -92,14 +92,14 @@ Rectangle {
anchors.leftMargin: 20
height: parent.height
width: 2
- color: button.checked ? MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length] : "transparent"
+ color: button.checked ? MonzeroComponents.Style.accountColors[currentAccountIndex % MonzeroComponents.Style.accountColors.length] : "transparent"
// button text
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
- color: MoneroComponents.Style.menuButtonTextColor
- themeTransitionBlackColor: MoneroComponents.Style._b_menuButtonTextColor
- themeTransitionWhiteColor: MoneroComponents.Style._w_menuButtonTextColor
+ color: MonzeroComponents.Style.menuButtonTextColor
+ themeTransitionBlackColor: MonzeroComponents.Style._b_menuButtonTextColor
+ themeTransitionWhiteColor: MonzeroComponents.Style._w_menuButtonTextColor
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: button.getOffset() + 8
@@ -109,26 +109,26 @@ Rectangle {
}
// menu button right arrow
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: parent.getOffset()
anchors.right: parent.right
anchors.rightMargin: 20
height: 14
width: 8
- image: MoneroComponents.Style.menuButtonImageRightSource
- color: button.checked ? MoneroComponents.Style.menuButtonImageRightColorActive : MoneroComponents.Style.menuButtonImageRightColor
+ image: MonzeroComponents.Style.menuButtonImageRightSource
+ color: button.checked ? MonzeroComponents.Style.menuButtonImageRightColorActive : MonzeroComponents.Style.menuButtonImageRightColor
opacity: button.checked ? 0.8 : 0.25
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: symbolText
anchors.right: parent.right
anchors.rightMargin: 44
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 12
font.bold: true
- color: MoneroComponents.Style.menuButtonTextColor
+ color: MonzeroComponents.Style.menuButtonTextColor
visible: appWindow.ctrlPressed
themeTransition: false
}
diff --git a/components/MenuButtonDivider.qml b/components/MenuButtonDivider.qml
index 50d7c0f4..2cbf3627 100644
--- a/components/MenuButtonDivider.qml
+++ b/components/MenuButtonDivider.qml
@@ -1,15 +1,15 @@
import QtQuick 2.9
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
Rectangle {
- color: MoneroComponents.Style.appWindowBorderColor
+ color: MonzeroComponents.Style.appWindowBorderColor
height: 1
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
targetObj: parent
- blackColor: MoneroComponents.Style._b_appWindowBorderColor
- whiteColor: MoneroComponents.Style._w_appWindowBorderColor
+ blackColor: MonzeroComponents.Style._b_appWindowBorderColor
+ whiteColor: MonzeroComponents.Style._w_appWindowBorderColor
}
}
diff --git a/components/Navbar.qml b/components/Navbar.qml
index 3383d560..a1706e06 100644
--- a/components/Navbar.qml
+++ b/components/Navbar.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -28,10 +28,10 @@
import QtQuick 2.9
import QtQuick.Layouts 1.1
-import "." as MoneroComponents
+import "." as MonzeroComponents
Rectangle {
- default property list<MoneroComponents.NavbarItem> items
+ default property list<MonzeroComponents.NavbarItem> items
property alias currentIndex: repeater.currentIndex
property alias previousIndex: repeater.previousIndex
@@ -44,12 +44,12 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
columnSpacing: 0
- property string fontColorActive: MoneroComponents.Style.blackTheme ? "white" : "white"
- property string fontColorInActive: MoneroComponents.Style.blackTheme ? "white" : MoneroComponents.Style.dimmedFontColor
+ property string fontColorActive: MonzeroComponents.Style.blackTheme ? "white" : "white"
+ property string fontColorInActive: MonzeroComponents.Style.blackTheme ? "white" : MonzeroComponents.Style.dimmedFontColor
property int fontSize: 15
property bool fontBold: true
- property var fontFamily: MoneroComponents.Style.fontRegular.name
- property string borderColor: MoneroComponents.Style.blackTheme ? "#808080" : "#B9B9B9"
+ property var fontFamily: MonzeroComponents.Style.fontRegular.name
+ property string borderColor: MonzeroComponents.Style.blackTheme ? "#808080" : "#B9B9B9"
property int textMargin: {
// left-right margins for a given cell
if(appWindow.width < 890){
@@ -137,7 +137,7 @@ Rectangle {
implicitHeight: children[0].implicitHeight
implicitWidth: children[0].implicitWidth
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.centerIn: parent
font.family: grid.fontFamily
font.pixelSize: grid.fontSize
diff --git a/components/NavbarItem.qml b/components/NavbarItem.qml
index b1a56239..5586912c 100644
--- a/components/NavbarItem.qml
+++ b/components/NavbarItem.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2021-2024, The Monero Project
+// Copyright (c) 2021-2024, The Monzero Project
//
// All rights reserved.
//
diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml
index c22a4b2d..b2806838 100644
--- a/components/NetworkStatusItem.qml
+++ b/components/NetworkStatusItem.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 FontAwesome 1.0
import moneroComponents.Wallet 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Rectangle {
id: item
@@ -82,7 +82,7 @@ Rectangle {
if(item.connected == Wallet.ConnectionStatus_Connected){
return 1
} else {
- MoneroComponents.Style.blackTheme ? 0.5 : 0.3
+ MonzeroComponents.Style.blackTheme ? 0.5 : 0.3
}
}
@@ -94,7 +94,7 @@ Rectangle {
source: {
if(appWindow.isMining) {
return "qrc:///images/miningxmr.png"
- } else if(item.connected == Wallet.ConnectionStatus_Connected || !MoneroComponents.Style.blackTheme) {
+ } else if(item.connected == Wallet.ConnectionStatus_Connected || !MonzeroComponents.Style.blackTheme) {
return "qrc:///images/lightning.png"
} else {
return "qrc:///images/lightning-white.png"
@@ -120,30 +120,30 @@ Rectangle {
height: 40
width: 260
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: statusText
anchors.left: parent.left
anchors.top: parent.top
anchors.topMargin: 0
- font.family: MoneroComponents.Style.fontMedium.name
+ font.family: MonzeroComponents.Style.fontMedium.name
font.bold: true
font.pixelSize: 13
- color: MoneroComponents.Style.blackTheme ? MoneroComponents.Style.dimmedFontColor : MoneroComponents.Style.defaultFontColor
- opacity: MoneroComponents.Style.blackTheme ? 0.65 : 0.75
+ color: MonzeroComponents.Style.blackTheme ? MonzeroComponents.Style.dimmedFontColor : MonzeroComponents.Style.defaultFontColor
+ opacity: MonzeroComponents.Style.blackTheme ? 0.65 : 0.75
text: qsTr("Network status") + translationManager.emptyString
themeTransition: false
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: statusTextVal
anchors.left: parent.left
anchors.top: parent.top
anchors.topMargin: 14
- font.family: MoneroComponents.Style.fontMedium.name
+ font.family: MonzeroComponents.Style.fontMedium.name
font.pixelSize: 20
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
text: getConnectionStatusString(item.connected) + translationManager.emptyString
- opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.7
+ opacity: MonzeroComponents.Style.blackTheme ? 1.0 : 0.7
themeTransition: false
MouseArea {
@@ -161,11 +161,11 @@ Rectangle {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.left: statusTextVal.right
anchors.leftMargin: 16
anchors.verticalCenter: parent.verticalCenter
- color: refreshMouseArea.containsMouse ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
+ color: refreshMouseArea.containsMouse ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor
font.family: FontAwesome.fontFamilySolid
font.pixelSize: 24
font.styleName: "Solid"
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index f369593b..706b79d2 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -34,8 +34,8 @@ import QtQuick.Controls.Styles 1.4
import QtQuick.Window 2.0
import FontAwesome 1.0
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
import "../js/Utils.js" as Utils
FocusScope {
@@ -172,9 +172,9 @@ FocusScope {
Layout.fillWidth: true
font.pixelSize: 16
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
Label {
@@ -184,17 +184,17 @@ FocusScope {
wrapMode: Text.Wrap
font.pixelSize: 14
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
- color: MoneroComponents.Style.warningColor
+ color: MonzeroComponents.Style.warningColor
}
Label {
id: errorTextLabel
visible: root.errorText || text !== ""
- color: MoneroComponents.Style.errorColor
+ color: MonzeroComponents.Style.errorColor
font.pixelSize: 16
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
Layout.fillWidth: true
wrapMode: Text.Wrap
}
@@ -202,15 +202,15 @@ FocusScope {
Label {
id: capsLockTextLabel
visible: false
- color: MoneroComponents.Style.errorColor
+ color: MonzeroComponents.Style.errorColor
font.pixelSize: 16
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
Layout.fillWidth: true
wrapMode: Text.Wrap
text: qsTr("CAPS LOCK IS ON.") + translationManager.emptyString;
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: passwordInput1
password: true
input.focus: root.visible && (appWindow.active || Qt.application.state === Qt.ApplicationActive)
@@ -247,12 +247,12 @@ FocusScope {
Layout.fillWidth: true
font.pixelSize: 16
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: passwordInput2
passwordLinked: passwordInput1
visible: !passwordDialogMode
@@ -284,7 +284,7 @@ FocusScope {
Layout.topMargin: 16
Layout.alignment: Qt.AlignRight
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: cancelButton
primary: false
small: true
@@ -293,7 +293,7 @@ FocusScope {
onClicked: onCancel()
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: okButton
fontAwesomeIcon: true
rightIcon: okButtonIcon
@@ -311,10 +311,10 @@ FocusScope {
Layout.fillWidth: true
font.pixelSize: 14
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
font.italic: true
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
}
}
diff --git a/components/ProcessingSplash.qml b/components/ProcessingSplash.qml
index 469cc1fa..1c41f589 100644
--- a/components/ProcessingSplash.qml
+++ b/components/ProcessingSplash.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -32,14 +32,14 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Rectangle {
id: root
- color: MoneroComponents.Style.blackTheme ? "black" : "white"
+ color: MonzeroComponents.Style.blackTheme ? "black" : "white"
visible: false
radius: 10
- border.color: MoneroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
+ border.color: MonzeroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
border.width: 1
z: 11
property alias messageText: messageTitle.text
@@ -74,7 +74,7 @@ Rectangle {
width: 60
height: 60
anchors.centerIn: parent
- source: "qrc:///images/monero-vector.svg"
+ source: "qrc:///images/monzero-xmz-coin.png"
mipmap: true
}
@@ -98,7 +98,7 @@ Rectangle {
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: messageTitle
text: qsTr("Please wait...") + translationManager.emptyString
font.pixelSize: 24
@@ -106,7 +106,7 @@ Rectangle {
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
Layout.fillWidth: true
themeTransition: false
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
}
}
diff --git a/components/ProgressBar.qml b/components/ProgressBar.qml
index 7600d683..5c7b70e5 100644
--- a/components/ProgressBar.qml
+++ b/components/ProgressBar.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import moneroComponents.Wallet 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Rectangle {
id: item
@@ -61,27 +61,27 @@ Rectangle {
anchors.rightMargin: 15
anchors.fill: parent
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: progressText
anchors.top: parent.top
anchors.topMargin: 6
- font.family: MoneroComponents.Style.fontMedium.name
+ font.family: MonzeroComponents.Style.fontMedium.name
font.pixelSize: 13
- font.bold: MoneroComponents.Style.progressBarProgressTextBold
- color: MoneroComponents.Style.defaultFontColor
+ font.bold: MonzeroComponents.Style.progressBarProgressTextBold
+ color: MonzeroComponents.Style.defaultFontColor
text: qsTr("Synchronizing %1").arg(syncType) + translationManager.emptyString
height: 18
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: progressTextValue
anchors.top: parent.top
anchors.topMargin: 6
anchors.right: parent.right
- font.family: MoneroComponents.Style.fontMedium.name
+ font.family: MonzeroComponents.Style.fontMedium.name
font.pixelSize: 13
- font.bold: MoneroComponents.Style.progressBarProgressTextBold
- color: MoneroComponents.Style.defaultFontColor
+ font.bold: MonzeroComponents.Style.progressBarProgressTextBold
+ color: MonzeroComponents.Style.defaultFontColor
height:18
}
@@ -93,17 +93,17 @@ Rectangle {
anchors.topMargin: 4
height: 8
radius: 8
- color: MoneroComponents.Style.progressBarBackgroundColor
+ color: MonzeroComponents.Style.progressBarBackgroundColor
states: [
State {
name: "black";
- when: MoneroComponents.Style.blackTheme
- PropertyChanges { target: bar; color: MoneroComponents.Style._b_progressBarBackgroundColor}
+ when: MonzeroComponents.Style.blackTheme
+ PropertyChanges { target: bar; color: MonzeroComponents.Style._b_progressBarBackgroundColor}
}, State {
name: "white";
- when: !MoneroComponents.Style.blackTheme
- PropertyChanges { target: bar; color: MoneroComponents.Style._w_progressBarBackgroundColor}
+ when: !MonzeroComponents.Style.blackTheme
+ PropertyChanges { target: bar; color: MonzeroComponents.Style._w_progressBarBackgroundColor}
}
]
diff --git a/components/QRCodeScanner.qml b/components/QRCodeScanner.qml
index 7479c75f..7497ccd7 100644
--- a/components/QRCodeScanner.qml
+++ b/components/QRCodeScanner.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
diff --git a/components/RadioButton.qml b/components/RadioButton.qml
index 465477bc..f097e951 100644
--- a/components/RadioButton.qml
+++ b/components/RadioButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Item {
id: radioButton
@@ -41,8 +41,8 @@ Item {
height: 26
width: layout.width
// legacy properties
- property var checkedColor: MoneroComponents.Style.blackTheme ? "white" : "#666666"
- property var borderColor: checked ? MoneroComponents.Style.inputBorderColorActive : MoneroComponents.Style.inputBorderColorInActive
+ property var checkedColor: MonzeroComponents.Style.blackTheme ? "white" : "#666666"
+ property var borderColor: checked ? MonzeroComponents.Style.inputBorderColorActive : MonzeroComponents.Style.inputBorderColorInActive
function toggle(){
radioButton.checked = !radioButton.checked
@@ -72,11 +72,11 @@ Item {
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
Layout.leftMargin: 10
- color: MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
+ color: MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: radioButton.fontSize
wrapMode: Text.Wrap
}
diff --git a/components/RemoteNodeDialog.qml b/components/RemoteNodeDialog.qml
index 015f122d..36376386 100644
--- a/components/RemoteNodeDialog.qml
+++ b/components/RemoteNodeDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2021-2024, The Monero Project
+// Copyright (c) 2021-2024, The Monzero Project
//
// All rights reserved.
//
@@ -30,9 +30,9 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.1
-import "." as MoneroComponents
+import "." as MonzeroComponents
-MoneroComponents.Dialog {
+MonzeroComponents.Dialog {
id: root
title: (editMode ? qsTr("Edit remote node") : qsTr("Add remote node")) + translationManager.emptyString
@@ -89,7 +89,7 @@ MoneroComponents.Dialog {
root.success = false;
}
- MoneroComponents.RemoteNodeEdit {
+ MonzeroComponents.RemoteNodeEdit {
id: remoteNodeAddress
Layout.fillWidth: true
placeholderFontSize: 15
@@ -107,7 +107,7 @@ MoneroComponents.Dialog {
Layout.fillWidth: true
spacing: 32
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: daemonUsername
Layout.fillWidth: true
Layout.minimumWidth: 220
@@ -118,7 +118,7 @@ MoneroComponents.Dialog {
fontSize: 15
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: daemonPassword
Layout.fillWidth: true
Layout.minimumWidth: 220
@@ -136,7 +136,7 @@ MoneroComponents.Dialog {
}
}
- MoneroComponents.CheckBox {
+ MonzeroComponents.CheckBox {
id: setTrustedDaemonCheckBox
activeFocusOnTab: true
text: qsTr("Mark as Trusted Daemon") + translationManager.emptyString
@@ -146,7 +146,7 @@ MoneroComponents.Dialog {
Layout.alignment: Qt.AlignRight
spacing: parent.spacing
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
activeFocusOnTab: true
fontBold: false
primary: false
@@ -155,7 +155,7 @@ MoneroComponents.Dialog {
onClicked: root.close()
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
activeFocusOnTab: true
fontBold: false
enabled: remoteNodeAddress.getAddress() != ""
diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml
index e6ce47f2..439c54cc 100644
--- a/components/RemoteNodeEdit.qml
+++ b/components/RemoteNodeEdit.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 2.9
import QtQuick.Layouts 1.1
import "../js/Utils.js" as Utils
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
GridLayout {
columns: 2
@@ -48,15 +48,15 @@ GridLayout {
// TODO: LEGACY; remove these placeHolder variables when
// the wizards get redesigned to the black-theme
- property string placeholderFontFamily: MoneroComponents.Style.fontRegular.name
+ property string placeholderFontFamily: MonzeroComponents.Style.fontRegular.name
property bool placeholderFontBold: false
property int placeholderFontSize: 15
- property string placeholderColor: MoneroComponents.Style.defaultFontColor
+ property string placeholderColor: MonzeroComponents.Style.defaultFontColor
property real placeholderOpacity: 0.35
property int labelFontSize: 14
property string lineEditBackgroundColor: "transparent"
- property string lineEditFontColor: MoneroComponents.Style.defaultFontColor
+ property string lineEditFontColor: MonzeroComponents.Style.defaultFontColor
property bool lineEditFontBold: false
property int lineEditFontSize: 15
@@ -82,7 +82,7 @@ GridLayout {
return addr + ":" + port;
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: daemonAddr
Layout.fillWidth: true
Layout.minimumWidth: 220
@@ -105,7 +105,7 @@ GridLayout {
text: initialHostPort[1]
}
- MoneroComponents.LineEdit {
+ MonzeroComponents.LineEdit {
id: daemonPort
Layout.fillWidth: true
Layout.minimumWidth: 120
diff --git a/components/RemoteNodeList.qml b/components/RemoteNodeList.qml
index f1779e0c..61144c45 100644
--- a/components/RemoteNodeList.qml
+++ b/components/RemoteNodeList.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2021-2024, The Monero Project
+// Copyright (c) 2021-2024, The Monzero Project
//
// All rights reserved.
//
@@ -31,14 +31,14 @@ import QtQuick.Layouts 1.1
import FontAwesome 1.0
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
ColumnLayout {
id: remoteNodeList
spacing: 20
- MoneroComponents.CheckBox {
+ MonzeroComponents.CheckBox {
border: false
checkedIcon: FontAwesome.minusCircle
uncheckedIcon: FontAwesome.plusCircle
@@ -59,7 +59,7 @@ ColumnLayout {
Rectangle {
height: 30
Layout.fillWidth: true
- color: itemMouseArea.containsMouse || trustedDaemonCheckMark.labelMouseArea.containsMouse || index === remoteNodesModel.selected ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
+ color: itemMouseArea.containsMouse || trustedDaemonCheckMark.labelMouseArea.containsMouse || index === remoteNodesModel.selected ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent"
Rectangle {
visible: index === remoteNodesModel.selected
@@ -71,17 +71,17 @@ ColumnLayout {
}
Rectangle {
- color: MoneroComponents.Style.appWindowBorderColor
+ color: MonzeroComponents.Style.appWindowBorderColor
anchors.right: parent.right
anchors.left: parent.left
anchors.top: parent.top
height: 1
visible: index > 0
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
targetObj: parent
- blackColor: MoneroComponents.Style._b_appWindowBorderColor
- whiteColor: MoneroComponents.Style._w_appWindowBorderColor
+ blackColor: MonzeroComponents.Style._b_appWindowBorderColor
+ whiteColor: MonzeroComponents.Style._w_appWindowBorderColor
}
}
@@ -91,10 +91,10 @@ ColumnLayout {
color: "transparent"
property var trusted: remoteNodesModel.get(index) ? remoteNodesModel.get(index).trusted : false
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: addressText
width: parent.width - trustedDaemonCheckMark.width
- color: index === remoteNodesModel.selected ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
+ color: index === remoteNodesModel.selected ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 6
@@ -104,7 +104,7 @@ ColumnLayout {
elide: Text.ElideMiddle
}
- MoneroComponents.Label {
+ MonzeroComponents.Label {
id: trustedDaemonCheckMark
anchors.left: addressText.right
anchors.leftMargin: 3
@@ -113,7 +113,7 @@ ColumnLayout {
z: itemMouseArea.z + 1
fontSize: 16
fontFamily: FontAwesome.fontFamilySolid
- fontColor: index === remoteNodesModel.selected ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
+ fontColor: index === remoteNodesModel.selected ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor
styleName: "Solid"
visible: trusted
text: FontAwesome.shieldAlt
@@ -136,7 +136,7 @@ ColumnLayout {
height: 30
spacing: 2
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
buttonColor: "transparent"
fontFamily: FontAwesome.fontFamily
fontPixelSize: 18
@@ -151,7 +151,7 @@ ColumnLayout {
})
}
- MoneroComponents.InlineButton {
+ MonzeroComponents.InlineButton {
buttonColor: "transparent"
fontFamily: FontAwesome.fontFamily
text: FontAwesome.times
diff --git a/components/SettingsListItem.qml b/components/SettingsListItem.qml
index 7c778704..1055abdc 100644
--- a/components/SettingsListItem.qml
+++ b/components/SettingsListItem.qml
@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Layouts 1.1
import FontAwesome 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
ColumnLayout {
id: settingsListItem
@@ -30,8 +30,8 @@ ColumnLayout {
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 {
@@ -54,25 +54,25 @@ ColumnLayout {
anchors.leftMargin: 16
anchors.verticalCenter: parent.verticalCenter
- MoneroComponents.Label {
+ MonzeroComponents.Label {
id: iconLabel
fontSize: 32
fontFamily: FontAwesome.fontFamilySolid
anchors.centerIn: parent
- fontColor: MoneroComponents.Style.defaultFontColor
+ fontColor: MonzeroComponents.Style.defaultFontColor
styleName: "Solid"
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: header
anchors.left: icon.right
anchors.leftMargin: 16
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
}
@@ -82,8 +82,8 @@ ColumnLayout {
anchors.topMargin: 4
anchors.left: icon.right
anchors.leftMargin: 16
- 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;
@@ -99,8 +99,8 @@ ColumnLayout {
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
visible: settingsListItem.isLast
}
@@ -109,21 +109,21 @@ ColumnLayout {
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
hoverEnabled: true
- onEntered: root.color = MoneroComponents.Style.titleBarButtonHoverColor
+ onEntered: root.color = MonzeroComponents.Style.titleBarButtonHoverColor
onExited: root.color = "transparent"
onClicked: {
settingsListItem.clicked()
}
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: symbolText
anchors.right: parent.right
anchors.rightMargin: 44
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 12
font.bold: true
- color: MoneroComponents.Style.menuButtonTextColor
+ color: MonzeroComponents.Style.menuButtonTextColor
visible: appWindow.ctrlPressed
themeTransition: false
}
diff --git a/components/Slider.qml b/components/Slider.qml
index df3b3cb3..f44d124f 100644
--- a/components/Slider.qml
+++ b/components/Slider.qml
@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Controls 2.0 as QtQuickControls
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
ColumnLayout {
property alias from: slider.from
@@ -16,11 +16,11 @@ ColumnLayout {
spacing: 0
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.pixelSize: 14
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
}
QtQuickControls.Slider {
@@ -36,12 +36,12 @@ ColumnLayout {
width: parent.availableWidth
height: implicitHeight
radius: 2
- color: MoneroComponents.Style.progressBarBackgroundColor
+ color: MonzeroComponents.Style.progressBarBackgroundColor
Rectangle {
width: parent.visualPosition * parent.width
height: parent.height
- color: MoneroComponents.Style.green
+ color: MonzeroComponents.Style.green
radius: 2
}
}
@@ -53,7 +53,7 @@ ColumnLayout {
implicitHeight: 18
radius: 8
color: parent.pressed ? "#f0f0f0" : "#f6f6f6"
- border.color: MoneroComponents.Style.grey
+ border.color: MonzeroComponents.Style.grey
}
onMoved: parent.moved()
diff --git a/components/StandardButton.qml b/components/StandardButton.qml
index 0df44194..b8cedd6a 100644
--- a/components/StandardButton.qml
+++ b/components/StandardButton.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 FontAwesome 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Item {
id: button
@@ -39,7 +39,7 @@ Item {
property bool primary: true
property string rightIcon: ""
property string rightIconInactive: ""
- property color textColor: primary ? MoneroComponents.Style.buttonTextColor : MoneroComponents.Style.buttonSecondaryTextColor;
+ property color textColor: primary ? MonzeroComponents.Style.buttonTextColor : MonzeroComponents.Style.buttonSecondaryTextColor;
property bool small: false
property alias text: label.text
property alias fontBold: label.font.bold
@@ -80,8 +80,8 @@ Item {
PropertyChanges {
target: buttonRect
color: primary
- ? MoneroComponents.Style.buttonBackgroundColorHover
- : MoneroComponents.Style.buttonSecondaryBackgroundColorHover
+ ? MonzeroComponents.Style.buttonBackgroundColorHover
+ : MonzeroComponents.Style.buttonSecondaryBackgroundColorHover
}
},
State {
@@ -90,8 +90,8 @@ Item {
PropertyChanges {
target: buttonRect
color: primary
- ? MoneroComponents.Style.buttonBackgroundColor
- : MoneroComponents.Style.buttonSecondaryBackgroundColor
+ ? MonzeroComponents.Style.buttonBackgroundColor
+ : MonzeroComponents.Style.buttonSecondaryBackgroundColor
}
},
State {
@@ -101,8 +101,8 @@ Item {
target: buttonRect
opacity: 0.5
color: primary
- ? MoneroComponents.Style.buttonBackgroundColor
- : MoneroComponents.Style.buttonSecondaryBackgroundColor
+ ? MonzeroComponents.Style.buttonBackgroundColor
+ : MonzeroComponents.Style.buttonSecondaryBackgroundColor
}
PropertyChanges {
target: label
@@ -123,16 +123,16 @@ Item {
spacing: 11
anchors.centerIn: parent
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
- font.family: MoneroComponents.Style.fontBold.name
+ font.family: MonzeroComponents.Style.fontBold.name
font.bold: button.primary ? true : false
font.pixelSize: button.fontSize
color: !buttonArea.pressed ? button.textColor : "transparent"
visible: text !== ""
themeTransition: false
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.centerIn: parent
color: button.textColor
font.bold: label.font.bold
@@ -161,7 +161,7 @@ Item {
Text {
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.family: FontAwesome.fontFamilySolid
font.pixelSize: button.small ? 16 : 20
font.styleName: "Solid"
@@ -170,7 +170,7 @@ Item {
}
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: tooltip
anchors.fill: parent
}
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml
index 6f515f51..f5cce8f4 100644
--- a/components/StandardDialog.qml
+++ b/components/StandardDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -33,8 +33,8 @@ import QtQuick.Layouts 1.1
import QtQuick.Controls.Styles 1.4
import QtQuick.Window 2.0
-import "../components" as MoneroComponents
-import "effects/" as MoneroEffects
+import "../components" as MonzeroComponents
+import "effects/" as MonzeroEffects
Rectangle {
id: root
@@ -58,15 +58,15 @@ Rectangle {
signal closeCallback();
// background
- MoneroEffects.GradientBackground {
+ MonzeroEffects.GradientBackground {
anchors.fill: parent
- fallBackColor: MoneroComponents.Style.middlePanelBackgroundColor
- initialStartColor: MoneroComponents.Style.middlePanelBackgroundGradientStart
- initialStopColor: MoneroComponents.Style.middlePanelBackgroundGradientStop
- blackColorStart: MoneroComponents.Style._b_middlePanelBackgroundGradientStart
- blackColorStop: MoneroComponents.Style._b_middlePanelBackgroundGradientStop
- whiteColorStart: MoneroComponents.Style._w_middlePanelBackgroundGradientStart
- whiteColorStop: MoneroComponents.Style._w_middlePanelBackgroundGradientStop
+ fallBackColor: MonzeroComponents.Style.middlePanelBackgroundColor
+ initialStartColor: MonzeroComponents.Style.middlePanelBackgroundGradientStart
+ initialStopColor: MonzeroComponents.Style.middlePanelBackgroundGradientStop
+ blackColorStart: MonzeroComponents.Style._b_middlePanelBackgroundGradientStart
+ blackColorStop: MonzeroComponents.Style._b_middlePanelBackgroundGradientStop
+ whiteColorStart: MonzeroComponents.Style._w_middlePanelBackgroundGradientStart
+ whiteColorStop: MonzeroComponents.Style._w_middlePanelBackgroundGradientStop
start: Qt.point(0, 0)
end: Qt.point(height, width)
}
@@ -112,11 +112,11 @@ Rectangle {
Layout.topMargin: 14
Layout.fillWidth: true
- MoneroComponents.Label {
+ MonzeroComponents.Label {
id: dialogTitle
fontSize: 18
fontFamily: "Arial"
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
}
@@ -138,13 +138,13 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
renderType: Text.QtRendering
- font.family: MoneroComponents.Style.fontLight.name
+ font.family: MonzeroComponents.Style.fontLight.name
textFormat: TextEdit.AutoText
readOnly: true
font.pixelSize: 14
selectByMouse: false
wrapMode: TextEdit.Wrap
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
MouseArea {
anchors.fill: parent
@@ -169,7 +169,7 @@ Rectangle {
spacing: 60
Layout.alignment: Qt.AlignHCenter
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: cancelButton
primary: false
text: qsTr("Cancel") + translationManager.emptyString
@@ -179,7 +179,7 @@ Rectangle {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: okButton
text: qsTr("OK") + translationManager.emptyString
KeyNavigation.tab: cancelButton
@@ -200,12 +200,12 @@ Rectangle {
height: 48
color: "transparent"
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
anchors.centerIn: parent
width: 16
height: 16
- image: MoneroComponents.Style.titleBarCloseSource
- color: MoneroComponents.Style.defaultFontColor
+ image: MonzeroComponents.Style.titleBarCloseSource
+ color: MonzeroComponents.Style.defaultFontColor
opacity: 0.75
}
@@ -224,7 +224,7 @@ Rectangle {
// window borders
Rectangle{
width: 1
- color: MoneroComponents.Style.grey
+ color: MonzeroComponents.Style.grey
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
@@ -232,7 +232,7 @@ Rectangle {
Rectangle{
width: 1
- color: MoneroComponents.Style.grey
+ color: MonzeroComponents.Style.grey
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom
@@ -240,7 +240,7 @@ Rectangle {
Rectangle{
height: 1
- color: MoneroComponents.Style.grey
+ color: MonzeroComponents.Style.grey
anchors.left: parent.left
anchors.top: parent.top
anchors.right: parent.right
@@ -248,7 +248,7 @@ Rectangle {
Rectangle{
height: 1
- color: MoneroComponents.Style.grey
+ color: MonzeroComponents.Style.grey
anchors.left: parent.left
anchors.bottom: parent.bottom
anchors.right: parent.right
diff --git a/components/StandardDropdown.qml b/components/StandardDropdown.qml
index f7bf831b..fb44caa2 100644
--- a/components/StandardDropdown.qml
+++ b/components/StandardDropdown.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 FontAwesome 1.0
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
-import "../components/effects/" as MoneroEffects
+import "../components" as MonzeroComponents
+import "../components/effects/" as MonzeroEffects
ColumnLayout {
id: dropdown
@@ -43,9 +43,9 @@ ColumnLayout {
property alias dataModel: repeater.model
property string shadowPressedColor
property string shadowReleasedColor
- property string pressedColor: MoneroComponents.Style.appWindowBorderColor
- property string releasedColor: MoneroComponents.Style.titleBarButtonHoverColor
- property string textColor: MoneroComponents.Style.defaultFontColor
+ property string pressedColor: MonzeroComponents.Style.appWindowBorderColor
+ property string releasedColor: MonzeroComponents.Style.titleBarButtonHoverColor
+ property string textColor: MonzeroComponents.Style.defaultFontColor
property alias currentIndex: columnid.currentIndex
readonly property alias expanded: popup.visible
property alias labelText: dropdownLabel.text
@@ -59,7 +59,7 @@ ColumnLayout {
property int dropdownHeight: 39
property int fontSize: 14
property int fontItemSize: 14
- property string colorBorder: MoneroComponents.Style.inputBorderColorInActive
+ property string colorBorder: MonzeroComponents.Style.inputBorderColorInActive
property string colorHeaderBackground: "transparent"
property bool headerBorder: true
property bool headerFontBold: false
@@ -76,28 +76,28 @@ ColumnLayout {
height: (dropdownLabel.height + 10)
visible: showingHeader ? true : false
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: dropdownLabel
anchors.top: parent.top
anchors.left: parent.left
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: labelFontSize
font.bold: labelFontBold
textFormat: Text.RichText
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
}
Rectangle {
id: head
- color: dropArea.containsMouse ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
+ color: dropArea.containsMouse ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent"
border.width: dropdown.headerBorder ? 1 : 0
border.color: dropdown.colorBorder
radius: 4
Layout.fillWidth: true
Layout.preferredHeight: dropdownHeight
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 10
@@ -105,7 +105,7 @@ ColumnLayout {
anchors.rightMargin: 12
width: droplist.width
elide: Text.ElideRight
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.bold: dropdown.headerFontBold
font.pixelSize: dropdown.fontSize
color: dropdown.textColor
@@ -120,7 +120,7 @@ ColumnLayout {
anchors.rightMargin: 12
width: dropdownIcon.width
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
id: dropdownIcon
anchors.centerIn: parent
image: "qrc:///images/whiteDropIndicator.png"
@@ -128,7 +128,7 @@ ColumnLayout {
width: 12
fontAwesomeFallbackIcon: FontAwesome.arrowDown
fontAwesomeFallbackSize: 14
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
}
}
@@ -183,26 +183,26 @@ ColumnLayout {
//radius: index === repeater.count - 1 ? 4 : 0
color: itemArea.containsMouse || index === columnid.currentIndex || itemArea.containsMouse ? dropdown.releasedColor : dropdown.pressedColor
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: col1Text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.right: col2Text.left
anchors.leftMargin: 12
anchors.rightMargin: 0
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.bold: false
font.pixelSize: fontItemSize
color: itemArea.containsMouse || index === columnid.currentIndex || itemArea.containsMouse ? "#FA6800" : "#FFFFFF"
text: qsTr(column1) + translationManager.emptyString
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: col2Text
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: 45
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
color: "#FFFFFF"
text: ""
diff --git a/components/SuccessfulTxDialog.qml b/components/SuccessfulTxDialog.qml
index bd59b7ef..61191499 100644
--- a/components/SuccessfulTxDialog.qml
+++ b/components/SuccessfulTxDialog.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.Controls 2.0
import QtQuick.Layouts 1.1
import moneroComponents.Clipboard 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Rectangle {
id: root
@@ -40,10 +40,10 @@ Rectangle {
// TODO: implement without hardcoding sizes
width: 580
height: 400
- color: MoneroComponents.Style.blackTheme ? "black" : "white"
+ color: MonzeroComponents.Style.blackTheme ? "black" : "white"
visible: false
radius: 10
- border.color: MoneroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
+ border.color: MonzeroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
border.width: 1
Keys.enabled: true
Keys.onEscapePressed: {
@@ -80,7 +80,7 @@ Rectangle {
Layout.fillWidth: true
Layout.alignment: Qt.AlignCenter
- MoneroComponents.Label {
+ MonzeroComponents.Label {
fontSize: 18
fontFamily: "Arial"
horizontalAlignment: Text.AlignHCenter
@@ -108,7 +108,7 @@ Rectangle {
}
}
- MoneroComponents.LineEditMulti {
+ MonzeroComponents.LineEditMulti {
visible: !appWindow.viewOnly
Layout.leftMargin: 25
Layout.rightMargin: 25
@@ -121,7 +121,7 @@ Rectangle {
fontSize: 16
}
- MoneroComponents.LineEditMulti {
+ MonzeroComponents.LineEditMulti {
visible: appWindow.viewOnly
Layout.leftMargin: 25
borderDisabled: true
@@ -140,7 +140,7 @@ Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 50
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: viewProgressButton
visible: !appWindow.viewOnly
text: qsTr("View progress") + translationManager.emptyString;
@@ -154,7 +154,7 @@ Rectangle {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: openFolderButton
visible: appWindow.viewOnly
text: qsTr("Open folder") + translationManager.emptyString;
@@ -165,7 +165,7 @@ Rectangle {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: doneButton
text: qsTr("Done") + translationManager.emptyString;
width: 200
diff --git a/components/TextBlock.qml b/components/TextBlock.qml
index 9d1d0cf4..3227d545 100644
--- a/components/TextBlock.qml
+++ b/components/TextBlock.qml
@@ -1,11 +1,11 @@
import QtQuick 2.9
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
TextEdit {
- color: MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
- selectionColor: MoneroComponents.Style.textSelectionColor
+ color: MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
+ selectionColor: MonzeroComponents.Style.textSelectionColor
wrapMode: Text.Wrap
readOnly: true
selectByMouse: true
diff --git a/components/TextPlain.qml b/components/TextPlain.qml
index ed6b7977..fa41fb4c 100644
--- a/components/TextPlain.qml
+++ b/components/TextPlain.qml
@@ -1,7 +1,7 @@
import QtQuick 2.9
-import "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
Text {
// When using this component, please note that if you use a color different
@@ -16,7 +16,7 @@ Text {
property alias tooltipLeft: tooltip.tooltipLeft
property alias tooltipIconVisible: tooltip.tooltipIconVisible
property alias tooltipPopup: tooltip.tooltipPopup
- font.family: MoneroComponents.Style.fontMedium.name
+ font.family: MonzeroComponents.Style.fontMedium.name
font.bold: false
font.pixelSize: 14
textFormat: Text.PlainText
@@ -26,19 +26,19 @@ Text {
height: root.height
anchors.left: parent.left
anchors.top: parent.top
- color: root.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent"
+ color: root.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent"
}
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
enabled: root.themeTransition
themeTransition: root.themeTransition
targetObj: root
duration: 750
- blackColor: root.themeTransitionBlackColor !== "" ? root.themeTransitionBlackColor : MoneroComponents.Style._b_defaultFontColor
- whiteColor: root.themeTransitionWhiteColor !== "" ? root.themeTransitionWhiteColor : MoneroComponents.Style._w_defaultFontColor
+ blackColor: root.themeTransitionBlackColor !== "" ? root.themeTransitionBlackColor : MonzeroComponents.Style._b_defaultFontColor
+ whiteColor: root.themeTransitionWhiteColor !== "" ? root.themeTransitionWhiteColor : MonzeroComponents.Style._w_defaultFontColor
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: tooltip
anchors.top: parent.top
anchors.left: tooltipIconVisible ? parent.right : parent.left
diff --git a/components/TextPlainArea.qml b/components/TextPlainArea.qml
index 648662b2..f1ccde8e 100644
--- a/components/TextPlainArea.qml
+++ b/components/TextPlainArea.qml
@@ -1,15 +1,15 @@
import QtQuick 2.9
import QtQuick.Controls 2.0
-import "." as MoneroComponents
+import "." as MonzeroComponents
TextArea {
id: textArea
property bool themeTransition: true
property string colorWhiteTheme: ""
property string colorBlackTheme: ""
- color: MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
+ color: MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 14
selectByMouse: false
wrapMode: Text.WordWrap;
@@ -22,20 +22,20 @@ TextArea {
states: [
State {
name: "black";
- when: textArea.themeTransition && MoneroComponents.Style.blackTheme
+ when: textArea.themeTransition && MonzeroComponents.Style.blackTheme
PropertyChanges {
target: textArea
color: {
- return textArea.colorBlackTheme ? textArea.colorBlackTheme : MoneroComponents.Style._b_defaultFontColor
+ return textArea.colorBlackTheme ? textArea.colorBlackTheme : MonzeroComponents.Style._b_defaultFontColor
}
}
}, State {
name: "white";
- when: textArea.themeTransition && !MoneroComponents.Style.blackTheme
+ when: textArea.themeTransition && !MonzeroComponents.Style.blackTheme
PropertyChanges {
target: textArea
color: {
- return textArea.colorWhiteTheme ? textArea.colorWhiteTheme : MoneroComponents.Style._w_defaultFontColor
+ return textArea.colorWhiteTheme ? textArea.colorWhiteTheme : MonzeroComponents.Style._w_defaultFontColor
}
}
}
diff --git a/components/TipItem.qml b/components/TipItem.qml
index a6223b48..4b758e9f 100644
--- a/components/TipItem.qml
+++ b/components/TipItem.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtQuick.Window 2.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Window {
property alias text: content.text
@@ -60,7 +60,7 @@ Window {
source: "qrc:///images/tip.png"
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: content
anchors.horizontalCenter: parent.horizontalCenter
y: 6
diff --git a/components/TitleBar.qml b/components/TitleBar.qml
index 640641ef..75cd980e 100644
--- a/components/TitleBar.qml
+++ b/components/TitleBar.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 "." as MoneroComponents
-import "effects/" as MoneroEffects
+import "." as MonzeroComponents
+import "effects/" as MonzeroEffects
Rectangle {
id: root
@@ -75,16 +75,16 @@ Rectangle {
}
]
- MoneroEffects.GradientBackground {
+ MonzeroEffects.GradientBackground {
anchors.fill: parent
duration: 300
- fallBackColor: MoneroComponents.Style.middlePanelBackgroundColor
- initialStartColor: MoneroComponents.Style.titleBarBackgroundGradientStart
- initialStopColor: MoneroComponents.Style.titleBarBackgroundGradientStop
- blackColorStart: MoneroComponents.Style._b_titleBarBackgroundGradientStart
- blackColorStop: MoneroComponents.Style._b_titleBarBackgroundGradientStop
- whiteColorStart: MoneroComponents.Style._w_titleBarBackgroundGradientStart
- whiteColorStop: MoneroComponents.Style._w_titleBarBackgroundGradientStop
+ fallBackColor: MonzeroComponents.Style.middlePanelBackgroundColor
+ initialStartColor: MonzeroComponents.Style.titleBarBackgroundGradientStart
+ initialStopColor: MonzeroComponents.Style.titleBarBackgroundGradientStop
+ blackColorStart: MonzeroComponents.Style._b_titleBarBackgroundGradientStart
+ blackColorStop: MonzeroComponents.Style._b_titleBarBackgroundGradientStop
+ whiteColorStart: MonzeroComponents.Style._w_titleBarBackgroundGradientStart
+ whiteColorStop: MonzeroComponents.Style._w_titleBarBackgroundGradientStop
start: Qt.point(width, 0)
end: Qt.point(0, 0)
}
@@ -105,14 +105,14 @@ Rectangle {
text: FontAwesome.lock
font.family: FontAwesome.fontFamilySolid
font.pixelSize: 16
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.styleName: "Solid"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
opacity: 0.75
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: btnLockWalletTooltip
anchors.fill: parent
text: qsTr("Lock this wallet") + translationManager.emptyString
@@ -123,7 +123,7 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
- parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
btnLockWalletTooltip.tooltipPopup.open()
}
onExited: {
@@ -146,14 +146,14 @@ Rectangle {
text: FontAwesome.signOutAlt
font.family: FontAwesome.fontFamilySolid
font.pixelSize: 16
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.styleName: "Solid"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
opacity: 0.75
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: btnCloseWalletTooltip
anchors.fill: parent
text: qsTr("Close this wallet and return to main menu") + translationManager.emptyString
@@ -164,7 +164,7 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
- parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
btnCloseWalletTooltip.tooltipPopup.open()
}
onExited: {
@@ -186,14 +186,14 @@ Rectangle {
text: FontAwesome.globe
font.family: FontAwesome.fontFamilySolid
font.pixelSize: 16
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.styleName: "Solid"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
opacity: 0.75
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: btnLanguageToggleTooltip
anchors.fill: parent
text: qsTr("Change language") + translationManager.emptyString
@@ -204,7 +204,7 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
- parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
btnLanguageToggleTooltip.tooltipPopup.open()
}
onExited: {
@@ -223,19 +223,19 @@ Rectangle {
Text {
text: FontAwesome.moonO
- font.family: MoneroComponents.Style.blackTheme ? FontAwesome.fontFamilySolid : FontAwesome.fontFamily
- font.styleName: MoneroComponents.Style.blackTheme ? "Solid" : "Regular"
+ font.family: MonzeroComponents.Style.blackTheme ? FontAwesome.fontFamilySolid : FontAwesome.fontFamily
+ font.styleName: MonzeroComponents.Style.blackTheme ? "Solid" : "Regular"
font.pixelSize: 15
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
opacity: 0.75
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: btnSwitchThemeTooltip
anchors.fill: parent
- text: MoneroComponents.Style.blackTheme ? qsTr("Switch to light theme") : qsTr("Switch to dark theme") + translationManager.emptyString
+ text: MonzeroComponents.Style.blackTheme ? qsTr("Switch to light theme") : qsTr("Switch to dark theme") + translationManager.emptyString
}
MouseArea {
@@ -243,7 +243,7 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
- parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
btnSwitchThemeTooltip.tooltipPopup.open()
}
onExited: {
@@ -251,7 +251,7 @@ Rectangle {
btnSwitchThemeTooltip.tooltipPopup.close()
}
onClicked: {
- MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme;
+ MonzeroComponents.Style.blackTheme = !MonzeroComponents.Style.blackTheme;
}
}
}
@@ -279,16 +279,17 @@ Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
- source: MoneroComponents.Style.titleBarLogoSource
+ source: "qrc:///images/monzero-xmz-coin.png"
+ fillMode: Image.PreserveAspectFit
visible: {
if(!isOpenGL) return true;
- if(!MoneroComponents.Style.blackTheme) return true;
+ if(!MonzeroComponents.Style.blackTheme) return true;
return false;
}
}
Colorize {
- visible: isOpenGL && MoneroComponents.Style.blackTheme
+ visible: isOpenGL && MonzeroComponents.Style.blackTheme
anchors.fill: imgLogo
source: imgLogo
saturation: 0.0
@@ -300,7 +301,7 @@ Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: parent.height
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
font.pixelSize: 20
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
@@ -318,17 +319,17 @@ 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
- color: MoneroComponents.Style.defaultFontColor
+ image: MonzeroComponents.Style.titleBarMinimizeSource
+ color: MonzeroComponents.Style.defaultFontColor
fontAwesomeFallbackIcon: FontAwesome.minus
fontAwesomeFallbackSize: 18
- fontAwesomeFallbackOpacity: MoneroComponents.Style.blackTheme ? 0.8 : 0.6
+ fontAwesomeFallbackOpacity: MonzeroComponents.Style.blackTheme ? 0.8 : 0.6
opacity: 0.75
}
@@ -336,7 +337,7 @@ Rectangle {
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
- onEntered: parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ onEntered: parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
onExited: parent.color = "transparent"
onClicked: root.minimizeClicked();
}
@@ -353,7 +354,7 @@ Rectangle {
Image {
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
- source: MoneroComponents.Style.titleBarFullscreenSource
+ source: MonzeroComponents.Style.titleBarFullscreenSource
sourceSize.width: 16
sourceSize.height: 16
smooth: true
@@ -367,7 +368,7 @@ Rectangle {
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
- onEntered: parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ onEntered: parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
onExited: parent.color = "transparent"
onClicked: root.maximizeClicked();
}
@@ -380,16 +381,16 @@ 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.titleBarCloseSource
- color: MoneroComponents.Style.defaultFontColor
+ image: MonzeroComponents.Style.titleBarCloseSource
+ color: MonzeroComponents.Style.defaultFontColor
fontAwesomeFallbackIcon: FontAwesome.times
fontAwesomeFallbackSize: 21
- fontAwesomeFallbackOpacity: MoneroComponents.Style.blackTheme ? 0.8 : 0.6
+ fontAwesomeFallbackOpacity: MonzeroComponents.Style.blackTheme ? 0.8 : 0.6
opacity: 0.75
}
@@ -397,7 +398,7 @@ Rectangle {
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
- onEntered: parent.color = MoneroComponents.Style.titleBarButtonHoverColor
+ onEntered: parent.color = MonzeroComponents.Style.titleBarButtonHoverColor
onExited: parent.color = "transparent"
onClicked: root.closeClicked();
}
@@ -409,13 +410,13 @@ Rectangle {
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
- height: MoneroComponents.Style.blackTheme ? 1 : 1
- color: MoneroComponents.Style.titleBarBackgroundBorderColor
+ height: MonzeroComponents.Style.blackTheme ? 1 : 1
+ color: MonzeroComponents.Style.titleBarBackgroundBorderColor
- MoneroEffects.ColorTransition {
+ MonzeroEffects.ColorTransition {
targetObj: parent
- blackColor: MoneroComponents.Style._b_titleBarBackgroundBorderColor
- whiteColor: MoneroComponents.Style._w_titleBarBackgroundBorderColor
+ blackColor: MonzeroComponents.Style._b_titleBarBackgroundBorderColor
+ whiteColor: MonzeroComponents.Style._w_titleBarBackgroundBorderColor
}
}
diff --git a/components/Tooltip.qml b/components/Tooltip.qml
index 8903cb53..61575067 100644
--- a/components/Tooltip.qml
+++ b/components/Tooltip.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2021-2024, The Monero Project
+// Copyright (c) 2021-2024, The Monzero Project
//
// All rights reserved.
//
@@ -31,7 +31,7 @@ import QtQuick.Controls 2.2
import QtQuick.Layouts 1.1
import FontAwesome 1.0
-import "." as MoneroComponents
+import "." as MonzeroComponents
Rectangle {
property alias text: tooltip.text
@@ -48,7 +48,7 @@ Rectangle {
Text {
id: icon
visible: tooltipIconVisible
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.family: FontAwesome.fontFamily
font.pixelSize: 10
font.styleName: "Regular"
@@ -72,9 +72,9 @@ Rectangle {
height: tooltip.height + 20
background: Rectangle {
- border.color: MoneroComponents.Style.buttonInlineBackgroundColor
+ border.color: MonzeroComponents.Style.buttonInlineBackgroundColor
border.width: 1
- color: MoneroComponents.Style.titleBarBackgroundGradientStart
+ color: MonzeroComponents.Style.titleBarBackgroundGradientStart
radius: 4
}
closePolicy: Popup.NoAutoClose
@@ -101,8 +101,8 @@ Rectangle {
id: tooltip
width: contentWidth
Layout.maximumWidth: 370
- color: MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
+ color: MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 12
textFormat: Text.RichText
wrapMode: Text.WordWrap
diff --git a/components/TxConfirmationDialog.qml b/components/TxConfirmationDialog.qml
index 51da022f..86e1558b 100644
--- a/components/TxConfirmationDialog.qml
+++ b/components/TxConfirmationDialog.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.Controls 1.4 as QtQuickControls1
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.1
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
import "../js/Utils.js" as Utils
import FontAwesome 1.0
@@ -45,10 +45,10 @@ Rectangle {
// TODO: implement without hardcoding sizes
width: 590
height: layout.height + layout.anchors.margins * 2
- color: MoneroComponents.Style.blackTheme ? "black" : "white"
+ color: MonzeroComponents.Style.blackTheme ? "black" : "white"
visible: false
radius: 10
- border.color: MoneroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
+ border.color: MonzeroComponents.Style.blackTheme ? Qt.rgba(255, 255, 255, 0.25) : Qt.rgba(0, 0, 0, 0.25)
border.width: 1
Keys.enabled: true
Keys.onEscapePressed: {
@@ -140,8 +140,8 @@ Rectangle {
root.sweepUnmixable = false;
}
- function showFiatConversion(valueXMR) {
- const fiatFee = fiatApiConvertToFiat(valueXMR);
+ function showFiatConversion(valueXMZ) {
+ const fiatFee = fiatApiConvertToFiat(valueXMZ);
return "%1 %2".arg(fiatFee < 0.01 ? "&lt;0.01" : "~" + fiatFee).arg(fiatApiCurrencySymbol());
}
@@ -157,7 +157,7 @@ Rectangle {
Layout.topMargin: 10
Layout.fillWidth: true
- MoneroComponents.Label {
+ MonzeroComponents.Label {
id: dialogTitle
Layout.fillWidth: true
fontSize: 18
@@ -179,7 +179,7 @@ Rectangle {
id: errorText
Layout.fillWidth: true
Layout.fillHeight: true
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
wrapMode: Text.Wrap
font.pixelSize: 15
}
@@ -201,12 +201,12 @@ Rectangle {
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
font.pixelSize: root.transactionAmount == "(all)" && currentWallet.isHwBacked() === true ? 32 : 42
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
text: {
if (root.transactionAmount == "(all)" && currentWallet.isHwBacked() === true) {
return qsTr("All unlocked balance") + translationManager.emptyString;
} else {
- return root.transactionAmount + " XMR " + translationManager.emptyString;
+ return root.transactionAmount + " XMZ " + translationManager.emptyString;
}
}
}
@@ -216,7 +216,7 @@ Rectangle {
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 20
- color: MoneroComponents.Style.buttonSecondaryTextColor
+ color: MonzeroComponents.Style.buttonSecondaryTextColor
text: showFiatConversion(transactionAmount) + translationManager.emptyString
}
}
@@ -229,7 +229,7 @@ Rectangle {
rowSpacing: 16
Text {
- color: MoneroComponents.Style.dimmedFontColor
+ color: MonzeroComponents.Style.dimmedFontColor
text: qsTr("From") + ":" + translationManager.emptyString
font.pixelSize: 15
}
@@ -241,7 +241,7 @@ Rectangle {
Text {
Layout.fillWidth: true
font.pixelSize: 15
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
textFormat: Text.RichText
text: {
if (currentWallet) {
@@ -271,7 +271,7 @@ Rectangle {
Text {
font.pixelSize: 15
- color: MoneroComponents.Style.dimmedFontColor
+ color: MonzeroComponents.Style.dimmedFontColor
text: qsTr("To") + ":" + translationManager.emptyString
}
@@ -287,8 +287,8 @@ Rectangle {
TextArea.flickable: TextArea {
id : recipientsArea
- color: MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontMonoRegular.name
+ color: MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontMonoRegular.name
font.pixelSize: 14
topPadding: 0
bottomPadding: 0
@@ -297,7 +297,7 @@ Rectangle {
readOnly: true
selectByKeyboard: true
selectByMouse: true
- selectionColor: MoneroComponents.Style.textSelectionColor
+ selectionColor: MonzeroComponents.Style.textSelectionColor
textFormat: TextEdit.RichText
wrapMode: TextEdit.Wrap
text: {
@@ -310,10 +310,10 @@ Rectangle {
if (addressBookName) {
title = FontAwesome.addressBook + " " + Utils.htmlEscape(addressBookName);
} else {
- title = qsTr("Monero address") + translationManager.emptyString;
+ title = qsTr("Monzero address") + translationManager.emptyString;
}
if (recipients.length > 1) {
- title = "%1. %2 - %3 XMR".arg(index + 1).arg(title).arg(recipient.amount);
+ title = "%1. %2 - %3 XMZ".arg(index + 1).arg(title).arg(recipient.amount);
if (persistentSettings.fiatPriceEnabled) {
title += " (%1)".arg(showFiatConversion(recipient.amount));
}
@@ -330,7 +330,7 @@ Rectangle {
}
Text {
- color: MoneroComponents.Style.dimmedFontColor
+ color: MonzeroComponents.Style.dimmedFontColor
text: qsTr("Fee") + ":" + translationManager.emptyString
font.pixelSize: 15
}
@@ -341,7 +341,7 @@ Rectangle {
Text {
property bool maliciousTxFee: parseFloat(root.transactionFee) > 0.01
- color: maliciousTxFee ? "red" : MoneroComponents.Style.defaultFontColor
+ color: maliciousTxFee ? "red" : MonzeroComponents.Style.defaultFontColor
font.pixelSize: maliciousTxFee ? 20 : 15
text: {
if (currentWallet) {
@@ -352,7 +352,7 @@ Rectangle {
return qsTr("Calculating fee") + "..." + translationManager.emptyString;
}
} else {
- return root.transactionFee + " XMR" + (maliciousTxFee ? " (HIGH FEE)" : "")
+ return root.transactionFee + " XMZ" + (maliciousTxFee ? " (HIGH FEE)" : "")
}
} else {
return "";
@@ -363,7 +363,7 @@ Rectangle {
Text {
Layout.fillWidth: true
Layout.leftMargin: 8
- color: MoneroComponents.Style.buttonSecondaryTextColor
+ color: MonzeroComponents.Style.buttonSecondaryTextColor
visible: persistentSettings.fiatPriceEnabled && root.transactionFee
font.pixelSize: 15
text: showFiatConversion(root.transactionFee)
@@ -389,7 +389,7 @@ Rectangle {
Text {
id: bottomText
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
text: ""
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
@@ -413,7 +413,7 @@ Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 50
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: backButton
text: qsTr("Back") + translationManager.emptyString;
width: 200
@@ -426,7 +426,7 @@ Rectangle {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: confirmButton
text: qsTr("Confirm") + translationManager.emptyString;
rightIcon: "qrc:///images/rightArrow.png"
diff --git a/components/UpdateDialog.qml b/components/UpdateDialog.qml
index c3710cf7..fee6c685 100644
--- a/components/UpdateDialog.qml
+++ b/components/UpdateDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2020-2024, The Monero Project
+// Copyright (c) 2020-2024, The Monzero Project
//
// All rights reserved.
//
@@ -32,7 +32,7 @@ import QtQuick.Layouts 1.1
import moneroComponents.Downloader 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Popup {
id: updateDialog
@@ -48,9 +48,9 @@ Popup {
property string version: ""
background: Rectangle {
- border.color: MoneroComponents.Style.appWindowBorderColor
+ border.color: MonzeroComponents.Style.appWindowBorderColor
border.width: 1
- color: MoneroComponents.Style.middlePanelBackgroundColor
+ color: MonzeroComponents.Style.middlePanelBackgroundColor
}
closePolicy: Popup.NoAutoClose
padding: 20
@@ -70,17 +70,17 @@ Popup {
spacing: updateDialog.padding
Text {
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.bold: true
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 18
- text: qsTr("New Monero version v%1 is available.").arg(updateDialog.version)
+ text: qsTr("New Monzero version v%1 is available.").arg(updateDialog.version)
}
Text {
id: errorText
color: "red"
- font.family: MoneroComponents.Style.fontRegular.name
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 18
text: updateDialog.error
visible: text
@@ -88,14 +88,14 @@ Popup {
Text {
id: statusText
- color: updateDialog.valid ? MoneroComponents.Style.green : MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
+ color: updateDialog.valid ? MonzeroComponents.Style.green : MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: 18
visible: !errorText.visible
text: {
if (!updateDialog.url) {
- return qsTr("Please visit getmonero.org for details") + translationManager.emptyString;
+ return qsTr("Please visit monzero.org for details") + translationManager.emptyString;
}
if (downloader.active) {
return "%1 (%2%)"
@@ -112,13 +112,13 @@ Popup {
Rectangle {
id: progressBar
- color: MoneroComponents.Style.lightGreyFontColor
+ color: MonzeroComponents.Style.lightGreyFontColor
height: 3
Layout.fillWidth: true
visible: updateDialog.valid || downloader.active
Rectangle {
- color: MoneroComponents.Style.buttonBackgroundColor
+ color: MonzeroComponents.Style.buttonBackgroundColor
height: parent.height
width: parent.width * updateDialog.progress / 100
}
@@ -128,7 +128,7 @@ Popup {
Layout.alignment: Qt.AlignRight
spacing: parent.spacing
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: cancelButton
fontBold: false
primary: !updateDialog.url
@@ -148,7 +148,7 @@ Popup {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: downloadButton
KeyNavigation.tab: cancelButton
fontBold: false
@@ -172,7 +172,7 @@ Popup {
}
}
- MoneroComponents.StandardButton {
+ MonzeroComponents.StandardButton {
id: saveButton
KeyNavigation.tab: cancelButton
fontBold: false
diff --git a/components/WarningBox.qml b/components/WarningBox.qml
index 62f6912a..a41a6b4a 100644
--- a/components/WarningBox.qml
+++ b/components/WarningBox.qml
@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
-import "." as MoneroComponents
+import "." as MonzeroComponents
Rectangle {
id: root
@@ -13,9 +13,9 @@ Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: warningLayout.height
- color: MoneroComponents.Style.titleBarButtonHoverColor
+ color: MonzeroComponents.Style.titleBarButtonHoverColor
radius: 4
- border.color: MoneroComponents.Style.inputBorderColorInActive
+ border.color: MonzeroComponents.Style.inputBorderColorInActive
border.width: 1
signal linkActivated;
@@ -40,8 +40,8 @@ Rectangle {
Text {
id: content
Layout.fillWidth: true
- color: MoneroComponents.Style.defaultFontColor
- font.family: MoneroComponents.Style.fontRegular.name
+ color: MonzeroComponents.Style.defaultFontColor
+ font.family: MonzeroComponents.Style.fontRegular.name
font.pixelSize: root.fontSize
horizontalAlignment: TextInput.AlignLeft
textFormat: Text.RichText
diff --git a/components/effects/ColorTransition.qml b/components/effects/ColorTransition.qml
index ebafeb33..76c88ac3 100644
--- a/components/effects/ColorTransition.qml
+++ b/components/effects/ColorTransition.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtGraphicalEffects 1.0
-import "../" as MoneroComponents
+import "../" as MonzeroComponents
Item {
id: root
@@ -42,11 +42,11 @@ Item {
states: [
State {
name: "black";
- when: MoneroComponents.Style.blackTheme && root.themeTransition
+ when: MonzeroComponents.Style.blackTheme && root.themeTransition
PropertyChanges { target: root.targetObj; color: root.blackColor}
}, State {
name: "white";
- when: !MoneroComponents.Style.blackTheme && root.themeTransition
+ when: !MonzeroComponents.Style.blackTheme && root.themeTransition
PropertyChanges { target: root.targetObj; color: root.whiteColor}
}
]
diff --git a/components/effects/GradientBackground.qml b/components/effects/GradientBackground.qml
index 608ce815..21bafdc5 100644
--- a/components/effects/GradientBackground.qml
+++ b/components/effects/GradientBackground.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtGraphicalEffects 1.0
-import "../" as MoneroComponents
+import "../" as MonzeroComponents
Item {
id: root
@@ -76,7 +76,7 @@ Item {
states: [
State {
name: "black";
- when: isOpenGL && MoneroComponents.Style.blackTheme
+ when: isOpenGL && MonzeroComponents.Style.blackTheme
PropertyChanges {
target: gradientStart
color: root.blackColorStart
@@ -87,7 +87,7 @@ Item {
}
}, State {
name: "white";
- when: isOpenGL && !MoneroComponents.Style.blackTheme
+ when: isOpenGL && !MonzeroComponents.Style.blackTheme
PropertyChanges {
target: gradientStart
color: root.whiteColorStart
diff --git a/components/effects/ImageMask.qml b/components/effects/ImageMask.qml
index 0ed8eff2..f9e6f65d 100644
--- a/components/effects/ImageMask.qml
+++ b/components/effects/ImageMask.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,7 +29,7 @@
import QtQuick 2.9
import QtGraphicalEffects 1.0
-import "../" as MoneroComponents
+import "../" as MonzeroComponents
import FontAwesome 1.0
Item {
@@ -44,7 +44,7 @@ Item {
property string fontAwesomeFallbackStyle: "Solid"
property int fontAwesomeFallbackSize: 16
property double fontAwesomeFallbackOpacity: 0.8
- property string fontAwesomeFallbackColor: MoneroComponents.Style.defaultFontColor
+ property string fontAwesomeFallbackColor: MonzeroComponents.Style.defaultFontColor
property alias fontAwesomeFallback: fontAwesomeFallback
property alias svgMask: svgMask