aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlqt/data/size.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlqt/data/size.qml')
-rw-r--r--tests/auto/qml/qqmlqt/data/size.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlqt/data/size.qml b/tests/auto/qml/qqmlqt/data/size.qml
new file mode 100644
index 0000000000..41051f4216
--- /dev/null
+++ b/tests/auto/qml/qqmlqt/data/size.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+QtObject {
+ property variant test1: Qt.size(19, 34);
+ property variant test2: Qt.size(3, 109.2);
+ property variant test3: Qt.size(-3, 10);
+ property variant test4: Qt.size(3);
+ property variant test5: Qt.size(3, 109.2, 1);
+}
+
+