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/InputMulti.qml | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-phase0-20260815.tar.gz monzero-gui-phase0-20260815.tar.xz monzero-gui-phase0-20260815.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
Diffstat (limited to 'components/InputMulti.qml')
| -rw-r--r-- | components/InputMulti.qml | 16 |
1 files changed, 8 insertions, 8 deletions
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(); |
