Skip to content
Permalink
Browse files

Receive: add labels + depth when clicking

  • Loading branch information
rating89us committed Jan 11, 2020
1 parent 43f378b commit 612e16b55ceb066c1702e5761252a0f908348858
Showing with 19 additions and 8 deletions.
  1. +19 −8 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 + 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 + 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);
}
}
}

RowLayout {
MoneroComponents.StandardButton {
text: FontAwesome.eye
Layout.preferredWidth: 220
small: true
text: FontAwesome.eye + qsTr(" Show on device")
label.font.family: FontAwesome.fontFamily
fontSize: 24
width: 36
fontSize: 13
visible: appWindow.currentWallet ? appWindow.currentWallet.isHwBacked() : false
onClicked: {
appWindow.currentWallet.deviceShowAddressAsync(
@@ -321,7 +332,7 @@ Rectangle {
}
}
}

MessageDialog {
id: receivePageDialog
standardButtons: StandardButton.Ok

0 comments on commit 612e16b

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