diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
| commit | e638ed0272ca042f3ad77b680665a91ed8a35cce (patch) | |
| tree | 1c91223dd243221d644a0b22d2dc94563b264fdf /components/LineEditMulti.qml | |
| parent | 959c2fcc32d515f90cb39933689a37418197a095 (diff) | |
| download | monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip | |
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/LineEditMulti.qml')
| -rw-r--r-- | components/LineEditMulti.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index b013156a..3468c9d5 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -28,8 +28,8 @@ import QtQuick 2.0 import QtQuick.Layouts 1.1 -import "." 1.0 +import "../components" as MoneroComponents ColumnLayout { id: lineditmulti @@ -64,21 +64,21 @@ ColumnLayout { id: inputLabel anchors.top: parent.top anchors.left: parent.left - font.family: Style.fontRegular.name + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 16 * scaleRatio font.bold: labelFontBold textFormat: Text.RichText - color: Style.defaultFontColor + color: MoneroComponents.Style.defaultFontColor onLinkActivated: inputLabelLinkActivated() } - LabelButton { + MoneroComponents.LabelButton { id: labelButton onClicked: labelButtonClicked() visible: labelButtonVisible } - LabelButton { + MoneroComponents.LabelButton { id: copyButtonId visible: copyButton && multiLine.text !== "" text: qsTr("Copy") @@ -94,7 +94,7 @@ ColumnLayout { } } - InputMulti { + MoneroComponents.InputMulti { id: multiLine readOnly: false addressValidation: true @@ -113,8 +113,8 @@ ColumnLayout { anchors.left: parent.left anchors.leftMargin: 10 * scaleRatio opacity: 0.25 - color: Style.defaultFontColor - font.family: Style.fontRegular.name + color: MoneroComponents.Style.defaultFontColor + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 18 * scaleRatio text: "" z: 3 |
