diff options
| author | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
|---|---|---|
| committer | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
| commit | dceeb88444ce966caa1a133d2926d5f7213c87ff (patch) | |
| tree | d74c9c7d7e43c2a0d39d656c690c63050cff7f53 /components/LineEditMulti.qml | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-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/LineEditMulti.qml')
| -rw-r--r-- | components/LineEditMulti.qml | 34 |
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 |
