diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-26 04:39:34 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-26 04:39:34 (GMT) |
commit | d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7 (patch) | |
tree | 547893fcb58983a4137219f0dc8e0e2a49894ef2 /examples/declarative/snow | |
parent | acf19f045ef7d6587c1f21f3270b62c16490cd27 (diff) | |
download | Qt-d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7.zip Qt-d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7.tar.gz Qt-d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7.tar.bz2 |
use enums rather than strings in examples
Diffstat (limited to 'examples/declarative/snow')
-rw-r--r-- | examples/declarative/snow/ImageBatch.qml | 2 | ||||
-rw-r--r-- | examples/declarative/snow/Loading.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml index 3945087..dfe2a46 100644 --- a/examples/declarative/snow/ImageBatch.qml +++ b/examples/declarative/snow/ImageBatch.qml @@ -38,7 +38,7 @@ GridView { delegate: Item { id: root property bool isSelected: GridView.isCurrentItem && grid.isSelected - transformOrigin: "Center" + transformOrigin: Item.Center width: grid.imageWidth; height: grid.imageHeight; Image { id: flickrImage; source: url; fillMode: "PreserveAspectFit"; smooth: true; anchors.fill: parent; diff --git a/examples/declarative/snow/Loading.qml b/examples/declarative/snow/Loading.qml index 054656a..238d9c7 100644 --- a/examples/declarative/snow/Loading.qml +++ b/examples/declarative/snow/Loading.qml @@ -1,7 +1,7 @@ import Qt 4.6 Image { - id: loading; source: "pics/loading.png"; transformOrigin: "Center" + id: loading; source: "pics/loading.png"; transformOrigin: Item.Center rotation: NumberAnimation { id: rotationAnimation; from: 0; to: 360; running: loading.visible == true; repeat: true; duration: 900 } |