aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/rendernode/data/MessUpState.qml
blob: 84f32b76929446acd6a8750a7afe60439a47321e (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
27
28
29
30
31
32
33
import QtQuick 2.0
import Test 1.0

Rectangle {
    id: root
    width: 160
    height: 240
    color: "black"
    Rectangle {
        width: root.width
        height: root.height / 2;
        anchors.centerIn: parent
        clip: true
        color: "white"
        Rectangle {
            width: root.width / 2;
            height: root.height / 2
            anchors.centerIn: parent
            rotation: 45
            color: "blue"
            clip: true
            MessUpItem {
                anchors.fill: parent
            }
            Rectangle {
                anchors.fill: parent
                anchors.margins: -100
                color: "red"
                opacity: 0.5
            }
        }
    }
}