aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlbinding/data/bindingOverwriting2.qml
blob: 8d15185506d8af0981a2c0267a7a8c9bc864a02f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pragma ComponentBehavior: Bound
import QtQuick

ListView {
    id: list
    property int i: 0

    model: 1
    delegate: Item {
        id: cellRootID
        required property int index
        Timer {
            interval: 1
            running: true
            onTriggered: {
                cellRootID.index = index + 123
                list.i = cellRootID.index
            }
        }
    }
}