finished navigation including music player and navigate back
functionality
This commit is contained in:
parent
d6cb29ae7b
commit
6f5c9138a8
12 changed files with 213 additions and 11 deletions
|
|
@ -7,7 +7,7 @@ Item{
|
|||
id: backgroundImage
|
||||
|
||||
anchors.fill: parent
|
||||
source: "file:///home/ar/source/testLenaPi/benjamin/image.jpg"
|
||||
source: musicModel.pCurrentItem.pImageSource
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
verticalAlignment: Image.AlignTop
|
||||
}
|
||||
|
|
@ -16,6 +16,9 @@ Item{
|
|||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
anchors.margins: 20
|
||||
onClicked: {
|
||||
musicModel.navigateBack();
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
@ -34,6 +37,7 @@ Item{
|
|||
imageSource: "qrc:/icon_play"
|
||||
|
||||
onClicked:{
|
||||
musicModel.playPause();
|
||||
if(imageSource == "qrc:/icon_play")
|
||||
imageSource = "qrc:/icon_pause"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue