aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickitemlayer/data/DisableLayer.qml
blob: 70fc05e937afb305df34cb106a48af4b67209f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 2.0

Item {
    width: 200
    height: 200
    Rectangle {
        width: 100
        height: 100
        color: "red"
        layer.enabled: true
        Component.onCompleted: {
            layer.enabled = false
            visible = false
            width = 120
            x = 10
        }
    }
}