aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-11-16 11:58:11 -0600
committerluigi1111 <luigi1111w@gmail.com>2018-11-16 11:58:11 -0600
commit73eb6b4b7578c778b12ceeb9e3abbf16bbdec90d (patch)
treefc790687312068b55a02e1fd0902553d08301b92 /LeftPanel.qml
parentd81ad1ce4f858dd0142314f470ba86fc1e493eea (diff)
parent01054f25498bf2213e265fa60430a50a2ba8de05 (diff)
downloadmonzero-gui-73eb6b4b7578c778b12ceeb9e3abbf16bbdec90d.tar.gz
monzero-gui-73eb6b4b7578c778b12ceeb9e3abbf16bbdec90d.tar.xz
monzero-gui-73eb6b4b7578c778b12ceeb9e3abbf16bbdec90d.zip
Merge pull request #1732
01054f2 left-panel: implement wallet 'Logout' shortcut button (xiphon)
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml28
1 files changed, 28 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 {