aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickshape/data/changeElementsImperatively.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickshape/data/changeElementsImperatively.qml')
-rw-r--r--tests/auto/quick/qquickshape/data/changeElementsImperatively.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickshape/data/changeElementsImperatively.qml b/tests/auto/quick/qquickshape/data/changeElementsImperatively.qml
new file mode 100644
index 0000000000..129be7222a
--- /dev/null
+++ b/tests/auto/quick/qquickshape/data/changeElementsImperatively.qml
@@ -0,0 +1,21 @@
+import QtQuick
+import QtQuick.Shapes
+
+Shape {
+ width: 640
+ height: 480
+
+ Component.onCompleted: {
+ bottomPathLine.x = 20
+ }
+
+ ShapePath {
+ PathLine {}
+ PathLine {
+ id: bottomPathLine
+ }
+ PathArc {}
+ PathLine {}
+ PathArc {}
+ }
+}