aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpath/data
diff options
context:
space:
mode:
authorMichael Brasser <mbrasser@ford.com>2017-09-20 15:15:06 -0500
committerMichael Brasser <michael.brasser@live.com>2017-11-07 16:29:16 +0000
commit7bedd55551fbe95355b0db11f9d576924e829f9d (patch)
treefdef6c4ec81b46161162abacefe350c87a373830 /tests/auto/quick/qquickpath/data
parenta10f154e3b46cc004ab6f7d5319f550c450987d4 (diff)
Add new PathAngleArc type
This type allows working with arcs in different ways (based on angles rather than start/end positions) that can be more intuitive for certain use cases (such as a circular progress indicator). [ChangeLog][QtQuick][Path] Add new PathAngleArc type Change-Id: Icbe5fc0450edd9a4d92f9a8d03438842b72a312d Task-number: QTBUG-62684 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickpath/data')
-rw-r--r--tests/auto/quick/qquickpath/data/anglearc.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickpath/data/anglearc.qml b/tests/auto/quick/qquickpath/data/anglearc.qml
new file mode 100644
index 0000000000..cbe41c1ac8
--- /dev/null
+++ b/tests/auto/quick/qquickpath/data/anglearc.qml
@@ -0,0 +1,12 @@
+import QtQuick 2.11
+
+Path {
+ PathAngleArc {
+ centerX: 100
+ centerY: 100
+ radiusX: 50
+ radiusY: 50
+ startAngle: 45
+ sweepAngle: 90
+ }
+}