aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgtextnode_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Make QSGTextNode back-end for QML's TextInput and TextEditEskil Abrahamsen Blomfeldt2011-08-191-15/+23
| | | | | | | | | | | | | | | | Use the general QSGTextNode class as back-end for all text elements in QML to make all text elements look the same and use the same text rasterization back-end. This requires a few rewrites in the text node to support e.g. selections. Crashes seen with threaded renderer in TextEdit and TextInput on Mac are also fixed by this. Reviewed-by: Jiang Jiang Task-number: QTBUG-18019, QTBUG-20017 Change-Id: I4207faf180c83422e5f8b726741321af395bd724 Reviewed-on: http://codereview.qt.nokia.com/2865 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
* Update licenseheader text in source files for qtdeclarative Qt moduleJyri Tahtela2011-07-081-17/+17
| | | | | | | | Replace old license header with correct one. Change-Id: I492ddaaa0227b2c8faf11bdcd6e12e7231a54a10 Reviewed-on: http://codereview.qt.nokia.com/1312 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Clean up addTextDecorations codeJiang Jiang2011-06-291-2/+9
| | | | | | | | | Try avoid using QRawFont::fromFont since it requires shaping on Mac. Change-Id: I90cc177662ecf6d0a95e722cdd0b06a01e5d0eaa Reviewed-on: http://codereview.qt.nokia.com/793 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
* Merge multiple lines of text into a single geometry nodeGunnar Sletta2011-06-231-1/+2
| | | | | | | | | Long term, we might want to have this kind of logic in the QSGGeometry class through a grow() function or in the QSGRenderer, but we only have this one usecase where it actually makes sense right now, so I'm keeping it local. Change-Id: Ibbb0dd4a6e4b587154e26ffc2a34375fbb4a571d
* Revert "Make QSGTextNode back-end for QML's TextInput"Martin Jones2011-05-271-14/+1
| | | | This reverts commit e430f1336881850a73a54a291e0276160d568212.
* Make QSGTextNode back-end for QML's TextInputEskil Abrahamsen Blomfeldt2011-05-231-1/+14
| | | | | | | To get the benefit of different glyph node backends, the TextInput item has now been moved over on SceneGraph's TextNode instead of QPainter, and selections and decorations are painted using QSGSimpleRects.
* Update to work with QGlyphs -> QGlyphRun renamingEskil Abrahamsen Blomfeldt2011-05-101-1/+1
| | | | | Just some search replace to make the repository compile after QGlyphs and related APIs were renamed.
* Initial import from qtquick2.Qt by Nokia2011-04-271-0/+84
Branched from the monolithic repo, Qt qtquick2 branch, at commit a4a585d2ee907746682846ae6e8a48e19deef469