aboutsummaryrefslogtreecommitdiff
path: root/components/LineEditMulti.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/LineEditMulti.qml')
-rw-r--r--components/LineEditMulti.qml34
1 files changed, 17 insertions, 17 deletions
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