1. Jun 05, 2012
  2. May 29, 2012
  3. May 24, 2012
  4. May 13, 2012
    • Andrew den Exter's avatar
      Defer construction of TextEdit/TextInput delegates. · bd5e23a0
      Andrew den Exter authored
      
      Don't create instances of the delegate components until the item
      gains focus, or the cursorVisible property is set to true.
      
      Cursor delegates are typically small and relatively fast to create and
      so won't have a significant cost during a one off focus in event,
      but that cost can still add up when creating a number of TextInputs
      or TextEdits at once.  If a delegate that is instantiated immeditately
      is required it is possible to instead create a child item and bind to
      the cursorRectangle and cursorVisible properties.
      
      Change-Id: I5ec2b5b6a30e534aee3dd5a58c6a5ac0686f5ce2
      Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
      bd5e23a0
  5. May 03, 2012
  6. Apr 27, 2012
  7. Apr 20, 2012
  8. Apr 19, 2012
  9. Apr 02, 2012
    • Andrew den Exter's avatar
      Set cursorVisible to false when im cursor length is 0. · 368a3a73
      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: default avatarYann Bodson <yann.bodson@nokia.com>
      368a3a73
  10. Mar 27, 2012
  11. Mar 26, 2012
  12. Mar 23, 2012
  13. Mar 22, 2012
  14. Mar 21, 2012
    • Andrew den Exter's avatar
      Don't overwrite text selections made in focus handlers. · b6380adc
      Andrew den Exter authored
      
      Defer giving focus to TextInput or TextEdit until after other mouse
      press handling has been performed, otherwise setting the cursor position
      will overwrite any selection or cursor position set in the
      on(Active)FocusChanged handler.
      
      Change-Id: I6332642484de65138a444987b5a81be69c6f835f
      Reviewed-by: default avatarYann Bodson <yann.bodson@nokia.com>
      b6380adc
    • Andrew den Exter's avatar
      Content size should not include trailing spaces. · 0e1baa28
      Andrew den Exter authored
      
      Excluding trailing spaces from the content size means the cursor
      position also needs to considered in determining the width used
      by the text as unwrapped white space can push the cursor over
      the width of the item.
      
      Also corrects an auto scroll issue with right to left text
      identified in extending the tests.
      
      Task-number: QTBUG-24630
      
      Change-Id: Iaab9eac03824b22f507154fa1d6e55376bd075a0
      Reviewed-by: default avatarYann Bodson <yann.bodson@nokia.com>
      0e1baa28
  15. Mar 20, 2012
  16. Mar 14, 2012
  17. Mar 13, 2012
  18. Feb 24, 2012
  19. Feb 22, 2012
  20. Feb 17, 2012
  21. Feb 10, 2012
  22. Feb 09, 2012
    • Andrew den Exter's avatar
      Add linkColor property to Text. · 8550ed69
      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: default avatarMartin Jones <martin.jones@nokia.com>
      8550ed69
  23. Feb 07, 2012
  24. Feb 06, 2012
  25. Feb 02, 2012
  26. Feb 01, 2012
  27. Jan 30, 2012
  28. Jan 27, 2012
  29. Jan 25, 2012
  30. Jan 24, 2012
  31. Jan 23, 2012