mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-23 03:02:30 +01:00
Add back icon to match design mockup
This commit is contained in:
parent
fbe9551e11
commit
12639809c9
@ -1,6 +1,6 @@
|
|||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
import QtQuick.Controls 2.2
|
import QtQuick.Controls 2.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: sidebar
|
id: sidebar
|
||||||
@ -24,6 +24,7 @@ Item {
|
|||||||
+ "/" + installedListModel.get(activeScreen).screenPreview)
|
+ "/" + installedListModel.get(activeScreen).screenPreview)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: sidebarWrapper
|
id: sidebarWrapper
|
||||||
|
|
||||||
@ -63,9 +64,10 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
MouseArea {
|
||||||
id: button
|
id: button
|
||||||
text: qsTr("Back")
|
height:30
|
||||||
|
width: 30
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 20
|
anchors.topMargin: 20
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -73,6 +75,14 @@ Item {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
sidebar.state = sidebar.state === "active" ? "inactive" : "active"
|
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 {
|
Button {
|
||||||
|
Loading…
Reference in New Issue
Block a user