aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickborderimage.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-07-11 16:29:42 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-16 04:50:48 +0200
commit50ec85e368a15236812776c274cdb10ac2be0ccd (patch)
tree5666c7bba41a2895340f91b4c1a5efcb1a11078e /src/quick/items/qquickborderimage.cpp
parent7ddd5308946f32f4f0514c493a0a0f01c2bdc840 (diff)
Change Quick docs to refer to "types" rather than "elements"
Task-number: QTBUG-24785 Change-Id: I223479b879514abaacb123852323c1cfada7a5e1 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/items/qquickborderimage.cpp')
-rw-r--r--src/quick/items/qquickborderimage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/quick/items/qquickborderimage.cpp b/src/quick/items/qquickborderimage.cpp
index 6c0387f859..53ec729346 100644
--- a/src/quick/items/qquickborderimage.cpp
+++ b/src/quick/items/qquickborderimage.cpp
@@ -56,14 +56,14 @@ QT_BEGIN_NAMESPACE
/*!
\qmlclass BorderImage QQuickBorderImage
\inqmlmodule QtQuick 2
- \brief For specifying an image that can be used as a border
+ \brief Paints a border based on an image
\inherits Item
\ingroup qtquick-visual
- The BorderImage element is used to create borders out of images by scaling or tiling
+ The BorderImage type is used to create borders out of images by scaling or tiling
parts of each image.
- A BorderImage element breaks a source image, specified using the \l url property,
+ A BorderImage breaks a source image, specified using the \l source property,
into 9 regions, as shown below:
\image declarative-scalegrid.png
@@ -95,7 +95,7 @@ QT_BEGIN_NAMESPACE
\image qml-borderimage-normal-image.png
\endfloat
- An unscaled image is displayed using an Image element. The \l border property is
+ An unscaled image is displayed using an Image. The \l border property is
used to determine the parts of the image that will lie inside the unscaled corner
areas and the parts that will be stretched horizontally and vertically.
@@ -106,7 +106,7 @@ QT_BEGIN_NAMESPACE
\image qml-borderimage-scaled.png
\endfloat
- A BorderImage element is used to display the image, and it is given a size that is
+ A BorderImage is used to display the image, and it is given a size that is
larger than the original image. Since the \l horizontalTileMode property is set to
\l{BorderImage::horizontalTileMode}{BorderImage.Stretch}, the parts of image in
regions 2 and 8 are stretched horizontally. Since the \l verticalTileMode property
@@ -120,12 +120,12 @@ QT_BEGIN_NAMESPACE
\image qml-borderimage-tiled.png
\endfloat
- Again, a large BorderImage element is used to display the image. With the
+ Again, a large BorderImage is used to display the image. With the
\l horizontalTileMode property set to \l{BorderImage::horizontalTileMode}{BorderImage.Repeat},
the parts of image in regions 2 and 8 are tiled so that they fill the space at the
- top and bottom of the element. Similarly, the \l verticalTileMode property is set to
+ top and bottom of the item. Similarly, the \l verticalTileMode property is set to
\l{BorderImage::verticalTileMode}{BorderImage.Repeat}, the parts of image in regions
- 4 and 6 are tiled so that they fill the space at the left and right of the element.
+ 4 and 6 are tiled so that they fill the space at the left and right of the item.
\snippet qml/borderimage/borderimage-tiled.qml tiled border image