summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativepixmapcache_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename Image::cached to 'cached' (and QDeclarativePixmap::Cached also)Bea Lam2011-01-191-1/+1
| | | | | | | | This is to keep consistent property naming consistent. E.g. Image has 'smooth', 'mirror' properties rather than 'smoothed', 'mirrored'. For consistency QDeclarativePixmap::Cached was renamed as well. Reviewed-by: Martin Jones
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-191-1/+1
|\
| * Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Add 'cached' property to Image elementYann Bodson2010-11-121-2/+10
|/ | | | | | | | Setting cached to false is useful when dealing with large images, to make sure that they aren't cached at the expense of small 'ui element' images. Task-number: QTBUG-7300 Reviewed-by: Aaron Kennedy
* Fix warningsThomas Zander2010-09-161-1/+1
|
* Export QDeclarativePixmapMartin Jones2010-07-061-1/+1
| | | | But its still a private class.
* Make declarative pixmap cache easier to useAaron Kennedy2010-07-051-42/+43
| | | | | | | | | | | | | | | | | The QDeclarativePixmapCache was both slow, and very trickey to use correctly. Many QML elements did not correctly cancel outstanding requests, which leads to pixmaps leaking indefinately. Other elements, such as Text, were subject to race conditions that meant they may never actually load all their images. QDeclarativePixmap is a single class than encapsulates the action of fetching a pixmap, as well as the pixmap itself and the responsibility of canceling outstanding requests. Rather than relying on Qt's pixmap cache that doesn't cache all the information QML needs, QDeclarativePixmap implements its own cache, that correctly degrades over time (unlike QPixmapCache that can stop expiring items in some conditions). Reviewed-by: Warwick Allison
* Correctly support translation in QDeclarativePixmapCacheWarwick Allison2010-04-161-0/+2
|
* Use qmlInfo for image loading errors, not qWarning().Warwick Allison2010-04-151-1/+2
| | | | Task-number: QTBUG-9908
* Simple case, no size returned.Warwick Allison2010-03-261-1/+1
| | | | Fixes Particles plugin.
* Control of image rendered size (esp. SVG).Warwick Allison2010-03-261-3/+6
| | | | | | | Add Translate transform. Image::sourceWidth and Image::sourceHeight read/write properties. Task-number: QTBUG-8984
* Add an "asynchonous" property to Image.Martin Jones2010-02-241-1/+1
| | | | | 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/+107
QDeclarativeXXX.