summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dial
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-07-27 11:20:46 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2009-07-29 03:47:28 (GMT)
commit3de172e037eef64a5b7065dc574f761818d95bbb (patch)
tree09a23da0144caf562ef49587d6002d935cc7e523 /examples/declarative/dial
parente494fef4cd3fd2dbec273fc48c49f8d15469bc96 (diff)
downloadQt-3de172e037eef64a5b7065dc574f761818d95bbb.zip
Qt-3de172e037eef64a5b7065dc574f761818d95bbb.tar.gz
Qt-3de172e037eef64a5b7065dc574f761818d95bbb.tar.bz2
fix all examples after change to QGraphicsTransform::origin.
Diffstat (limited to 'examples/declarative/dial')
-rw-r--r--examples/declarative/dial/DialLibrary/Dial.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml
index e3ea530..eb9ed3a 100644
--- a/examples/declarative/dial/DialLibrary/Dial.qml
+++ b/examples/declarative/dial/DialLibrary/Dial.qml
@@ -12,7 +12,7 @@ Item {
y: 35
source: "needle_shadow.png"
transform: Rotation {
- originX: 11; originY: 67
+ origin.x: 11; origin.y: 67
angle: NeedleRotation.angle
}
}
@@ -23,7 +23,7 @@ Item {
source: "needle.png"
transform: Rotation {
id: NeedleRotation
- originX: 7; originY: 65
+ origin.x: 7; origin.y: 65
angle: -130
angle: Follow {
spring: 1.4