aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/rendernode/data/MessUpState.qml
blob: b9c2a5944654972089dd8baf32da0f3b7ba1ae96 (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
import QtQuick 2.0
import Test 1.0

Rectangle {
    width: 320
    height: 480
    color: "black"
    Rectangle {
        width: 320
        height: 240
        anchors.centerIn: parent
        clip: true
        color: "white"
        Rectangle {
            width: 160
            height: 240
            anchors.centerIn: parent
            rotation: 45
            color: "blue"
            clip: true
            MessUpItem {
                anchors.fill: parent
            }
            Rectangle {
                anchors.fill: parent
                anchors.margins: -50
                color: "red"
                opacity: 0.5
            }
        }
    }
}