summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-05 05:25:39 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-05 05:25:39 (GMT)
commit7520e4fde92efc5621e42c8fe032e41f729f269f (patch)
treeb2d6a3dc10202f4fc75a0e225806091a7f2f3635 /src/declarative
parentbe4ed0f02bf6c46e5d9c915b1d0d2b38c40bdfda (diff)
downloadQt-7520e4fde92efc5621e42c8fe032e41f729f269f.zip
Qt-7520e4fde92efc5621e42c8fe032e41f729f269f.tar.gz
Qt-7520e4fde92efc5621e42c8fe032e41f729f269f.tar.bz2
update doc
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/fx/qfxborderimage.cpp23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/declarative/fx/qfxborderimage.cpp b/src/declarative/fx/qfxborderimage.cpp
index 3bc76da..6616912 100644
--- a/src/declarative/fx/qfxborderimage.cpp
+++ b/src/declarative/fx/qfxborderimage.cpp
@@ -124,19 +124,16 @@ QFxBorderImage::~QFxBorderImage()
BorderImage can handle any image format supported by Qt, loaded from any URL scheme supported by Qt.
It can also handle .sci files, which are a Qml-specific format. A .sci file uses a simple text-based format that specifies
- \list
- \i the grid lines describing a \l {BorderImage::border.left}{scale grid}.
- \i an image file.
- \endlist
-
- The following .sci file sets grid line offsets of 10 on each side for the image \c picture.png:
- \code
- gridLeft: 10
- gridTop: 10
- gridBottom: 10
- gridRight: 10
- imageFile: picture.png
- \endcode
+ the borders, the image file and the tile rules.
+
+ The following .sci file sets the borders to 10 on each side for the image \c picture.png:
+ \qml
+ border.left: 10
+ border.top: 10
+ border.bottom: 10
+ border.right: 10
+ source: picture.png
+ \endqml
The URL may be absolute, or relative to the URL of the component.
*/