summaryrefslogtreecommitdiff
path: root/components/StandardDropdown.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/StandardDropdown.qml')
-rw-r--r--components/StandardDropdown.qml38
1 files changed, 19 insertions, 19 deletions
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: ""