mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 21:04:32 +00:00
LeftPanel: rejig some options to second level
This commit is contained in:
parent
67a76464e8
commit
d760232af9
1 changed files with 70 additions and 45 deletions
115
LeftPanel.qml
115
LeftPanel.qml
|
@ -246,6 +246,31 @@ Rectangle {
|
||||||
height: 1
|
height: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ------------- AddressBook tab ---------------
|
||||||
|
|
||||||
|
MenuButton {
|
||||||
|
id: addressBookButton
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
text: qsTr("Address book") + translationManager.emptyString
|
||||||
|
symbol: qsTr("B") + translationManager.emptyString
|
||||||
|
dotColor: "#FF4F41"
|
||||||
|
under: transferButton
|
||||||
|
onClicked: {
|
||||||
|
parent.previousButton.checked = false
|
||||||
|
parent.previousButton = addressBookButton
|
||||||
|
panel.addressBookClicked()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.leftMargin: 16
|
||||||
|
color: "#505050"
|
||||||
|
height: 1
|
||||||
|
}
|
||||||
|
|
||||||
// ------------- Receive tab ---------------
|
// ------------- Receive tab ---------------
|
||||||
MenuButton {
|
MenuButton {
|
||||||
id: receiveButton
|
id: receiveButton
|
||||||
|
@ -267,27 +292,6 @@ Rectangle {
|
||||||
color: "#505050"
|
color: "#505050"
|
||||||
height: 1
|
height: 1
|
||||||
}
|
}
|
||||||
// ------------- TxKey tab ---------------
|
|
||||||
MenuButton {
|
|
||||||
id: txkeyButton
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
text: qsTr("Verify payment") + translationManager.emptyString
|
|
||||||
symbol: qsTr("K") + translationManager.emptyString
|
|
||||||
dotColor: "#AAFFBB"
|
|
||||||
onClicked: {
|
|
||||||
parent.previousButton.checked = false
|
|
||||||
parent.previousButton = txkeyButton
|
|
||||||
panel.txkeyClicked()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Rectangle {
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.leftMargin: 16
|
|
||||||
color: "#505050"
|
|
||||||
height: 1
|
|
||||||
}
|
|
||||||
|
|
||||||
// ------------- History tab ---------------
|
// ------------- History tab ---------------
|
||||||
|
|
||||||
|
@ -312,30 +316,6 @@ Rectangle {
|
||||||
height: 1
|
height: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------- AddressBook tab ---------------
|
|
||||||
|
|
||||||
MenuButton {
|
|
||||||
id: addressBookButton
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
text: qsTr("Address book") + translationManager.emptyString
|
|
||||||
symbol: qsTr("B") + translationManager.emptyString
|
|
||||||
dotColor: "#FF4F41"
|
|
||||||
onClicked: {
|
|
||||||
parent.previousButton.checked = false
|
|
||||||
parent.previousButton = addressBookButton
|
|
||||||
panel.addressBookClicked()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle {
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.leftMargin: 16
|
|
||||||
color: "#505050"
|
|
||||||
height: 1
|
|
||||||
}
|
|
||||||
|
|
||||||
/* // ------------- Mining tab ---------------
|
/* // ------------- Mining tab ---------------
|
||||||
MenuButton {
|
MenuButton {
|
||||||
id: miningButton
|
id: miningButton
|
||||||
|
@ -359,6 +339,50 @@ Rectangle {
|
||||||
height: 1
|
height: 1
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
// ------------- Advanced tab ---------------
|
||||||
|
MenuButton {
|
||||||
|
id: advancedButton
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
text: qsTr("Advanced") + translationManager.emptyString
|
||||||
|
symbol: qsTr("A") + translationManager.emptyString
|
||||||
|
dotColor: "#AAFFBB"
|
||||||
|
onClicked: {
|
||||||
|
parent.previousButton.checked = false
|
||||||
|
parent.previousButton = advancedButton
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.leftMargin: 16
|
||||||
|
color: "#505050"
|
||||||
|
height: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
// ------------- TxKey tab ---------------
|
||||||
|
MenuButton {
|
||||||
|
id: txkeyButton
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
text: qsTr("Verify payment") + translationManager.emptyString
|
||||||
|
symbol: qsTr("K") + translationManager.emptyString
|
||||||
|
dotColor: "#AAFFBB"
|
||||||
|
under: advancedButton
|
||||||
|
onClicked: {
|
||||||
|
parent.previousButton.checked = false
|
||||||
|
parent.previousButton = txkeyButton
|
||||||
|
panel.txkeyClicked()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.leftMargin: 16
|
||||||
|
color: "#505050"
|
||||||
|
height: 1
|
||||||
|
}
|
||||||
|
|
||||||
// ------------- Sign/verify tab ---------------
|
// ------------- Sign/verify tab ---------------
|
||||||
MenuButton {
|
MenuButton {
|
||||||
id: signButton
|
id: signButton
|
||||||
|
@ -367,6 +391,7 @@ Rectangle {
|
||||||
text: qsTr("Sign/verify") + translationManager.emptyString
|
text: qsTr("Sign/verify") + translationManager.emptyString
|
||||||
symbol: qsTr("I") + translationManager.emptyString
|
symbol: qsTr("I") + translationManager.emptyString
|
||||||
dotColor: "#AAFFBB"
|
dotColor: "#AAFFBB"
|
||||||
|
under: advancedButton
|
||||||
onClicked: {
|
onClicked: {
|
||||||
parent.previousButton.checked = false
|
parent.previousButton.checked = false
|
||||||
parent.previousButton = signButton
|
parent.previousButton = signButton
|
||||||
|
|
Loading…
Reference in a new issue