summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorChristopher Ham <christopher.ham@nokia.com>2010-12-12 23:34:04 (GMT)
committerChristopher Ham <christopher.ham@nokia.com>2010-12-12 23:34:04 (GMT)
commit3006bdd1eab665d3a0e666975246d2fb20b578af (patch)
tree6a96fa001664ea9ca869185849494525e72d4e85 /src/declarative
parent6541562252cecd102788257022d3cf159954cae8 (diff)
downloadQt-3006bdd1eab665d3a0e666975246d2fb20b578af.zip
Qt-3006bdd1eab665d3a0e666975246d2fb20b578af.tar.gz
Qt-3006bdd1eab665d3a0e666975246d2fb20b578af.tar.bz2
Adding documentation for borderImage
Documentation describing the read-only behaviour of property sourceSize Task-number: QTBUG-15703 Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeborderimage.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeborderimage.cpp b/src/declarative/graphicsitems/qdeclarativeborderimage.cpp
index d9ba2bd..63b2b9a 100644
--- a/src/declarative/graphicsitems/qdeclarativeborderimage.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeborderimage.cpp
@@ -236,6 +236,16 @@ QDeclarativeBorderImage::~QDeclarativeBorderImage()
\sa QDeclarativeImageProvider
*/
+
+/*!
+ \qmlproperty QSize BorderImage::sourceSize
+
+ This property holds the actual width and height of the loaded image.
+
+ In BorderImage, this property is read-only.
+
+ \sa Image::sourceSize
+*/
void QDeclarativeBorderImage::setSource(const QUrl &url)
{
Q_D(QDeclarativeBorderImage);