summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeimagebase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Image.sourceSize is incorrect after changing Image.sourceYann Bodson2010-10-081-6/+7
| | | | Task-number: QTBUG-14303
* Remove some unnecessary includes in cpp filesAaron Kennedy2010-10-081-2/+0
|
* Changing the Image 'source' should not go through the 'Loading' state if the ↵Yann Bodson2010-09-101-10/+13
| | | | | | | image is cached. Task-number: QTBUG-13454 Reviewed-by: Martin Jones
* Do not reset sourceSize when changing image source url.Yann Bodson2010-09-061-3/+0
| | | | Task-number: QTBUG-13383
* Ensure all image state is updated before emitting changed signals.Martin Jones2010-09-061-5/+6
| | | | | | | | statusChanged() was emitted before the size was set, so if you did, e.g. if (width != 0) in onStatusChanged it would get the wrong width. Task-number: QT-3820 Reviewed-by: Yann Bodson
* Remove pointless \internal docs (that contain no information)Aaron Kennedy2010-08-271-7/+0
|
* Setting one dimension of the sourceSize should set the other dimension.Yann Bodson2010-08-251-31/+17
| | | | | | The implicit width and height should also be set to the sourceSize. Task-number: 13002
* qdoc: Fixed reporting of read-only status for QML properties.Martin Smith2010-07-221-0/+7
| | | | Task-number: QTBUG-11512
* Make declarative pixmap cache easier to useAaron Kennedy2010-07-051-42/+23
| | | | | | | | | | | | | | | | | 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
* Use qmlInfo for image loading errors, not qWarning().Warwick Allison2010-04-151-2/+8
| | | | Task-number: QTBUG-9908
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-2/+2
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* tyopWarwick Allison2010-03-281-1/+1
|
* sourceWidth/sourceHeight -> sourceSizeWarwick Allison2010-03-261-28/+10
|
* Control of image rendered size (esp. SVG).Warwick Allison2010-03-261-7/+51
| | | | | | | Add Translate transform. Image::sourceWidth and Image::sourceHeight read/write properties. Task-number: QTBUG-8984
* Move pixmapChanged signal to QDeclarativeImageYann Bodson2010-03-091-6/+5
| | | | Task-number: QTBUG-6334
* Optimize Rectangle, Image, and Text creation.Michael Brasser2010-03-081-4/+8
|
* Add an "asynchonous" property to Image.Martin Jones2010-02-241-6/+36
| | | | | 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/+191
QDeclarativeXXX.