aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickstates/data/avoidFastForward.qml
blob: 519befc31e2fcf9f346b04c45a6c73201f87443f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.0

Rectangle {
    id: rect
    width: 200
    height: 200

    property int updateCount: 0
    onColorChanged: updateCount++

    property color aColor: "green"

    states: State {
        name: "a"
        PropertyChanges { target: rect; color: aColor }
    }
}