1. Aug 26, 2014
  2. Aug 25, 2014
  3. Aug 13, 2014
    • Lars Knoll's avatar
      Create rectangle nodes in the text editing through the context · fb339b21
      Lars Knoll authored
      
      Unfortunately we can't re-use the QSGSimpleRectNode, as it doesn't provide us
      with virtual methods to move it's creation into the context. But's since it's
      only 20 lines of code anyway, this is still a nice cleanup. And it also allows
      the re-use of any optimizations in the renderer for QSGRectangleNode.
      
      Change-Id: I957777fbbeb0a994a9c257baf3bfe87fce8cc9e8
      Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
      fb339b21
  4. Aug 12, 2014
  5. Aug 07, 2014
  6. Jul 24, 2014
    • Aaron McCarthy's avatar
      Fix incorrect acceptableInput value on construction. · b25035e5
      Aaron McCarthy authored
      
      The value for acceptableInput was being calculated every time the
      property value was read. This can lead to situations where the value
      returned from successive property reads is different even though no
      acceptableInputChanged() signal is emitted between the two calls.
      
      This can be seen during QML component construction where emission of
      the changed signal is suppressed until the component completes and the
      value of acceptableInput changes as the other properties are set. If
      the property is read during binding evaluation an intermediate value
      can be seen and the QML engine will not re-read the property until
      after the changed signal is emitted. This doesn't happen until the true
      value of the acceptableInput property is toggled.
      
      Fixed by changing the property getter to returned the precalculated
      value of acceptableInput and ensuring that this value is set when
      correctly.
      
      Change-Id: Id3ba3a34988ff50f590e4f8330b873f390eaa025
      Reviewed-by: default avatarMartin Jones <martin.jones@jollamobile.com>
      b25035e5
  7. Jul 02, 2014
  8. Jun 02, 2014
  9. May 21, 2014
  10. May 02, 2014
  11. Apr 24, 2014
    • Bernd Weimer's avatar
      Always implement text input "canPaste" property · c2d80204
      Bernd Weimer authored
      
      This is needed for TextField control for instance.
      If QT_NO_CLIPBOARD is defined, canPaste will always return false.
      Fixes dialogs auto test when QT_NO_CLIPBOARD is defined.
      
      [ChangeLog][QtQuick][Platform Specific Changes] Added canPaste
      property to TextInput element also on platforms that don't support
      a clipboard (QT_NO_CLIPBOARD is defined).
      
      Change-Id: Ia85205672ba59c1fce70852458c514b03d332de6
      Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
      c2d80204
  12. Mar 18, 2014
  13. Mar 12, 2014
    • Risto Avila's avatar
      Makes PasswordMaskDelay configurable through TextInput · 405f1bec
      Risto Avila authored
      
      Adds a new property to TextInput which can be used to override QPlatformTheme::PasswordMaskDelay.
      The new property is TextInput.passwordMaskDelay and takes in delay (ms) which time character
      is shown before masking it. This is only when echoMode is set to TextInput.Password
      
      [ChangeLog][QtQuick][TextInput] Added passwordMaskDelay property
      
      Change-Id: I52812b883db11fdd21b25154887c51df8a44f69c
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
      405f1bec
  14. Feb 22, 2014
  15. Feb 12, 2014
  16. Jan 27, 2014
  17. Dec 02, 2013
  18. Nov 27, 2013
    • J-P Nurmi's avatar
      TextInput: call fixup() when appropriate · 956ee62c
      J-P Nurmi authored
      
      [ChangeLog][QtQuick] Fixed TextInput to call fixup() on its validator
      when being accepted or losing focus, and the validator reports that the
      input is in "intermediate" state ie. the input should be fixed up.
      
      Task-number: QTBUG-35128
      Change-Id: I4b15406c584a9647bcf892badfaf6d845868fbf1
      Reviewed-by: default avatarLiang Qi <liang.qi@digia.com>
      956ee62c
  19. Nov 26, 2013
  20. Nov 22, 2013
  21. Oct 30, 2013
    • Gunnar Sletta's avatar
      Use one render loop per QQuickWindow · 906d5c5c
      Gunnar Sletta authored
      
      See the task for the full reasoning behind this patch.
      
      The threaded renderloop has been refactored to have one window per
      thread. This is mostly a simplification of the current code path where
      for loops over multiple windows are turned into if (window).
      
      The QSGContext has been split into two classes, QSGRenderContext
      for which there is one per OpenGLContext.
      
      The rest of the patch is name changes and a couple of cleanups
      in the hopes of simplifying this change.
      
      Task-number: QTBUG-33993
      
      Change-Id: I31c81f9694d7da7474a72333169be38de62613c4
      Reviewed-by: default avatarSean Harmer <sean.harmer@kdab.com>
      906d5c5c
  22. Oct 02, 2013
  23. Sep 30, 2013
  24. Sep 26, 2013
  25. Sep 25, 2013
  26. Sep 17, 2013
  27. Sep 09, 2013
    • Chris Meyer's avatar
      Add support for external drag and drop in Quick items. · 39145921
      Chris Meyer authored
      Add dragType enums with values of None, Automatic, Internal (default).
      Setting to Automatic allows startDrag to be called automatically.
      Setting to Internal (default) retains old behavior.
      
      Add mimeData to Drag item to enable external drags.
      
      Call startDrag to start drag manually or change from internal drag to
      external drag. Added events dragStarted and dragFinished that get
      invoked from startDrag.
      
      Mime data must be specified in the mimeData property as
      mime-type / data pairs.
      
      Moved QQuickDrag from qquickmousearea* files to qquickdrag* files to
      reduce header interdependencies that caused linking errors in other
      modules and also to improve code organization.
      
      Allow DropArea to receive and process external data.
      
      Introduced new variable containsDrag to QQuickDropAreaPrivate. This
      replaces mimeData which was previously being used to determine if a
      drop operation was currently occurring. The problem was that mimeData
      was being externally destructed.
      
      A...
      39145921
  28. Sep 08, 2013
  29. Sep 07, 2013
    • Thiago Macieira's avatar
      Remove variables that aren't being used right now · 25f5d375
      Thiago Macieira authored
      
      Found by ICC.
      
       src/quick/items/qquicktextcontrol.cpp(78): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced
       src/quick/items/qquicktextinput.cpp(2696): error #2415: variable "textCursorWidth" of static storage duration was declared but never referenced
       src/quick/items/qquicktextinput.cpp(2697): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced
       src/quick/scenegraph/qsgthreadedrenderloop.cpp(164): error #2415: variable "WM_LockAndSync" of static storage duration was declared but never referenced
       src/quick/scenegraph/qsgthreadedrenderloop.cpp(181): error #2415: variable "WM_UpdateLater" of static storage duration was declared but never referenced
      
      Change-Id: I60b5cce79d7be5f909b690f97ffa93ea00d3c044
      Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
      25f5d375
  30. Jun 06, 2013
  31. May 08, 2013
  32. May 06, 2013
  33. Apr 25, 2013
  34. Apr 23, 2013
  35. Apr 18, 2013
  36. Apr 16, 2013
    • Gabriel de Dietrich's avatar
      TextInput: Fix cursor height · 77dbda72
      Gabriel de Dietrich authored
      
      On many platforms, the current cursor looks too tall. The logic used
      in this patch is inspired by what we have in QTextLayout::drawCursor().
      It still looks too tall on Mac, but so it does in Qt Widgets.
      
      QQuickTextInput::positionToRectangle() has also been updated for consistency.
      
      Change-Id: I69b8ad246238d54db370db639a319a3edba6d78a
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
      77dbda72
  37. Apr 02, 2013
  38. Mar 07, 2013