Commit Graph

3 Commits

Author SHA1 Message Date
Bea Lam ba3ac328ca Add generic "displaced" transition property
This is the default displaced transition that will be applied if addDisplaced,
removeDisplaced or moveDisplaced are not specified (or are disabled).

Change-Id: I9356036dc93bd9cb26e64e0b1769228113b74273
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-29 01:20:00 +01:00
Bea Lam 2df9abf704 Built-in transition support for ListView & GridView
ListView and GridView can now be assigned transitions to be run when:
    - Populating the view (when initially setting the model / resetting)
    - Adding items
    - Removing items
    - Moving items

The ViewTransition attached object can be used from within a transition
declaration to access various information about the items that are
being transitioned.

Task-number: QTBUG-21504

Change-Id: Ie5c75ea511c8b15acc3f06fccf19abe34d3677f9
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-16 08:30:27 +01:00
Bea Lam 5e42176970 Separate out some of the common test code
Moves findItem, findItems() etc. into shared/visualtestutil.h and
moves duplicate list model test classes and other common view-specific
code into shared/viewtestutil.h.

Change-Id: Ia79bc4df1ab7fb618597755c0288a2e8f5054faf
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-07 11:45:38 +01:00