aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickscreen/data/screen.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickscreen/data/screen.qml')
-rw-r--r--tests/auto/quick/qquickscreen/data/screen.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickscreen/data/screen.qml b/tests/auto/quick/qquickscreen/data/screen.qml
new file mode 100644
index 0000000000..780b22f23d
--- /dev/null
+++ b/tests/auto/quick/qquickscreen/data/screen.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+import QtQuick.Window 2.0 as Window
+
+Item {
+ width: 100
+ height: 100
+ property int w: Window.Screen.width
+ property int h: Window.Screen.height
+ property int curOrientation: Window.Screen.orientation
+ property int priOrientation: Window.Screen.primaryOrientation
+}