- May 22, 2013
-
-
J-P Nurmi authored
Change-Id: Id6fe03677e93119a63bfe87ade3cd333bf4890a1 Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Apr 30, 2013
-
-
Paul Olav Tvete authored
On Android, Key_Back is used to change to the previous state in-app, as well as to exit the application. QTextControl does not react to the back button, so it should not accept the event. Task-number: QTBUG-30752 Change-Id: I010d36c93f14384b96fb0b2f0015c57a2a3d2497 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com> Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- Mar 20, 2013
-
-
Pierre Rossi authored
The rationale is to not end up re-processing the whole document on each update Since we know where the editing takes place, we can break down the text edit's contents in several text nodes and only re-create the affected text nodes upon editing. This requires ripping out the SelectionEngine helper class from QQuickTextNode so that QQuickTextEdit can tap into its functionality directly. A positive side-effect of this exercise is that it should be much harder to to come across GlyphNodes packing more than 16300 glyphs or so. Task-number: QTBUG-29596 Change-Id: Id29b0709baa43f5b29c44ab02398ba996be3e28a Reviewed-by:
Yoann Lopes <yoann.lopes@digia.com>
-
- Feb 21, 2013
-
-
Frederik Gladhorn authored
This enables grepping. Change-Id: Ibf85800b998a02645c50b1b84d42088d16091378 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Jan 10, 2013
-
-
Sergio Ahumada authored
Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by:
Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com>
-
- Nov 26, 2012
-
-
Tasuku Suzuki authored
Change-Id: I90f8ec7e6357db7b4038bb1646fe9d3835821556 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Alan Alpert (RIM) <aalpert@rim.com>
-
- Sep 23, 2012
-
-
Iikka Eklund authored
Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- Aug 06, 2012
-
-
Andrew den Exter authored
Neither item accepted the middle button which prevented the mouse events ever reaching them. Change-Id: Ia8f693099df4d6c248976453d554fef96d1d3b33 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jul 11, 2012
-
-
Andrew den Exter authored
The text interaction flags aren't exposed publicly and the option isn't set by TextEdit itself so there's no need to handle it. Change-Id: I83b98e58e3b8cb8c55752d8eefe3bf36bff75249 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jul 09, 2012
-
-
Andrew den Exter authored
Defer setting content on the QTextDocument until componentComplete() to avoid unnecessary layouts and move one time setup for the text document from setContent to the constructor. Reduces the construction time of a TextEdit with RichText textFormat by about a third. Change-Id: Idde0772063bf769cde984efddd68589c55a7431a Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jul 04, 2012
-
-
Andrew den Exter authored
QQuickTextEdit ignores the updateRequest QRect arguments, so don't bother calculating them. Change-Id: Icb9126ab799c6b216eb0c4b9e3ff3f6a4bf8f03c Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Andrew den Exter authored
Either unused functions, or code paths for signals that aren't connected to anything. Change-Id: Ide24f1263d05f93917a16a3c17cb06a619cd3421 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jun 01, 2012
-
-
Kent Hansen authored
Change-Id: I5b83b5d07b6a5d2de86d0f37471cf59baa7b0e43 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- May 03, 2012
-
-
Andrew den Exter authored
Updating only when the cursor position changes isn't enough because changing pre-edit text changes the width of the pre-edit area and the x offset of all cursor positions within it. Change-Id: I3c0a5e4ad4714a903ca84c1a25374491f34d95a0 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Apr 27, 2012
-
-
Pekka Vuorela authored
Geometry change was avoiding updating size of the QTextDocument, thus it was not able to right align before something else triggered size change, e.g. a modification to the text. Also removed unnecessary cursorRectangleChanged signal that was emitted when moving focus with mouse. Change-Id: I293fd5119473eb3def5acd1b3fbb951c12e14412 Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
- Apr 19, 2012
-
-
Andrew den Exter authored
When inserting text into a TextEdit with implicit width and wrapping the cursor delegate position has to be updated after the width is expanded to the implicit width otherwise it will be positioned in a wrapped location. Change-Id: Ibcb709ec1b4f6827ea8ae919f2e0c932c7372869 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Apr 12, 2012
-
-
Pekka Vuorela authored
Change-Id: I8642eca0e584b811308b73817e7decf2f392f1b5 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
- Apr 02, 2012
-
-
Andrew den Exter authored
If the length of the QInputMethodEvent::Cursor attribute is 0 the cursor is supposed to be hidden. To ensure this and any other IM state is reverted when the input method is reset send a empty event to the editor when preedit is cancelled or removed and count formatting or cursor changes when determining if the input method is composing (i.e has state that needs to be reset). Change-Id: Ifca69aa0c18776b1aef355ed6ae9aecc40b9d475 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Mar 26, 2012
-
-
Pekka Vuorela authored
Feature to be reimplemented simplified. Now using new FocusAboutToChange event for using input method to commit stuff when window is losing focus. Change-Id: I81c96c36d9f0a1b38adb4324f3b892c33547cb50 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
- Mar 20, 2012
-
-
Andrew den Exter authored
Word selection initiated by a double click in QTextEdit only selects a word if the drag point is closer to the end than the start (assuming ltr selection) which can make it difficult to select small words with touch input, as such the SelectWords mouseSelectionMode of TextEdit selected a word if the drag point intersected any part of the word. Since we no longer have to retain compability for QTextEdit we can settle on a single behaviour for word selection. Change-Id: Iaabb7938a2b61b84a290a9ee41e407c83144b96f Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Change-Id: I036a2c2ff05cd94a7c58e29bf8743fef3a550fbd Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Feb 23, 2012
-
-
Andrew den Exter authored
Remove unnecessary members from QQuickTextEditPrivate and QQuickTextControlPrivate and re-order and pack to reduce padding for alignment. Change-Id: I14f5e3fc01646d02745f095c2a4b168cd675745d Reviewed-by:
Yann Bodson <yann.bodson@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 02, 2012
-
-
Andrew den Exter authored
Improves feature parity with TextEdit. Task-number: QTBUG-16355 Change-Id: I3919c71454a4f4574a1ee35ad38969459beb8363 Reviewed-by:
Martin Jones <martin.jones@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 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 16, 2012
-
-
Andrew den Exter authored
Delay rebuilding the text data from QTextDocument until it is actually requested rather than everytime the contents of the document change. Change-Id: Ibfdc9e9e0372010f0731fb02a223c8b59a67f2c3 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jan 12, 2012
-
-
Andrew den Exter authored
The functionality already existed and was usable through keyboard short cuts but was not accessible through API. Task-number: QTBUG-16191 Change-Id: I080fa2ddb76668a7a632aa7477004f99037ea68b Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Jan 05, 2012
-
-
Jason McDonald authored
Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- Dec 21, 2011
-
-
Andrew den Exter authored
With xcb querying data from the clipboard can take as long as 50 ms. Deferring the check until it is requested speeds up construction time when it's not used and only checking the available formats when it is requested should also help. Change-Id: I796fc83d0457d9ac1490cfb9f510c6342eb8a872 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Dec 15, 2011
-
-
Andrew den Exter authored
Don't ignore mouse press events if the LinksAccessibleByMouse interaction flag is set. Task-number: QTBUG-23065 Change-Id: I25b3e3b0cf194b71fc863ed239196a567f42c19c Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Andrew den Exter authored
QQuickTextEdit doesn't implement scrolling internally and QML code will use the cursorRectangle property to determine if it should scroll. All instances of ensureCursorVisible() have been replaced by cursorRectangleChanged() which was previously microFocusChanged(). Task-number: QTBUG-22627 Change-Id: I5df9e1d1cb4a8553eabd417a658e80da1c27e10c Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Andrew den Exter authored
QTextControl included a lot of functionality that was unused by TextEdit. Anything that is unused and therefore untested should go. Task-number: QTBUG-22627 Change-Id: Ie68b279cb8618bec0af76287c7c4db34d0642a0a Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Dec 14, 2011
-
-
Pekka Vuorela authored
- Selection can start on top of preedit - Mouse press outside preedit commits - Double click to commit on top of preedit - Focus out to commit preedit Similar to qtbase 4b3d88a9c67402b6a234d597bab25846f039bbdb and b5c37d9e137dee2754335e83b8437dfd0e6cc7e7 for QTextEdit Change-Id: Ib9c37528ba7fd588ee993b7ff33f79f96857e421 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
Pekka Vuorela authored
Change-Id: I29fc7c472a3a20eeaf74e0dc411313e5750e9dee Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
Pekka Vuorela authored
Similar to what qtbase 1dbfbf4c66187e7522888c19d78024cfceaea570 did for QTextEdit. Now available only in plain text, html support pending. Change-Id: I0b23a45fc484512d3354f66e1a6134e2d70eb8b5 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
- Dec 09, 2011
-
-
Andrew den Exter authored
First half of a move of QTextControl from qtbase to qtdeclarative, some time in the future QTextControl will be deleted from qtbase to finish the move. Task-number: QTBUG-22627 Change-Id: I72da2c71ab5b090e2a0a15219b81e522e97c541b Reviewed-by:
Lars Knoll <lars.knoll@nokia.com>
-