1. 02 Jan, 2012 1 commit
    • Frederik Gladhorn's avatar
      Add accessibility to qml · 27a497b3
      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: default avatarJan-Arve Sæther <jan-arve.saether@nokia.com>
      27a497b3
  2. 30 Dec, 2011 3 commits
  3. 29 Dec, 2011 1 commit
  4. 28 Dec, 2011 1 commit
  5. 23 Dec, 2011 5 commits
    • Andrew den Exter's avatar
      VisualDataModel performance improvements. · ed361944
      Andrew den Exter authored
      Avoid a linear scan of all cache items and associated accesses by
      getting the cache item from an objects  vdm attached object instead.
      
      Make the model context property a property of the context object instead
      of a separate property on the context object.
      
      Parent the vdm attached object to the delegate object with
      QDeclarative_setParent_noEvent instead of passing it in the constructor.
      
      Change-Id: Ib77c5cdb963f3dfe8f2bdef039e010a6bb30140f
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      ed361944
    • Andrew den Exter's avatar
      Insert items into VisualDataModel. · fb00bd44
      Andrew den Exter authored
      Add API for inserting data directly into a VisualDataModel which
      can be used among other things  to create temporary items that are
      later resolved to an actual item in the source model.
      
      Task-number: QTBUG-21516
      
      Change-Id: I835f0e8d6c5edfb3a21029687de5b700f7400317
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      fb00bd44
    • Andrew den Exter's avatar
      Minimize the number of objects created per item in VisualDataModel. · 347f84e5
      Andrew den Exter authored
      Derive from QDeclarativeContext and reference count the context object
      instead of parenting it to the context.  Combined with a weak
      persistent v8 handle the allows the context object to be returned by
      javascript accessors instead of creating a new instance for every use.
      
      In addition to the efficiency advantages of creating fewer objects,
      routing all data access through a single object means that object can
      also persist data instead of just acting as a proxy.
      
      Change-Id: I107dc8c901f16f2a4b420ff1cbffa7a6be27de89
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      347f84e5
    • Alan Alpert's avatar
      Add currentSprite property to SpriteImage · 932a195d
      Alan Alpert authored
      Also renames goalState to goalSprite, to help distinguish it from item
      states.
      
      Change-Id: I77e81595586e69e47a50a7a767fdb7ad775ad7be
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      932a195d
    • Chris Adams's avatar
      Fix crash in var property setter · 1f4fe0ac
      Chris Adams authored
      Previously, the function didn't terminate after calling the setter
      recursively, as it should have.  This patch ensures that the setter
      is called correctly and then returns, and adds a unit test to ensure
      that no regression occurs.
      
      Task-number: QTBUG-23330
      Change-Id: If512fca174e5224c2c53caad11f77782e6cead9f
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
      1f4fe0ac
  6. 22 Dec, 2011 5 commits
  7. 21 Dec, 2011 9 commits
  8. 20 Dec, 2011 15 commits