1. 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
  2. Mar 18, 2014
  3. Feb 22, 2014
  4. Feb 12, 2014
  5. Jan 27, 2014
  6. Dec 02, 2013
  7. 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
  8. Nov 26, 2013
  9. Nov 22, 2013
  10. 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
  11. Oct 02, 2013
  12. Sep 30, 2013
  13. Sep 26, 2013
  14. Sep 25, 2013
  15. Sep 17, 2013
  16. 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.
      
      Also introduced accessor methods for getting color, html, image, text,
      and urls out of the drop. This facilitates dropping of external data of
      those types onto a DropArea.
      
      Added example quick/externaldraganddrop.
      
      Task-number: QTBUG-27498
      Change-Id: I1420df7c161ea3399e49a23305273e106baa246f
      Reviewed-by: default avatarAlan Alpert (Personal) <416365416c@gmail.com>
      39145921
  17. Sep 08, 2013
  18. 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
  19. Jun 06, 2013
  20. May 08, 2013
  21. May 06, 2013
  22. Apr 25, 2013
  23. Apr 23, 2013
  24. Apr 18, 2013
  25. 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
  26. Apr 02, 2013
  27. Mar 07, 2013
  28. Mar 04, 2013
  29. Feb 15, 2013
  30. Jan 31, 2013
  31. Jan 10, 2013
  32. Dec 19, 2012
    • Frederik Gladhorn's avatar
      Accessibility: Improve interface handling in Quick · c8ef32e2
      Frederik Gladhorn authored
      
      This changes how interfaces are handled:
      the QAccessibleQuickItem will simply subclass
      all interfaces and dynamically return 0 or the
      appropriate interface_cast.
      
      This makes our implementation a lot more flexible.
      To make use of the value interface, only a value
      property is needed (together with a corresponding role).
      
      Since the implementation of the interfaces became simpler,
      the value interface and some text interface improvements
      go along with the change.
      
      Change-Id: I003ec3016d48d730a4acac467bce322167842f4d
      Reviewed-by: default avatarJan Arve Sæther <jan-arve.saether@digia.com>
      c8ef32e2
  33. Nov 29, 2012
  34. Nov 26, 2012
  35. Nov 08, 2012
  36. Oct 19, 2012
  37. Sep 23, 2012
  38. Aug 08, 2012
    • Bea Lam's avatar
      Fix uses of various qml doc commands · b2120f68
      Bea Lam authored
      
      Signals documented with \qmlsignal should indicate handler name,
      i.e. 'onSignal' rather than 'signal'.
      
      Methods documented with \qmlmethod do not need to document 'void'
      return values.
      
      Also the name of any documented attribute should be qualified
      with 'QtQuick2::<qmltype>'.
      
      Change-Id: I206dd9e8f39c3b84e029ae9d4101b05d0bfb3478
      Reviewed-by: default avatarAndrew den Exter <andrew.den-exter@nokia.com>
      b2120f68