mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-05 10:29:30 +00:00
Receive: buttons in rows + labels + 3D depth + FontAwesome icons
This commit is contained in:
parent
ef2b0cfa4a
commit
50f3e67e81
6 changed files with 30 additions and 29 deletions
Binary file not shown.
Before Width: | Height: | Size: 214 B |
Binary file not shown.
Before Width: | Height: | Size: 255 B |
Binary file not shown.
Before Width: | Height: | Size: 246 B |
Binary file not shown.
Before Width: | Height: | Size: 323 B |
|
@ -290,34 +290,39 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
MoneroComponents.StandardButton {
|
||||||
spacing: parent.spacing
|
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 {
|
MoneroComponents.StandardButton {
|
||||||
rightIcon: "qrc:///images/download-white.png"
|
Layout.preferredWidth: 220
|
||||||
onClicked: qrFileDialog.open()
|
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 {
|
MoneroComponents.StandardButton {
|
||||||
rightIcon: "qrc:///images/external-link-white.png"
|
Layout.preferredWidth: 220
|
||||||
onClicked: {
|
small: true
|
||||||
clipboard.setText(TxUtils.makeQRCodeString(appWindow.current_address));
|
text: FontAwesome.eye + " %1".arg(qsTr("Show on device")) + translationManager.emptyString
|
||||||
appWindow.showStatusMessage(qsTr("Copied to clipboard") + translationManager.emptyString, 3);
|
label.font.family: FontAwesome.fontFamily
|
||||||
}
|
fontSize: 13
|
||||||
}
|
visible: appWindow.currentWallet ? appWindow.currentWallet.isHwBacked() : false
|
||||||
|
onClicked: {
|
||||||
MoneroComponents.StandardButton {
|
appWindow.currentWallet.deviceShowAddressAsync(
|
||||||
text: FontAwesome.eye
|
appWindow.currentWallet.currentSubaddressAccount,
|
||||||
label.font.family: FontAwesome.fontFamily
|
appWindow.current_subaddress_table_index,
|
||||||
fontSize: 24
|
'');
|
||||||
width: 36
|
|
||||||
visible: appWindow.currentWallet ? appWindow.currentWallet.isHwBacked() : false
|
|
||||||
onClicked: {
|
|
||||||
appWindow.currentWallet.deviceShowAddressAsync(
|
|
||||||
appWindow.currentWallet.currentSubaddressAccount,
|
|
||||||
appWindow.current_subaddress_table_index,
|
|
||||||
'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
qml.qrc
4
qml.qrc
|
@ -3,10 +3,6 @@
|
||||||
<file>main.qml</file>
|
<file>main.qml</file>
|
||||||
<file>LeftPanel.qml</file>
|
<file>LeftPanel.qml</file>
|
||||||
<file>MiddlePanel.qml</file>
|
<file>MiddlePanel.qml</file>
|
||||||
<file>images/download-white.png</file>
|
|
||||||
<file>images/download-white@2x.png</file>
|
|
||||||
<file>images/external-link-white.png</file>
|
|
||||||
<file>images/external-link-white@2x.png</file>
|
|
||||||
<file>components/Label.qml</file>
|
<file>components/Label.qml</file>
|
||||||
<file>components/SettingsListItem.qml</file>
|
<file>components/SettingsListItem.qml</file>
|
||||||
<file>images/whatIsIcon.png</file>
|
<file>images/whatIsIcon.png</file>
|
||||||
|
|
Loading…
Reference in a new issue