diff options
| author | xiphon <xiphon@protonmail.com> | 2018-11-07 20:16:33 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2018-11-07 20:16:33 +0000 |
| commit | 01054f25498bf2213e265fa60430a50a2ba8de05 (patch) | |
| tree | 42a81607332257d33ed4052baf9cd01c202cc46b /LeftPanel.qml | |
| parent | 6eb8c8c9d63d35d3a9daa9692301dd104936aefe (diff) | |
| download | monzero-gui-01054f25498bf2213e265fa60430a50a2ba8de05.tar.gz monzero-gui-01054f25498bf2213e265fa60430a50a2ba8de05.tar.xz monzero-gui-01054f25498bf2213e265fa60430a50a2ba8de05.zip | |
left-panel: implement wallet 'Logout' shortcut button
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index e689ec13..9858a2c9 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 { |
