aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/rendernode/data/MessUpState.qml
blob: 58f6e80a2c882c5b71ff083a248bafb120091d41 (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: 200
    height: 200
    color: "black"
    Rectangle {
        width: 200
        height: 100
        anchors.centerIn: parent
        clip: true
        color: "white"
        Rectangle {
            width: 100
            height: 100
            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
            }
        }
    }
}