mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-01 21:56:23 +01:00
Keys: rename keys section to primary address & keys, add primary address
This commit is contained in:
parent
d5469c8247
commit
e05e6346ac
@ -131,7 +131,7 @@ Rectangle {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
fontSize: 22
|
fontSize: 22
|
||||||
Layout.topMargin: 10
|
Layout.topMargin: 10
|
||||||
text: qsTr("Keys") + translationManager.emptyString
|
text: qsTr("Primary address & Keys") + translationManager.emptyString
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@ -140,8 +140,18 @@ Rectangle {
|
|||||||
opacity: MoneroComponents.Style.dividerOpacity
|
opacity: MoneroComponents.Style.dividerOpacity
|
||||||
Layout.bottomMargin: 10
|
Layout.bottomMargin: 10
|
||||||
}
|
}
|
||||||
|
MoneroComponents.LineEditMulti {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
id: primaryAddress
|
||||||
|
readOnly: true
|
||||||
|
copyButton: true
|
||||||
|
wrapMode: Text.Wrap
|
||||||
|
labelText: qsTr("Primary address") + translationManager.emptyString
|
||||||
|
fontSize: 16
|
||||||
|
}
|
||||||
MoneroComponents.LineEdit {
|
MoneroComponents.LineEdit {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: 25
|
||||||
id: secretViewKey
|
id: secretViewKey
|
||||||
readOnly: true
|
readOnly: true
|
||||||
copyButton: true
|
copyButton: true
|
||||||
@ -261,6 +271,7 @@ Rectangle {
|
|||||||
function onPageCompleted() {
|
function onPageCompleted() {
|
||||||
console.log("keys page loaded");
|
console.log("keys page loaded");
|
||||||
|
|
||||||
|
primaryAddress.text = currentWallet.address(0, 0)
|
||||||
walletCreationHeight.text = currentWallet.walletCreationHeight
|
walletCreationHeight.text = currentWallet.walletCreationHeight
|
||||||
secretViewKey.text = currentWallet.secretViewKey
|
secretViewKey.text = currentWallet.secretViewKey
|
||||||
publicViewKey.text = currentWallet.publicViewKey
|
publicViewKey.text = currentWallet.publicViewKey
|
||||||
|
Loading…
Reference in New Issue
Block a user