diff options
author | Christopher Ham <christopher.ham@nokia.com> | 2010-12-12 23:34:04 (GMT) |
---|---|---|
committer | Christopher Ham <christopher.ham@nokia.com> | 2010-12-12 23:34:04 (GMT) |
commit | 3006bdd1eab665d3a0e666975246d2fb20b578af (patch) | |
tree | 6a96fa001664ea9ca869185849494525e72d4e85 | |
parent | 6541562252cecd102788257022d3cf159954cae8 (diff) | |
download | Qt-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
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeborderimage.cpp | 10 |
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); |