- 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 c...
-
- 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>
-
- 13 Mar, 2012 - 1 commit
-
-
Casper van Donderen authored
QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I62d203f21df63a95ee236e578b10418fd9680707 Reviewed-by:
Jerome Pasion <jerome.pasion@nokia.com>
-
- 01 Mar, 2012 - 2 commits
-
-
Andrew den Exter authored
Task-number: QTBUG-24521 Change-Id: Idd451d0a8a238a60691386726e34054c0368b658 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Yann Bodson authored
Move less used members to an extra struct lazily allocated Change-Id: I87e464af4b9d29303705dd7e766f734309ed7763 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 29 Feb, 2012 - 2 commits
-
-
Andrew den Exter authored
Painting issues in QtQuick1 meant drawing had to be aligned to pixel boundaries, since this is no longer a problem we should use qreal everywhere. Change-Id: I58e88e10270fa603170f1cedf471bfb53bd89b73 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Check for the existence of new line characters before trying to replace them. There's some redundancy if the characters are found but for single line strings we avoid the detach in replace. Change-Id: I48ccc614601a6f356b3d2e68f617e112c100bbdd Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 24 Feb, 2012 - 1 commit
-
-
Matthew Vogt authored
Symbols beginning with QDeclarative are already exported by the quick1 module. Users can apply the bin/rename-qtdeclarative-symbols.sh script to modify client code using the previous names of the renamed symbols. Task-number: QTBUG-23737 Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 23 Feb, 2012 - 2 commits
-
-
Andrew den Exter authored
Ignore the height of the text if the element height is invalid. Task-number: QTBUG-24293 Change-Id: I1646c3f64583da40e6166aeea24c2c4af42cb279 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Yann Bodson authored
Calculate the font size correctly even when the size is specified in pixels and update this size when the font changes. Also make sure that the text layout's font is set before parsing. Task-number: QTBUG-24458 Change-Id: Ida7723f6e4f4b9fd3a6878076f4beaf5bda8f7f7 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 21 Feb, 2012 - 1 commit
-
-
Andrew den Exter authored
Remove some unnecessary members, store colors as QRgb values instead of QColor, and reorder members to minimise alignment padding. Change-Id: Id3958429008c97a5714734a529250fe881e2161b Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 17 Feb, 2012 - 1 commit
-
-
Andrew den Exter authored
Query the elided text from the initial layout rather than doing a second layout of the line to be elided. Change-Id: I399f99a11046013c0c51add2e2f2dd14b959831a Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 16 Feb, 2012 - 1 commit
-
-
Andrew den Exter authored
Multi-length string eliding was provided by QFontMetrics::elidedText() which is no longer used for layouts. So we instead have to do the string substitution ourselves if the text doesn't fit before finally eliding. Change-Id: Iab2e54b332390290d656299a5be148f39f78df9d Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 14 Feb, 2012 - 1 commit
-
-
Andrew den Exter authored
Change-Id: Ia52956889216d11d7bb10307f09b582b55d0b4cd Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 13 Feb, 2012 - 1 commit
-
-
Yann Bodson authored
This line was lost in a previous merge. Change-Id: If3683fa17630452abab115638c1c0ebf0824e2a1 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- 10 Feb, 2012 - 1 commit
-
-
Pekka Vuorela authored
Similarly deprecate Qt.application.inputPanel and introduce replacement Qt.inputMethod. Change-Id: Ie4fd467f93f75023c86b0a2d038d858fe5001146 Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com> Reviewed-by:
Lars Knoll <lars.knoll@nokia.com> Reviewed-by:
Sami Kananoja <sami.kananoja@nokia.com>
-
- 09 Feb, 2012 - 1 commit
-
-
Andrew den Exter authored
Allows the color of links in text to be changed from the default blue. This currently only works with StyledText and the distance field rendererer. It could be made to work with RichText overwriting the specified foreground color in all instances or by not setting a default color in the html parser. The former would prevent the color being set with CSS or some future means for altering text formats. The latter would break rendering with QPainter. Task-number: QTBUG-23048 Change-Id: I98df215cabe8a089f648fd4a6206622b4318fb8f Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 07 Feb, 2012 - 3 commits
-
-
Andrew den Exter authored
Change-Id: I954195d52330c65e851b7c0fcdb6c8dabf29335d Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
For Text and TextEdit this is a rename of paintedWidth and paintedHeight both of which remain as synonyms of the content properties for compatability. For TextInput this is a new property. Task-number: QTBUG-23691 Task-number: QTBUG-15160 Change-Id: Idbdc72fad34922be21b649ca45fc39b5e533ed1a Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Yann Bodson authored
Task-number: QTBUG-24033 Change-Id: Ifa24482b98536300c2f4c643a86517a019de8a84 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 06 Feb, 2012 - 2 commits
-
-
Eskil Abrahamsen Blomfeldt authored
The setColor() function in QQuickText calls markDirty() which did not specify that the whole paint node should be updated, so color updates would have no effect until something else changed. Change-Id: I93741b6c697f2dd6ad5a315250502a7a6e3ce1d7 Reviewed-by:
Jiang Jiang <jiang.jiang@nokia.com> Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
Andrew den Exter authored
This adds a mode where if the content of a Text item doesn't fit within its bounds the font size is reduced during layout until it does or a minimum font size is reached. Task-number: QTBUG-22832 Change-Id: I6198ef03899e2f21b32e313548966ef4b0e3bff1 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-