- Mar 26, 2012
-
-
Yann Bodson authored
Task-number: QTBUG-21473 Change-Id: I3542d7fb49ec1ea370709c799167ec01cf5ed19c Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- Mar 22, 2012
-
-
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>
-
- Mar 13, 2012
-
-
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>
-
- Mar 01, 2012
-
-
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>
-
- Feb 29, 2012
-
-
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>
-
- Feb 24, 2012
-
-
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>
-
- Feb 23, 2012
-
-
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>
-
- Feb 21, 2012
-
-
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>
-
- Feb 17, 2012
-
-
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>
-
- Feb 16, 2012
-
-
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>
-
- Feb 14, 2012
-
-
Andrew den Exter authored
Change-Id: Ia52956889216d11d7bb10307f09b582b55d0b4cd Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Feb 13, 2012
-
-
Yann Bodson authored
This line was lost in a previous merge. Change-Id: If3683fa17630452abab115638c1c0ebf0824e2a1 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- Feb 10, 2012
-
-
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>
-
- Feb 09, 2012
-
-
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>
-
- Feb 07, 2012
-
-
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>
-
- Feb 06, 2012
-
-
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>
-
Yann Bodson authored
Change-Id: I20f38f590b158d5d615923c30e85e2a7cfd99763 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Feb 02, 2012
-
-
Yann Bodson authored
Task-number: QTBUG-21793 Change-Id: Ie7b9f293c6c9a949c1899152c38b61251b0069d3 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Task-number: QTBUG-21919 Change-Id: I55605d2bd053968868a885e63cc4bc042ada0839 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Feb 01, 2012
-
-
Andrew den Exter authored
Repeat the explanation given in Qt::mightBeRichText's documentation for how rich text is identified and under what circumstances it may fail to recognize it. Task-number: QTBUG-21917 Change-Id: Ie012ddd2fd5f874da0ea819c354a1ed5b7573670 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Jan 30, 2012
-
-
Jason McDonald authored
As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: If39bd256b0fa85eba17ea30f8ab87ea27d758908 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- Jan 26, 2012
-
-
Eskil Abrahamsen Blomfeldt authored
The negation in the test was left over from an earlier API and would break the test and most likely cause the Text element to always bypass its update. Change-Id: Idc5c94a76a0477a9433305f5aba43c4bb8d67806 Reviewed-by:
Jiang Jiang <jiang.jiang@nokia.com>
-
- Jan 24, 2012
-
-
Eskil Abrahamsen Blomfeldt authored
Use a shared graphics cache to back the distance fields if it is available. Change-Id: Id5e6e7a28e38e349d787e66016b2d0faebc791d7 Reviewed-by:
Jiang Jiang <jiang.jiang@nokia.com>
-
- Jan 23, 2012
-
-
Jason McDonald authored
Replace Nokia contact email address with Qt Project website. Change-Id: I6a730abc0c396fb545a48b2d6938abedac2e3f1c Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- Jan 19, 2012
-
-
Andrew den Exter authored
Specifies the base URL which embedded links in rich text are resolved against. By default this is the URL of the item. Task-number: QTBUG-23655 Change-Id: Ib51b8503a18d9ac4e1801c77b77b3595d8f4912a Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Andrew den Exter authored
Override QTextImageHandler's image loading as it will attempt to resolve relative paths and load the image itself if the document returns an invalid image from loadResource, which we don't want as it bypasses the pixmap cache and resolves against the application and current working directory instead of the Text items context. Change-Id: Ia1d3633036f96d902e1ac03dae5d5b203fba7ff1 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jan 12, 2012
-
-
Pekka Vuorela authored
Information moved from QGuiApplication into QInputPanel. Change-Id: Idd80609f4b67bffae7222a1fa27918724ebf60f6 Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
- Jan 05, 2012
-
-
Jason McDonald authored
Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
Martin Jones authored
Task-number: QTBUG-23159 Change-Id: I842d066efb3a78defba61cc31060840f771f9b11 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Jan 02, 2012
-
-
Frederik Gladhorn authored
This consists of two parts: An attached property for QML items and a plugin for the accessibility framework. The attached property simply takes care of some properties (name, role) that are needed in order to expose semantics of the application to assistive tools. The plugin exposes the hierarchy of QML items to the accessibility framework. Change-Id: I32f5603d0d9549b01b3645b205b710b9801762f7 Reviewed-by:
Jan-Arve Sæther <jan-arve.saether@nokia.com>
-
- Dec 20, 2011
-
-
Martin Jones authored
Change-Id: Ie92129887730d3738e14116cf22e1c30b836a415 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com> Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Martin Jones authored
Setting the height of the Text element to less than the height of the font caused the multiline eliding to activated. Also ensure multiline eliding only elides a truncated first line if it does not fit in the width allowed. Change-Id: If7e88d6ad82cb12cdb53d92616e62c3895611115 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Dec 07, 2011
-
-
Martin Jones authored
Text was quite often layed out twice during construction due to geometry changes, and often at run time due to other geometry changes. This change checks for cases which do not require relayouting and drops out early. These are easier to detect than trying to have a single giant if statement covering all the positive combinations. Change-Id: I2deb2ab52d35b3d02bced698d05fef91c9e2f745 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Andrew den Exter authored
Re-use the QQuickTextDocumentWithImageResources class from Text to allow image resources to be loaded from the pixmap cache. Change-Id: I13170eefe664447b77f2980fb2fe7b4e2f8eb81c Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-