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/HistoryTable.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/HistoryTable.qml')
| -rw-r--r-- | components/HistoryTable.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index 87c9be76..d5c9879c 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -29,9 +29,9 @@ import QtQuick 2.0 import moneroComponents.Clipboard 1.0 import moneroComponents.AddressBookModel 1.0 + import "../components" as MoneroComponents import "../js/TxUtils.js" as TxUtils -import "." 1.0 ListView { id: listView @@ -149,7 +149,7 @@ ListView { id: txrxLabel anchors.left: arrowImage.right anchors.leftMargin: 18 * scaleRatio - font.family: Style.fontLight.name + font.family: MoneroComponents.Style.fontLight.name font.pixelSize: 14 * scaleRatio text: isOut ? "Sent" : "Received" color: "#808080" @@ -161,7 +161,7 @@ ListView { anchors.leftMargin: 18 * scaleRatio anchors.top: txrxLabel.bottom anchors.topMargin: 0 * scaleRatio - font.family: Style.fontBold.name + font.family: MoneroComponents.Style.fontBold.name font.pixelSize: 18 * scaleRatio font.bold: true text: { @@ -187,7 +187,7 @@ ListView { Text { id: dateLabel anchors.left: parent.left - font.family: Style.fontRegular.name + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 14 * scaleRatio text: date color: "#808080" @@ -211,7 +211,7 @@ ListView { anchors.left: parent.left anchors.top: dateLabel.bottom anchors.topMargin: 0 - font.family: Style.fontRegular.name + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 16 * scaleRatio text: { if(isOut){ @@ -289,7 +289,7 @@ ListView { visible: delegate.collapsed // left column - HistoryTableInnerColumn{ + MoneroComponents.HistoryTableInnerColumn{ anchors.left: parent.left anchors.leftMargin: 30 * scaleRatio @@ -299,7 +299,7 @@ ListView { } // right column - HistoryTableInnerColumn{ + MoneroComponents.HistoryTableInnerColumn{ anchors.right: parent.right anchors.rightMargin: 100 * scaleRatio width: 200 * scaleRatio @@ -337,7 +337,7 @@ ListView { visible: delegate.collapsed // left column - HistoryTableInnerColumn{ + MoneroComponents.HistoryTableInnerColumn{ anchors.left: parent.left anchors.leftMargin: 30 * scaleRatio labelHeader: qsTr("Blockheight") @@ -357,7 +357,7 @@ ListView { } // right column - HistoryTableInnerColumn { + MoneroComponents.HistoryTableInnerColumn { visible: currentWallet.getUserNote(hash) anchors.right: parent.right anchors.rightMargin: 80 * scaleRatio @@ -425,7 +425,7 @@ ListView { } Text { - color: Style.defaultFontColor + color: MoneroComponents.Style.defaultFontColor text: "P" anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter @@ -470,7 +470,7 @@ ListView { } Text { - color: Style.defaultFontColor + color: MoneroComponents.Style.defaultFontColor text: "?" anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter |
