aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickimage/data/qtbug_32513.qml
blob: 438717155b4faed72dd821eac24a9212bb6e0444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick 2.0

Item {
    width: 200; height: 200

    Image {
        cache: false

        NumberAnimation on opacity {
            loops: Animation.Infinite
            from: 1; to: 0
        }

        SequentialAnimation on source {
            loops: Animation.Infinite
            PropertyAction { value: "green.png" }
            PauseAnimation { duration: 100 }
            PropertyAction {  value: "pattern.png" }
            PauseAnimation { duration: 100 }
        }
    }
}