summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fixed the syntax of QML code snippets.David Boddie2011-01-241-7/+28
|
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Repaint when text color changesAlan Alpert2010-11-261-5/+6
| | | | | Task-number: QTBUG-15623 Reviewed-by: Yann Bodson
* Fix Text::elide docs.Bea Lam2010-11-091-1/+1
| | | | Reviewed-by: Michael Brasser
* Text alignment is broken with multi-line text and implicit size.Yann Bodson2010-11-081-12/+46
| | | | | | Also add some visual tests for multi-line text elememts. Task-number: QTBUG-15018
* Regression: QDeclarativeText does not update when text turns emptyYann Bodson2010-11-031-0/+1
| | | | | Task-number: QTBUG-14865 Reviewed-by: Michael Brasser
* Regression: Text element breaks when using \n for separating linesYann Bodson2010-11-021-12/+12
| | | | | Task-number: QTBUG-14915 Reviewed-by: Michael Brasser
* Regression: horizontal alignment bug with single line textYann Bodson2010-10-291-3/+3
| | | | Task-number: QTBUG-14841
* Update when text changes to ""Alan Alpert2010-10-291-1/+2
| | | | | | Also fixes a doc typo. Includes test. Task-number: QTBUG-14469
* Remove unnecessary layouting code from QDeclarativeTextYann Bodson2010-10-281-43/+8
| | | | | Task-number: QTBUG-14795 Reviewed-by: Michael Brasser
* Actually call update in the Text ElementAlan Alpert2010-10-151-0/+1
| | | | | Task-number: QTBUG-14469 Reviewed-by: Aaron Kennedy
* Recalculate Text Element's alignment when width changesAlan Alpert2010-10-151-3/+4
| | | | | Task-number: QTBUG-14463 Reviewed-by: Aaron Kennedy
* Fix alignment bugs in Text elementAaron Kennedy2010-10-131-456/+501
| | | | Task-number: QTBUG-14374
* Disable Text {} image caching by defaultAaron Kennedy2010-10-081-2/+2
| | | | Task-number: QTBUG-14050
* Fix clipping behavior for non-cached text.Michael Brasser2010-10-041-1/+1
|
* Apply the QStaticText text-caching strategy for QMLAaron Kennedy2010-10-011-12/+24
| | | | | | | | | | | | QML cannot use QStaticText directly as it doesn't support caching a QTextLayout. QDeclarativeTextLayout is basically a copy of QStaticText that adds this support. Currently this feature is disabled by default (enable with QML_DISABLE_IMAGE_CACHE=1) while we double check the perf consequences of this change. Task-number: QTBUG-14050
* Merge branch '4.7-upstream' into 4.7-docA-Team2010-09-091-10/+8
|\
| * Don't cause repaints during painting in Text elementMartin Jones2010-09-081-9/+7
| | | | | | | | | | | | | | | | | | | | Calling prepareGeometryChange in a paint event is a bad idea and was causing jerky scrolling. There is no longer any need for the removed code since we don't use imgCache.size() to determine boundingRect() anymore. Task-number: QTBUG-13453 Reviewed-by: Joona Petrell
| * Doc: Added types to method and signal documentation; other fixes.David Boddie2010-09-011-1/+1
| |
* | Clarified iterator semantic in documentation and added a code snippet to a ↵Jerome Pasion2010-08-311-0/+10
|/ | | | | | | QML signal handler. Reviewed by: David Boddie Tasks:QTBUG-13243, QTBUG-11779
* Remove pointless \internal docs (that contain no information)Aaron Kennedy2010-08-271-26/+0
|
* Alignment of shadow for rich text is broken when using text stylesYann Bodson2010-08-251-3/+3
| | | | Task-number: QTBUG-13142
* Fix few declarative code issues discovered by static code analysisJoona Petrell2010-08-241-1/+1
| | | | | Task-number: Reviewed-by: Aaron Kennedy
* qdoc: Reorganized the QML elements table to be a dictionary...Martin Smith2010-08-161-1/+2
| | | | ...and a set of functional group pages.
* Bounding rect of text was not always calculated correctly.Martin Jones2010-07-211-53/+27
| | | | | | | | The boundingRect depended upon the image cache which may not become valid until after boundingRect is called. Task-number: QTBUG-12291 Reviewed-by: Michael Brasser
* font.letterSpacing used percentage rather than absolute values.Martin Jones2010-07-211-2/+1
| | | | | | | ... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison
* Ensure the boundingRect() of Text is correctly calculated.Michael Brasser2010-07-201-0/+2
| | | | | | | We need to create our cached image in boundingRect() if it doesn't already exist, to prevents painting errors. Reviewed-by: Warwick Allison
* Improve QML text rendering when LCD smoothing is enabled for OS X.Michael Brasser2010-07-191-0/+16
| | | | | | | | | | | | | Text in QML is always painted into a pixmap, and with sub-pixel antialiasing enabled this produced incorrect results. This patch is a temporary fix until QTBUG-12252 and/or QTBUG-7747 can be properly addressed in a patch release. In the worst case, if using QML and QPainters are being constructed in a non-GUI thread, this patch could potentially turn off sub-pixel antialiasing for them. Task-number: QTBUG-11002 Reviewed-by: Aaron Kennedy Reviewed-by: Eskil Abrahamsen Blomfeldt
* Text element does not clip even with clip=trueYann Bodson2010-07-151-7/+13
| | | | | Task: QTBUG-12201 Reviewed-by: Michael Brasser
* QDeclarativeText optimization.Michael Brasser2010-07-071-1/+3
| | | | | | updateSize() shouldn't trigger another updateSize(). Reviewed-by: Martin Jones
* Make Text, TextInput, and TextEdit all have the same size for the same text.Warwick Allison2010-07-071-0/+2
| | | | | | | | | | | | This may mean that the cursor is to the right of the width, so components should cater for that with a margin if they are boxed / clipped. TextInput used to try to account for right bearing (and left bearing incorrectly since it added it on the right). This is removed. Potentially this means that for some fonts the text repaints incorrectly on the left or right, but if that is the case Text and TextEdit already had such a problem (undetected), and all will need fixing. Task-number: QTBUG-11983
* Make declarative pixmap cache easier to useAaron Kennedy2010-07-051-63/+85
| | | | | | | | | | | | | | | | | 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
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-301-0/+2
|\
| * Docs - add more links to relevant examplesBea Lam2010-06-301-0/+2
| | | | | | | | Task-number: QTBUG-11754
* | Remove the old font.outline documentationMartin Jones2010-06-301-6/+2
|/ | | | | | | Text.style is the correct property, and this has never been available in TextInput or TextEdit. Task-number: QTBUG-11828
* Fix and better test Text / TextEdit alignments.Warwick Allison2010-06-231-50/+92
| | | | | | Various clipping and refresh bugs. Task-number: QTBUG-11492
* Minor doc fixesBea Lam2010-06-111-1/+1
|
* Doc improvements, including snippet fixes, linking to examples, makingBea Lam2010-06-111-10/+6
| | | | docs more consistent
* Add 'on' prefix to documentation of signalsBea Lam2010-06-101-1/+1
|
* Text should update when the alignment changes.Michael Brasser2010-06-021-0/+2
|
* Doc fixes and improvements - fix some example code, link toBea Lam2010-06-021-0/+2
| | | | examples from class docs and improve assorted docs
* Fix QT_NO_TEXTHTMLPARSERTasuku Suzuki2010-05-311-0/+16
| | | | | Merge-request: 644 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* Fix TextEdit clipping when not wrapped. Rename most-useful-wrap-mode to "Wrap".Warwick Allison2010-05-261-7/+30
|
* docWarwick Allison2010-05-051-34/+39
| | | | Task-number: QTBUG-10386
* Remove obsolete doc groupings.Michael Brasser2010-05-041-1/+0
|
* Doc fixesBea Lam2010-04-281-11/+19
|
* Ensure text document is created before we access it.Martin Jones2010-04-271-0/+1
|
* Remove the deprecated wrap property.Martin Jones2010-04-221-12/+0
|
* Simplify dynamic resource loading to avoid cluttering Text API.Warwick Allison2010-04-151-9/+4
| | | | Task-number: QTBUG-9900 QT-3287
* Use qmlInfo for image loading errors, not qWarning().Warwick Allison2010-04-151-2/+12
| | | | Task-number: QTBUG-9908