diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-02-28 13:20:56 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-01 05:43:07 +0100 |
commit | beecd8388bc5f3f95c221027318642429f1902cb (patch) | |
tree | 51867343b19f2b0d89bd188e526c1d23170c32bf /examples/qtquick/imageelements/imageelements.qml | |
parent | e3a43b3ca3b1e2d6fd92945d6d7f42aed8203abc (diff) |
Update ImageElement examples
Now more consistently formed. Required a UI redesign for border image,
you now view one at a time, with a selector control.
Change-Id: Idf64119b644c1a79779ea0a46412247d6d013cb1
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'examples/qtquick/imageelements/imageelements.qml')
-rw-r--r-- | examples/qtquick/imageelements/imageelements.qml | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/examples/qtquick/imageelements/imageelements.qml b/examples/qtquick/imageelements/imageelements.qml index f4075ec4c3..bb23ef6979 100644 --- a/examples/qtquick/imageelements/imageelements.qml +++ b/examples/qtquick/imageelements/imageelements.qml @@ -41,9 +41,28 @@ import QtQuick 2.0 import "../../shared" +/*! + \title QML Examples - Image Elements + \example declarative/imageelements + \brief This is a collection of QML examples + \image qml-imageelements-example.png + + This is a collection of small QML examples relating to image elements. + + BorderImage shows off the various scaling modes of the BorderImage item. + + Image shows off the various tiling modes of the Image item. + + Shadows shows how to create a drop shadow for a rectangle using a BorderImage. + + AnimatedSprite shows a simple use for the AnimatedSprite element. + + SpriteSequence demonstrates using the SpriteSequence element to draw an animated and slightly interactive bear. +*/ + Item { height: 480 - width: 640 + width: 320 LauncherList { id: ll anchors.fill: parent @@ -51,8 +70,8 @@ Item { addExample("BorderImage", "An image with scaled borders", Qt.resolvedUrl("borderimage.qml")); addExample("Image", "A showcase of the options available to Image", Qt.resolvedUrl("image.qml")); addExample("Shadows", "Rectangles with a drop-shadow effect", Qt.resolvedUrl("shadows.qml")); - addExample("Simple Sprite", "A simple sprite-based animation", Qt.resolvedUrl("simplesprite.qml")); - addExample("Sprite Image", "A sprite-based animation with complex transitions", Qt.resolvedUrl("spriteimage.qml")); + addExample("AnimatedSprite", "A simple sprite-based animation", Qt.resolvedUrl("animatedsprite.qml")); + addExample("SpriteSequence", "A sprite-based animation with complex transitions", Qt.resolvedUrl("spritesequence.qml")); } } } |