aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LeftPanel.qml28
-rw-r--r--images/logout.pngbin0 -> 378 bytes
-rw-r--r--qml.qrc1
3 files changed, 29 insertions, 0 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index 9af5e000..9d4a52bb 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -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 {
diff --git a/images/logout.png b/images/logout.png
new file mode 100644
index 00000000..37fcfbcd
--- /dev/null
+++ b/images/logout.png
Binary files differ
diff --git a/qml.qrc b/qml.qrc
index 8081b0eb..b5689645 100644
--- a/qml.qrc
+++ b/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>