1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 18:52:30 +01:00

Add back icon to match design mockup

This commit is contained in:
kelteseth 2017-04-13 08:24:58 +02:00
parent fbe9551e11
commit 12639809c9

View File

@ -1,6 +1,6 @@
import QtQuick 2.0
import QtGraphicalEffects 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls 2.0
Item {
id: sidebar
@ -24,6 +24,7 @@ Item {
+ "/" + installedListModel.get(activeScreen).screenPreview)
}
Item {
id: sidebarWrapper
@ -63,9 +64,10 @@ Item {
}
}
Button {
MouseArea {
id: button
text: qsTr("Back")
height:30
width: 30
anchors.top: parent.top
anchors.topMargin: 20
anchors.left: parent.left
@ -73,6 +75,14 @@ Item {
onClicked: {
sidebar.state = sidebar.state === "active" ? "inactive" : "active"
}
Image {
id: imgBack
opacity: .8
source: "qrc:/assets/icons/icon_arrow_left.svg"
sourceSize: Qt.size(16,16)
anchors.centerIn: parent
}
}
Button {