summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-06-07 01:54:19 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-06-07 04:27:37 (GMT)
commited5f6c87e783960f880d56f58149985366d34615 (patch)
tree1469c0d9878e2b60251bb4fbd577c750be896979 /doc
parent22126ec530d07c7ba80f90812c9d6128b2d4a56f (diff)
downloadQt-ed5f6c87e783960f880d56f58149985366d34615.zip
Qt-ed5f6c87e783960f880d56f58149985366d34615.tar.gz
Qt-ed5f6c87e783960f880d56f58149985366d34615.tar.bz2
Add image example.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/examples.qdoc1
-rw-r--r--doc/src/examples/qml-examples.qdoc9
-rw-r--r--doc/src/images/qml-image-example.pngbin0 -> 58184 bytes
3 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/declarative/examples.qdoc b/doc/src/declarative/examples.qdoc
index 8f39685..cc67664 100644
--- a/doc/src/declarative/examples.qdoc
+++ b/doc/src/declarative/examples.qdoc
@@ -79,6 +79,7 @@ For example, from your build directory, run:
\section2 Image Elements
\list
\o \l{declarative/imageelements/borderimage}{BorderImage}
+\o \l{declarative/imageelements/image}{Image}
\endlist
\section2 Positioners
diff --git a/doc/src/examples/qml-examples.qdoc b/doc/src/examples/qml-examples.qdoc
index 035628e..9dbf853 100644
--- a/doc/src/examples/qml-examples.qdoc
+++ b/doc/src/examples/qml-examples.qdoc
@@ -75,6 +75,15 @@
*/
/*!
+ \title Image Elements: Image
+ \example declarative/imageelements/image
+
+ This example shows how to use the Image element and its \l{Image::fillMode}{fillModes}.
+
+ \image qml-image-example.png
+*/
+
+/*!
\page declarative-cppextensions-reference.html
\title C++ Extensions: Reference examples
diff --git a/doc/src/images/qml-image-example.png b/doc/src/images/qml-image-example.png
new file mode 100644
index 0000000..c1951c0
--- /dev/null
+++ b/doc/src/images/qml-image-example.png
Binary files differ