diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-11-16 11:58:11 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-11-16 11:58:11 -0600 |
| commit | 73eb6b4b7578c778b12ceeb9e3abbf16bbdec90d (patch) | |
| tree | fc790687312068b55a02e1fd0902553d08301b92 | |
| parent | d81ad1ce4f858dd0142314f470ba86fc1e493eea (diff) | |
| parent | 01054f25498bf2213e265fa60430a50a2ba8de05 (diff) | |
| download | monzero-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)
| -rw-r--r-- | LeftPanel.qml | 28 | ||||
| -rw-r--r-- | images/logout.png | bin | 0 -> 378 bytes | |||
| -rw-r--r-- | qml.qrc | 1 |
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 Binary files differnew file mode 100644 index 00000000..37fcfbcd --- /dev/null +++ b/images/logout.png @@ -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> |
