mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-04 23:51:10 +02:00
left-panel: implement wallet 'Logout' shortcut button
This commit is contained in:
parent
6eb8c8c9d6
commit
01054f2549
@ -144,6 +144,34 @@ Rectangle {
|
||||
font.bold: true
|
||||
color: "#ff9323"
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
height: (logoutImage.height + 8) * scaleRatio
|
||||
width: (logoutImage.width + 8) * scaleRatio
|
||||
color: "transparent"
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 8
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 25
|
||||
|
||||
Image {
|
||||
id: logoutImage
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
height: 16 * scaleRatio
|
||||
width: 13 * scaleRatio
|
||||
source: "../images/logout.png"
|
||||
}
|
||||
|
||||
MouseArea{
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
appWindow.showWizard();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
BIN
images/logout.png
Normal file
BIN
images/logout.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 378 B |
Loading…
Reference in New Issue
Block a user