left-panel: implement wallet 'Logout' shortcut button

This commit is contained in:
xiphon 2018-11-07 20:16:33 +00:00
parent 6eb8c8c9d6
commit 01054f2549
3 changed files with 29 additions and 0 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

View File

@ -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>