summaryrefslogtreecommitdiffstats
path: root/examples/shadereffectitem/Content.qml
blob: 949f5da2abcd87ad910d9e0abaebd3ed4d97b223 (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
26
import QtQuick 2.0

Item {
    anchors.fill: parent

        MovingBox {}

        Image {
            source: "bg.png"
            x: 20; y: 20; width: 100; height: 100;
        }

        Rectangle {
            anchors.bottom: parent.bottom; anchors.bottomMargin: 20
            anchors.right: parent.right; anchors.rightMargin: 20
            color: "#ff7f7f"
            border.color: "black"
            width: height; height: 100
            NumberAnimation on height { from: 100; to: 200; duration: 6116; loops: Animation.Infinite  }
        }

        Text {
            anchors.centerIn: parent
            text: "And here comes a bit of text, you see..."
        }
}