mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 22:47:26 -04:00
@@ -61,6 +61,7 @@ Rectangle {
|
||||
signal signClicked()
|
||||
signal keysClicked()
|
||||
signal merchantClicked()
|
||||
signal accountClicked()
|
||||
|
||||
function selectItem(pos) {
|
||||
menuColumn.previousButton.checked = false
|
||||
@@ -76,7 +77,7 @@ Rectangle {
|
||||
else if(pos === "Settings") menuColumn.previousButton = settingsButton
|
||||
else if(pos === "Advanced") menuColumn.previousButton = advancedButton
|
||||
else if(pos === "Keys") menuColumn.previousButton = keysButton
|
||||
|
||||
else if(pos === "Account") menuColumn.previousButton = accountButton
|
||||
menuColumn.previousButton.checked = true
|
||||
}
|
||||
|
||||
@@ -285,6 +286,8 @@ Rectangle {
|
||||
anchors.leftMargin: 20
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 60
|
||||
elide: Text.ElideRight
|
||||
textWidth: 238
|
||||
}
|
||||
Item { //separator
|
||||
anchors.left: parent.left
|
||||
@@ -331,6 +334,30 @@ Rectangle {
|
||||
height: 1
|
||||
}
|
||||
|
||||
// ------------- Account tab ---------------
|
||||
MoneroComponents.MenuButton {
|
||||
id: accountButton
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
text: qsTr("Account") + translationManager.emptyString
|
||||
symbol: qsTr("T") + translationManager.emptyString
|
||||
dotColor: "#44AAFF"
|
||||
onClicked: {
|
||||
parent.previousButton.checked = false
|
||||
parent.previousButton = accountButton
|
||||
panel.accountClicked()
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
visible: accountButton.present
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 16
|
||||
color: "#313131"
|
||||
height: 1
|
||||
}
|
||||
|
||||
// ------------- Transfer tab ---------------
|
||||
MoneroComponents.MenuButton {
|
||||
id: transferButton
|
||||
|
||||
Reference in New Issue
Block a user