summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetext_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Make declarative pixmap cache easier to useAaron Kennedy2010-07-051-3/+0
| | | | | | | | | | | | | | | | | 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
* Fix and better test Text / TextEdit alignments.Warwick Allison2010-06-231-0/+2
| | | | | | Various clipping and refresh bugs. Task-number: QTBUG-11492
* Fix TextEdit clipping when not wrapped. Rename most-useful-wrap-mode to "Wrap".Warwick Allison2010-05-261-1/+8
|
* Remove the deprecated wrap property.Martin Jones2010-04-221-3/+0
|
* Simplify dynamic resource loading to avoid cluttering Text API.Warwick Allison2010-04-151-3/+1
| | | | Task-number: QTBUG-9900 QT-3287
* Correctly resolve, and load, IMG tags in Text element.Warwick Allison2010-04-151-0/+7
| | | | | | Task-number: QTBUG-9900 Reviewed-by: Martin Jones
* Enable other wrapping modes.Martin Jones2010-04-091-3/+3
| | | | | | | | WrapAnywhere - Text can be wrapped at any point on a line, even if it occurs in the middle of a word. WrapAtWordBoundaryOrAnywhere - If possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word.
* Replace Text::wrap property with Text::wrapMode enumeration.Martin Jones2010-04-081-2/+13
| | | | wrap remains for a little while, and will produce a warning.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+160
QDeclarativeXXX.