summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicssceneindex
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Stabilize testsOlivier Goffart2009-10-291-1/+3
|
* Fix crash in QGraphicsView BSP discovered in Amarok.Alexis Menard2009-10-221-0/+58
| | | | | | | | | | | | | Basically some items were not properly remove in the BSP which means that if you delete one of items, the BSP tree may contain dangling pointers. The problem was in removeItemHelper in QGraphicsScene were the child were removed after reparenting to 0 the topmost parent. The sceneBoundingRect for children was invalid which means that we were removing them in the wrong position inside the BSP. Reparenting to 0 means that the sceneBoundingRect will be the boundingRect but wasn't the case before (for the topmost parent). Reviewed-by:bnilsen
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Eliminate last mentions of "Qt Software".Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* No link-errors when building from repositoryVolker Hilsheimer2009-07-251-0/+1
|
* Update the license header in a few more placesThiago Macieira2009-07-161-1/+1
|
* QGraphicsItems not painted after QGraphicsScene::clear().Bjoern Erik Nilsen2009-07-151-0/+34
| | | | | | | The problem was that we didn't regenerate the bsp when adding items after calling QGraphicsScene::clear. Reviewed-by: alexis
* Dont include untransformable graphics items twice.Bjørn Erik Nilsen2009-07-021-0/+39
| | | | | | | | | | This revertes d39a62720ba67a0fa6e4e37519d22f14c7b7404e (we had to do it with the old implementation, but the new one have untransformable items included in the indexed list. The only difference is that untransformable items are also in the untransformable list; otherwise in the bsp tree). Auto-test included.
* Fixes broken BSP lookup in QGraphicsSceneBspTreeIndex.Bjørn Erik Nilsen2009-07-011-0/+13
| | | | | | | | | | | The chip demo was unbelievable slow, so I investigated and found out the bsp always returned almost all items in the tree (40 000 in this particular case). It did so because the tree was initialized with an empty sceneRect. The sceneRect was empty due to a lacking signal-slot connection, resulting in QGraphicsSceneBspTreeIndex::updateSceneRect never being invoked. Auto-test included.
* Compile tst_QGrahicsSceneIndex after be79229eBjørn Erik Nilsen2009-06-251-15/+0
|
* Make the autotests compile again.Andreas Aardal Hanssen2009-06-181-5/+18
| | | | Reviewed-by: Alexis
* Fix all auto-tests regressions.Alexis Menard2009-06-021-2/+2
|
* Remove the indexing (BSP) logic from the sceneAlexis Menard2009-04-071-7/+8
| | | | | | | | | | | | We basically add a new index that implement the old BSP logic but in a separate class instead of living into the QGraphicsScene. It will be much more easier to add a new index method or for people to use their own Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicssceneindex.h
* Fixes: Autotest the scene index using the new items(QPointF) function.Ariya Hidayat2009-04-071-0/+14
|
* Fixes: Add autotest for moving rectangle between items.Ariya Hidayat2009-04-071-0/+29
|
* Fixes: Add autotest for overlapped rectanglesAriya Hidayat2009-04-071-0/+29
|
* Fixes: Added linear scene index class. Not used yet.Ariya Hidayat2009-04-071-0/+5
|
* Fixes: Autotest for inserting non-overlapped items in the scene index.Ariya Hidayat2009-04-071-0/+22
|
* Fixes: Autotest for changing the index method of a scene.Ariya Hidayat2009-04-071-0/+21
|
* Fixes: Parametrize the test with potentially different indexing method.Ariya Hidayat2009-04-071-1/+27
|
* Fixes: Add a simple test for the scene index.Ariya Hidayat2009-04-072-0/+77
Details: This is just the beginning. More complex tests follow.