summaryrefslogtreecommitdiffstats
path: root/tests/manual/performance/TestWater.qml
blob: ec5ef6df48c5034ded6de793b66672e058e656d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import Qt 4.7
import Qt.labs.shaders 1.0

Item {
    width: 360
    height: 640

    Image {
        id: image
        width: parent.width
        height: parent.height * 0.65
        source: "sydney5.png"
        smooth: true
    }
    Water {
        sourceItem: image
        intensity: 5
        height: parent.height - image.height
    }
}