Emit a signal from FlowView when the index changes.

This commit is contained in:
Luis Ángel San Martín 2016-04-10 20:07:27 +02:00
parent 3d5eb94ffd
commit af772f8aee

View File

@ -18,6 +18,8 @@ Rectangle {
property real itemsSpacing: 17
signal currentCoverChanged(int index)
Rectangle {
id: background
color: "#2A2A2A"
@ -72,6 +74,7 @@ Rectangle {
ListView {
id: list
objectName: "list"
anchors.fill: parent
property int previousIndex;
@ -92,6 +95,10 @@ Rectangle {
highlightMoveDuration: 250
onCurrentIndexChanged: {
currentCoverChanged(currentIndex);
}
delegate: Component {
//cover