Skip to content

Commit

Permalink
Receive: buttons in rows + labels + 3D depth + FontAwesome icons
Browse files Browse the repository at this point in the history
  • Loading branch information
rating89us committed Jan 13, 2020
1 parent ef2b0cf commit 3d8c6e1
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions pages/Receive.qml
Expand Up @@ -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(
Expand Down

0 comments on commit 3d8c6e1

Please sign in to comment.