QQuickCanvas renames
[profile/ivi/qtdeclarative.git] / tests / auto / quick / qquickwindow / data / Headless.qml
1 import QtQuick 2.0
2 import QtQuick.Window 2.0 as Window
3
4 Window.Window {
5
6     width: 300
7     height: 200
8     visible: true
9
10     Text {
11         anchors.left: parent.left
12         anchors.top: parent.top
13         text: "Testing headless mode"
14     }
15
16     Rectangle {
17         anchors.centerIn: parent
18         width: 100
19         height: 50
20         rotation: -30
21         gradient: Gradient {
22             GradientStop { position: 0; color: "lightsteelblue" }
23             GradientStop { position: 1; color: "black" }
24         }
25     }
26
27     Image {
28         source: "colors.png"
29         anchors.bottom: parent.bottom
30         anchors.right: parent.right
31     }
32
33 }