mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
use radio buttons for export qr code
This commit is contained in:
parent
06fdf27be2
commit
b5253f03db
@ -189,23 +189,25 @@ Rectangle {
|
|||||||
Layout.bottomMargin: 10 * scaleRatio
|
Layout.bottomMargin: 10 * scaleRatio
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
ColumnLayout {
|
||||||
StandardButton {
|
RadioButton {
|
||||||
enabled: !fullWalletQRCode.visible
|
|
||||||
id: showFullQr
|
id: showFullQr
|
||||||
small: true
|
enabled: !this.checked
|
||||||
|
checked: fullWalletQRCode.visible
|
||||||
text: qsTr("Spendable Wallet") + translationManager.emptyString
|
text: qsTr("Spendable Wallet") + translationManager.emptyString
|
||||||
onClicked: {
|
onClicked: {
|
||||||
viewOnlyQRCode.visible = false
|
viewOnlyQRCode.visible = false
|
||||||
|
showViewOnlyQr.checked = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StandardButton {
|
RadioButton {
|
||||||
enabled: fullWalletQRCode.visible
|
enabled: !this.checked
|
||||||
id: showViewOnlyQr
|
id: showViewOnlyQr
|
||||||
small: true
|
checked: viewOnlyQRCode.visible
|
||||||
text: qsTr("View Only Wallet") + translationManager.emptyString
|
text: qsTr("View Only Wallet") + translationManager.emptyString
|
||||||
onClicked: {
|
onClicked: {
|
||||||
viewOnlyQRCode.visible = true
|
viewOnlyQRCode.visible = true
|
||||||
|
showFullQr.checked = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Layout.bottomMargin: 30 * scaleRatio
|
Layout.bottomMargin: 30 * scaleRatio
|
||||||
|
Loading…
Reference in New Issue
Block a user