summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativepixmapcache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't pass sequential (QNetworkReply) to image reader, it doesn't work well ↵Warwick Allison2010-05-121-1/+5
| | | | | | enough. Work around QTBUG-10622
* Correctly support translation in QDeclarativePixmapCacheWarwick Allison2010-04-161-5/+5
|
* Compile without Qt3 support.Yann Bodson2010-04-151-1/+1
|
* Use qmlInfo for image loading errors, not qWarning().Warwick Allison2010-04-151-11/+23
| | | | Task-number: QTBUG-9908
* Remove QT_VERSION checks in QMLAaron Kennedy2010-04-091-7/+0
| | | | We only support Qt 4.7 now.
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-1/+1
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Make qmlpixmapcache thread shutdown cleanerMartin Jones2010-03-301-12/+6
| | | | | | | | | | | | | | | | | Change to Thiago's method: QThread::quit() is *not* thread-safe, so we mustn't call it from outside the QThread that the QThread holds. Unlike other QObjects, this method and some others must not be called from the thread they have affinity to. So add a hack to call it in the auxiliary thread. Do that by connecting a dummy QObject's destroyed() signal to the quit() slot in a DirectConnection, then move the object to the thread. When we call deleteLater(), this will cause the thread's event loop to delete the object, which in turn calls quit() in the actual thread. Reviewed-by: Thiago Macieira
* Allow just one dimension to be set, the other scaled accordinglyWarwick Allison2010-03-291-3/+11
| | | | Task-number: QTBUG-8984
* Make sure the image reader thread is shutdown properlyMartin Jones2010-03-291-2/+14
| | | | | Prevents deadlock on shutdown for very shortlived runs, e.g. autotests
* Source resizing for QDeclarativeImageProvider too.Warwick Allison2010-03-281-1/+3
| | | | (fixes test too)
* Use QThread IdlePriority rather than linux platform code.Martin Jones2010-03-261-14/+1
| | | | Task-number: QTBUG-9032
* Control of image rendered size (esp. SVG).Warwick Allison2010-03-261-57/+115
| | | | | | | Add Translate transform. Image::sourceWidth and Image::sourceHeight read/write properties. Task-number: QTBUG-8984
* Remove dead performance measurement code from QMLAaron Kennedy2010-03-221-2/+0
|
* URL redirection for normal images.Warwick Allison2010-03-101-6/+35
| | | | Task-number: QTBUG-7515
* Add an "asynchonous" property to Image.Martin Jones2010-02-241-35/+66
| | | | | Allows loading/decoding local images in an asynchronous thread (already the case for network images).
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+611
QDeclarativeXXX.