- 24 Apr, 2013 - 1 commit
-
-
Sze Howe Koh authored
Link to internal QDoc pages, or to qt-project.org Change-Id: I5d9adae711213873ab57ccfc5bb2d8f74cf5689b Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- 02 Apr, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I6d3f3e7e4813155f2abb3edc51b145fb709c485b Reviewed-by:
Morten Johan Sørvig <morten.sorvig@digia.com>
-
- 24 Jan, 2013 - 2 commits
-
-
Eskil Abrahamsen Blomfeldt authored
In change e1d6b323 there's an optimization which disables layouts on the QTextDocument, but the layout has to be re-enabled before we can call idealWidth() since this will be zero as long as the page size is 0x0. We simply set the page size to undefined again before calling idealWidth. Task-number: QTBUG-29262 Change-Id: I6bebe7be4c99fce0de8fc4178b5e1abc81abbe87 Reviewed-by:
Michael Brasser <michael.brasser@live.com> Reviewed-by:
aavit <eirik.aavitsland@digia.com>
-
Eskil Abrahamsen Blomfeldt authored
If the text width set is higher than the ideal width, there's no risk of wrapping, and thus we align the text based on the full width of the Text element. This matches the behavior in Qt Quick 1.1. Task-number: QTBUG-29262 Change-Id: Ib191e3dd9d17e3bea63ca7825708f53768960e26 Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- 10 Jan, 2013 - 1 commit
-
-
Sergio Ahumada authored
Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by:
Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com>
-
- 26 Nov, 2012 - 1 commit
-
-
Tasuku Suzuki authored
Change-Id: I90f8ec7e6357db7b4038bb1646fe9d3835821556 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Alan Alpert (RIM) <aalpert@rim.com>
-
- 22 Nov, 2012 - 1 commit
-
-
Samuel Rødal authored
Even though using RichText is not recommended, we should still at least point out what it does. Change-Id: I96d0e1e7074b5fdbb3a5dcaf84e5afe805c92080 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 23 Sep, 2012 - 1 commit
-
-
Iikka Eklund authored
Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 09 Aug, 2012 - 1 commit
-
-
Bea Lam authored
Adds some missing docs and fixes some incorrect doc references. Also removes AnimatedImage docs that were exactly the same as those in base Image type docs. Change-Id: I1357d3c00e63f1b08683bb78246de93dcc0dac7f Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 31 Jul, 2012 - 1 commit
-
-
Andrew den Exter authored
Fixes markup being displayed when switching from a multilength string to styled text and formatting of elided text when switching from elided styled text to elided plain text. Change-Id: Id1e1834d81cb6142d92433a8bc571e05d226b7b3 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 30 Jul, 2012 - 1 commit
-
-
Jerome Pasion authored
-To simplify QDoc, \qmlclass is now \qmltype. -'\instantiates <C+++ class>' is for the types that are defined in C++. Change-Id: I29242d33daf7b972d8b86a356b9689638866b950 Reviewed-by:
Laszlo Papp <lpapp@kde.org> Reviewed-by:
Bea Lam <bea.lam@nokia.com> Reviewed-by:
Martin Smith <martin.smith@nokia.com>
-
- 17 Jul, 2012 - 1 commit
-
-
Michael Brasser authored
Change-Id: Ide30946e83c8c26d075b9ca3bb1f9e20afd69373 Reviewed-by:
Glenn Watson <glenn.watson@nokia.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> Reviewed-by:
Yoann Lopes <yoann.lopes@nokia.com>
-
- 16 Jul, 2012 - 2 commits
-
-
Martin Jones authored
Task-number: QTBUG-24785 Change-Id: I223479b879514abaacb123852323c1cfada7a5e1 Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
Yann Bodson authored
We don't need to relayout in painting thread. Task-number: QTBUG-26361 Change-Id: Idfad1b90e2772e72411df821d02ea596a094f508 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 10 Jul, 2012 - 2 commits
-
-
Eskil Abrahamsen Blomfeldt authored
For old-style (desktop components) apps using QML 2 on regular density displays, distance field text will look out of place. We introduce an option to use the native rasterizer instead if you would rather have native look and feel than scalable text items. Change-Id: Idb38e3c89f2deab9ae1963357c6c5fb235ddeab8 Reviewed-by:
Jiang Jiang <jiang.jiang@nokia.com>
-
Friedemann Kleint authored
Change-Id: I0c9a7c4bf52e5a1a81d5ac85fc594ad197e3b811 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 09 Jul, 2012 - 1 commit
-
-
Andrew den Exter authored
Setting the page size to empty can short cut some unnecessary layouts triggered by QTextDocument/QTextDocumentLayout prior to the Text item requiring a layout. This rougly halves the construction time a Text item with RichText. Task-number: QTBUG-19728 Change-Id: I03e6d293d8e5ac40046aef41171ca5009b718546 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 08 Jul, 2012 - 1 commit
-
-
Andrew den Exter authored
Improve checks for geometry changes that don't affect layout, i.e width increasing when the previous layout didn't wrap or elide. Set implicit sizes just once during layout rather than setting the implicit width during and the implicit height after to limit the when an implicit size change can change geometry. And if there are multiple layouts of the same text/font combination re-use cached layout data as much as possible by guarding against unnecessary property changes on the layout, and not creating a new layout for calculating the implicit size of truncated text. Change-Id: Ia05e52e9170e1f5d3364896ab119e00d8a318299 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- 25 Jun, 2012 - 1 commit
-
-
Andrew den Exter authored
Adjust the mouse position to compensate for any alignment offsets and test the elided text layout for anchors if none is found in the normal layout. Change-Id: Idfda3f7e372d0f2d6c1b7bb5f22d7015d52e8239 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 21 Jun, 2012 - 1 commit
-
-
Chris Adams authored
The documentation currently has no clear separation between Qt QML and Qt Quick. With recent commits like: 6c8378ea and ab1e5101 the separation between the language definition and implementation, provided by Qt QML, and the standard library for the QML language, provided by Qt Quick, is clear. This commit creates a new documentation structure that is more navigable and separates concepts into logical categories, with clear separation between QtQML and QtQuick. It also provides a more generic QML Application Developer Resources page which contains links to information for QML application developers. Change-Id: Ia807ccfbfd24ffa0e1c7f0a51ed9d2ed3aa6a733 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 10 Jun, 2012 - 1 commit
-
-
Kent Hansen authored
Specify the signal as a member function suitable for passing to QMetaMethod::fromSignal(), and use the new function QMetaObjectPrivate::signalIndex(QMetaMethod) to get the index in the signal range. Change-Id: If16daa24c2699f7749a17decb611cf395d89d0c4 Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
- 07 Jun, 2012 - 1 commit
-
-
Glenn Watson authored
The text element was using the implicit constructor to convert QRgb -> QColor which ignores alpha. Use the explicit conversion. Change-Id: I7975ffeab8b423716b9655776f38b0ca2f282cd0 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 06 Jun, 2012 - 1 commit
-
-
Jerome Pasion authored
-created new groups and converted some overviews into group pages -edited type documentation and added \ingroup -articles still need title fixes and link fixes Groups: qtquick-visual-types qtquick-item-graphics qtquick-shaders qtquick-canvas qtquick-text qtquick-text-validator qtquick-interaction qtquick-positioners qtquick-transformations qtquick-states qtquick-animation-define qtquick-animation-properties qtquick-animation-control qtquick-animation-modifiers qtquick-images-sprites qtquick-images qtquick-models qtquick-containers qtquick-views qtquick-paths qtquick-utility Task: QTBUG-25685 Change-Id: I81d4df3320bf5daad5cabb5e42408013fb24f464 Reviewed-by:
Bea Lam <bea.lam@nokia.com> Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- 05 Jun, 2012 - 1 commit
-
-
Yann Bodson authored
Change-Id: I66e47682eba337562543a99eb576a7e24d00cdcf Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 31 May, 2012 - 1 commit
-
-
Bea Lam authored
qtqml.qdocconf and qtquick.qdocconf now refer to the correct snippets and source directories. Snippet paths in .qdoc and .cpp files have been updated to refer to the new shortened path references, e.g. \snippet qml/file.cpp instead of \snippet doc/src/snippets/qml/file.cpp. This also deletes snippets from src/qml/doc/snippets that belonged under src/quick/doc/snippets (and were already duplicated there anyway) and restores some snippet files that shouldn't have been deleted. Also fixes some inline snippets to use \code .. \endcode instead of \qml .. \endqml as they contained javascript or partial QML snippets that were causing parsing errors from qdoc. There are still snippet errors arising from qmlintro.qdoc as the qmlintro snippets directory that it refers to cannot be located. There are also two references to a removed snippet identifier in examples/qml/cppextensions/plugins/plugin.cpp that need to be fixed in conjunction with the related docs in a later commit as the relevant code has changed and the docs are now invalid. Task-number: QTBUG-25721 Change-Id: I50c665245a74c140470c58a32546591d187dfe4b Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
- 24 May, 2012 - 2 commits
-
-
Nico Vertriest authored
-modified \brief -checked QML modules -added qml directory to the qdocconf file -added particles directory to the qdocconf file Change-Id: I589e32d3106cda37c7fa4d55a941afd9876fc2b2 Reviewed-by:
Geir Vattekar <geir.vattekar@nokia.com>
-
Aaron Kennedy authored
For internal QML built types, creating a metaobject each time is just wasteful. Additionally, as the property caches were always created from the intermediate QMetaObject, it was difficult to pass information directly from the compiler to the property cache. Change-Id: I769526b0edaaf16a86883f3065b75618b94e4077 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 08 May, 2012 - 1 commit
-
-
Geir Vattekar authored
-moved documentation from doc/src/qtquick2 doc/src/localstorage doc/src/particles to src/quick/doc/ -fixed qdocconf file -fixed snippets, images, and other qdoc errors related to the new directories -fixed links in the main Qt Quick page Change-Id: Ie3408c2624f623c17de07e5635d5c7284d02b973 Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- 03 May, 2012 - 1 commit
-
-
Yann Bodson authored
If the horizontal alignment is not left and the width of the text is not known during the first pass, we need to relayout once we know the maximum line width. Task-number: QTBUG-18617 Change-Id: I0cad100946beda151034067e23439185684de144 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 27 Apr, 2012 - 1 commit
-
-
Andrew den Exter authored
Ensure the rectangles are correctly positioned with right and center aligned text, not just sized correctly. Also add padding to the clip rects so the cursor and styled text aren't clipped at the item boundaries. Change-Id: I03ef140589154ebd49b600b0a4c4fbeff845c10f Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 23 Apr, 2012 - 1 commit
-
-
Michael Brasser authored
This is required for the QQmlBoundSignal optimizations. Change-Id: I63540b96cd7d4523ec49973a2540054c83d82b12 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
- 20 Apr, 2012 - 2 commits
-
-
Andrew den Exter authored
Relic from a prospective change to defer layout of text in more circumstances. Change-Id: I75d14e8cb01b86ab36ddbf58da99ba1cde14d801 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
After emitting implicit size changed signals, reevaluate any conditions that were dependent on the validity of the item dimensions. Change-Id: Ie4ee0c87a22cf82752c207c69d426056c36ede67 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 19 Apr, 2012 - 1 commit
-
-
Andrew den Exter authored
Instead of positioning truncated lines far out of the way where they won't be seen, simply skip them when creating the glyph node. Change-Id: I83bd8f76619d822fb22ec2ebd8c1e45c45b8b990 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 17 Apr, 2012 - 1 commit
-
-
Andrew den Exter authored
Remember to call beginLayout() on the QTextLayout before creating lines or the layout data won't be allocated. Change-Id: Ic344ca376fc25e38c50078135deb02dee3afc4f1 Reviewed-by:
Chris Adams <christopher.adams@nokia.com> Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 16 Apr, 2012 - 1 commit
-
-
Andrew den Exter authored
Update the baselineOffset when short cutting layout due to an empty text property. And allow alterations to the baseline due to images, font scaling and custom layouts when doing a layout. Task-number: QTBUG-24303 Change-Id: I5a31a6108cded490fef8b0674e15558ea4e22d6b Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- 03 Apr, 2012 - 1 commit
-
-
Frederik Gladhorn authored
This adds more confusion and fails more often due to invisible items and overlays that it helps. The test saw lots of "children" before that were text elements, these are gone now. With this the hack to make children based on item role invisible can go away. Change-Id: Ic5a3bba6e271747237e0e85168f4290bf596bc8a Reviewed-by:
Jan-Arve Sæther <jan-arve.saether@nokia.com>
-
- 30 Mar, 2012 - 1 commit
-
-
Friedemann Kleint authored
- QString from ASCII conversions - Unused variables - Pointer mismatches Change-Id: I5f76dce4f2ba481c2c2bce8681cf8107bd629566 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- 26 Mar, 2012 - 1 commit
-
-
Yann Bodson authored
Task-number: QTBUG-21473 Change-Id: I3542d7fb49ec1ea370709c799167ec01cf5ed19c Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 22 Mar, 2012 - 1 commit
-
-
Andrew den Exter authored
Update the implicitWidth of the item before continuing with the layout rather than after it's completed this gives any bindings dependent on the implicitWidth the opportunity to update the width before the layout continues. Task-number: QTBUG-22680 Task-number: QTBUG-24251 Change-Id: I61cd96ad9891b22d8b83937ad2c06719f88976b6 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-