aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2020-01-11 20:36:30 -0300
committerrating89us <45968869+rating89us@users.noreply.github.com>2020-01-19 17:29:49 -0300
commit50f3e67e8165c6f459c1066fdb16ace74bdb15ba (patch)
treef8a904d7c93fa6f73fb68ec56119ee6d49ac8563 /pages
parentef2b0cfa4a7327d8e6fd086452890cebe55e3b6f (diff)
downloadmonzero-gui-50f3e67e8165c6f459c1066fdb16ace74bdb15ba.tar.gz
monzero-gui-50f3e67e8165c6f459c1066fdb16ace74bdb15ba.tar.xz
monzero-gui-50f3e67e8165c6f459c1066fdb16ace74bdb15ba.zip
Receive: buttons in rows + labels + 3D depth + FontAwesome icons
Diffstat (limited to 'pages')
-rw-r--r--pages/Receive.qml55
1 files changed, 30 insertions, 25 deletions
diff --git a/pages/Receive.qml b/pages/Receive.qml
index 04e7676e..3ed70b0f 100644
--- a/pages/Receive.qml
+++ b/pages/Receive.qml
@@ -290,34 +290,39 @@ Rectangle {
}
}
- RowLayout {
- spacing: parent.spacing
-
- MoneroComponents.StandardButton {
- rightIcon: "qrc:///images/download-white.png"
- onClicked: qrFileDialog.open()
- }
+ MoneroComponents.StandardButton {
+ Layout.preferredWidth: 220
+ small: true
+ text: FontAwesome.save + " %1".arg(qsTr("Save as image")) + translationManager.emptyString
+ label.font.family: FontAwesome.fontFamily
+ fontSize: 13
+ onClicked: qrFileDialog.open()
+ }
- MoneroComponents.StandardButton {
- rightIcon: "qrc:///images/external-link-white.png"
- onClicked: {
- clipboard.setText(TxUtils.makeQRCodeString(appWindow.current_address));
- appWindow.showStatusMessage(qsTr("Copied to clipboard") + translationManager.emptyString, 3);
- }
+ MoneroComponents.StandardButton {
+ Layout.preferredWidth: 220
+ small: true
+ text: FontAwesome.clipboard + " %1".arg(qsTr("Copy to clipboard")) + translationManager.emptyString
+ label.font.family: FontAwesome.fontFamily
+ fontSize: 13
+ onClicked: {
+ clipboard.setText(TxUtils.makeQRCodeString(appWindow.current_address));
+ appWindow.showStatusMessage(qsTr("Copied to clipboard") + translationManager.emptyString, 3);
}
+ }
- MoneroComponents.StandardButton {
- text: FontAwesome.eye
- label.font.family: FontAwesome.fontFamily
- fontSize: 24
- width: 36
- visible: appWindow.currentWallet ? appWindow.currentWallet.isHwBacked() : false
- onClicked: {
- appWindow.currentWallet.deviceShowAddressAsync(
- appWindow.currentWallet.currentSubaddressAccount,
- appWindow.current_subaddress_table_index,
- '');
- }
+ MoneroComponents.StandardButton {
+ Layout.preferredWidth: 220
+ small: true
+ text: FontAwesome.eye + " %1".arg(qsTr("Show on device")) + translationManager.emptyString
+ label.font.family: FontAwesome.fontFamily
+ fontSize: 13
+ visible: appWindow.currentWallet ? appWindow.currentWallet.isHwBacked() : false
+ onClicked: {
+ appWindow.currentWallet.deviceShowAddressAsync(
+ appWindow.currentWallet.currentSubaddressAccount,
+ appWindow.current_subaddress_table_index,
+ '');
}
}
}