mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 07:47:44 +00:00
left-panel: implement wallet 'Logout' shortcut button
This commit is contained in:
parent
6eb8c8c9d6
commit
01054f2549
3 changed files with 29 additions and 0 deletions
|
@ -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 |
1
qml.qrc
1
qml.qrc
|
@ -190,6 +190,7 @@
|
|||
<file>components/InlineButton.qml</file>
|
||||
<file>images/lightning.png</file>
|
||||
<file>images/leftPanelBg.jpg</file>
|
||||
<file>images/logout.png</file>
|
||||
<file>images/moneroIcon-28x28.png</file>
|
||||
<file>images/lightning-white.png</file>
|
||||
<file>images/middlePanelBg.jpg</file>
|
||||
|
|
Loading…
Reference in a new issue