Skip to content
Permalink
Browse files

Receive: buttons in rows + labels + 3D depth + FontAwesome icons

  • Loading branch information
rating89us committed Jan 11, 2020
1 parent ef2b0cf commit 3d8c6e19e3d70c42e63edfb75c14a488c64353c8
Showing with 18 additions and 7 deletions.
  1. +18 −7 pages/Receive.qml
@@ -291,26 +291,37 @@ Rectangle {
}

RowLayout {
spacing: parent.spacing

MoneroComponents.StandardButton {
rightIcon: "qrc:///images/download-white.png"
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()
}
}

RowLayout {
MoneroComponents.StandardButton {
rightIcon: "qrc:///images/external-link-white.png"
Layout.preferredWidth: 220
small: true
text: FontAwesome.clipboard + " %1".arg(qsTr("Copy to cliboard")) + 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);
}
}
}

RowLayout {
MoneroComponents.StandardButton {
text: FontAwesome.eye
Layout.preferredWidth: 220
small: true
text: FontAwesome.eye + " %1".arg(qsTr("Show on device")) + translationManager.emptyString
label.font.family: FontAwesome.fontFamily
fontSize: 24
width: 36
fontSize: 13
visible: appWindow.currentWallet ? appWindow.currentWallet.isHwBacked() : false
onClicked: {
appWindow.currentWallet.deviceShowAddressAsync(

0 comments on commit 3d8c6e1

Please sign in to comment.
You can’t perform that action at this time.