summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qgraphicsitem
Commit message (Collapse)AuthorAgeFilesLines
* Performance issue in QGraphicsItem::addParentItem while building theGabriel de Dietrich2009-08-201-0/+14
| | | | | | | | | scene bottom-up. When adding n items, the depth was computed n² times. Adding lazy computation fixes this performance issue. Reviewed-by: Andreas
* Make the license test pass.Frans Englich2009-08-191-0/+34
| | | | | | | This is partly done to address a review comment for S60. Reviewed-by: Marius SO Reviewed-by: Paul
* Add benchmark for deleting an item with many children.Andreas Aardal Hanssen2009-08-051-0/+11
| | | | | Task-number: 229124 Reviewed-by: TrustMe
* Add benchmarks for QGraphicsItem::setParenItem().Andreas Aardal Hanssen2009-08-052-1/+26
| | | | | | | | | | Ensure we test simple and deep constructs of setParentItem(). These benchmarks don't cover slowness in ancestor flag updating. QVariant is already identified as a contributor to this slowness, as is updating of the depth value (a deep tree crawl). Reviewed-by: Aaron Kennedy
* Compile fix (QGraphicsItem::setXRotation was removed).Andreas Aardal Hanssen2009-08-051-13/+1
| | | | | | | a6ea9ce6990003856ecadcca8ce9ddf37949363d removed this function; the benchmark was not updated. Reviewed-by: TrustMe
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-1/+1
| | | | Reviewed-by: Trust Me
* Add properties to QGraphicsItem to change the transformations componentOlivier Goffart2009-05-222-0/+176
With the new properties it is possible to easily animate. Setting a transform using setTransform is incompatible with thoses properties. Accessing thoses propeties if you set previously a transform will give you the default values. Acknowledged-by: Code made with Andreas. Documentation written with Thierry. This still need a more in depth code review and documentation review. But it is urgent to commit now because the Animation API integration depends on it.