diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-02-27 22:36:09 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-02-27 22:36:09 (GMT) |
commit | f3ed538a99adf5dc60305c257feb181d46de3748 (patch) | |
tree | 2546705351d8a9191ed072a4125ff29800f80651 | |
parent | eeea1dd085d4712ce78166bdf8769e4270e2d831 (diff) | |
download | Qt-f3ed538a99adf5dc60305c257feb181d46de3748.zip Qt-f3ed538a99adf5dc60305c257feb181d46de3748.tar.gz Qt-f3ed538a99adf5dc60305c257feb181d46de3748.tar.bz2 |
Document BorderImage::asynchronous
It's been there forever, but someone forgot the documentation.
Task-number: QTBUG-16612
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeborderimage.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeborderimage.cpp b/src/declarative/graphicsitems/qdeclarativeborderimage.cpp index c03c624..91896f2 100644 --- a/src/declarative/graphicsitems/qdeclarativeborderimage.cpp +++ b/src/declarative/graphicsitems/qdeclarativeborderimage.cpp @@ -149,6 +149,20 @@ QT_BEGIN_NAMESPACE \sa Image, AnimatedImage */ +/*! + \qmlproperty bool BorderImage::asynchronous + + Specifies that images on the local filesystem should be loaded + asynchronously in a separate thread. The default value is + false, causing the user interface thread to block while the + image is loaded. Setting \a asynchronous to true is useful where + maintaining a responsive user interface is more desirable + than having images immediately visible. + + Note that this property is only valid for images read from the + local filesystem. Images loaded via a network resource (e.g. HTTP) + are always loaded asynchonously. +*/ QDeclarativeBorderImage::QDeclarativeBorderImage(QDeclarativeItem *parent) : QDeclarativeImageBase(*(new QDeclarativeBorderImagePrivate), parent) { |