Page {
id: songsPage
- tools: commonTools
+ anchors.fill: parent
ListView {
id: listView
anchors.leftMargin: 6
anchors.rightMargin: 6
model: songModel
- pressDelay: 140
+ //pressDelay: 140
delegate: Item {
id: listItem
id: background
anchors.fill: parent
// Fill page porders
- anchors.leftMargin: -songsPage.anchors.leftMargin
- anchors.rightMargin: -songsPage.anchors.rightMargin
+ //anchors.leftMargin: listItem.leftMargin
+ //anchors.rightMargin: listItem.rightMargin
visible: mouseArea.pressed
source: "image://theme/meegotouch-list-background-pressed-center"
}
MouseArea {
id: mouseArea
- anchors.fill: background
+ anchors.fill: listItem
onClicked: {
console.log ("Well, well, well")
+ editionSheet.song = model.song
+ editionSheet.open ()
}
}
}
}
+ SongEditor { id: editionSheet ; visualParent: songsPage }
+
}