diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-06-07 01:54:19 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-06-07 04:27:37 (GMT) |
commit | ed5f6c87e783960f880d56f58149985366d34615 (patch) | |
tree | 1469c0d9878e2b60251bb4fbd577c750be896979 /doc/src | |
parent | 22126ec530d07c7ba80f90812c9d6128b2d4a56f (diff) | |
download | Qt-ed5f6c87e783960f880d56f58149985366d34615.zip Qt-ed5f6c87e783960f880d56f58149985366d34615.tar.gz Qt-ed5f6c87e783960f880d56f58149985366d34615.tar.bz2 |
Add image example.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/examples.qdoc | 1 | ||||
-rw-r--r-- | doc/src/examples/qml-examples.qdoc | 9 | ||||
-rw-r--r-- | doc/src/images/qml-image-example.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..c1951c0 --- /dev/null +++ b/doc/src/images/qml-image-example.png |