forked from Public/monero-gui
Merge pull request #1732
01054f2 left-panel: implement wallet 'Logout' shortcut button (xiphon)
This commit is contained in:
@@ -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
BIN
images/logout.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 378 B |
1
qml.qrc
1
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>
|
||||
|
||||
Reference in New Issue
Block a user