added backnavigation and qrc

This commit is contained in:
Anika Raemer 2018-10-19 22:01:14 +02:00
parent 0b9e8fa067
commit a32fd01e81
15 changed files with 138 additions and 55 deletions

32
LenaPi/RoundButton.qml Normal file
View file

@ -0,0 +1,32 @@
import QtQuick 2.0
Rectangle {
id: container
property alias imageSource: image.source
signal clicked();
border.width: 2
border.color: "grey"
color: "white"
width: 50
height: width
radius: width/2
Image{
id: image
anchors.centerIn: parent
width: 30
height: width
source: "qrc:/icon_back"
}
MouseArea{
id: controlObject
anchors.fill: parent
onClicked:{
container.clicked();
}
}
}