summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene_bsp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* More re-factoring of QGraphicsSceneIndex.Bjørn Erik Nilsen2009-07-021-2/+6
| | | | | | | | | | New method: QGraphicsSceneIndex::estimateTopLevelItems. QGraphicsSceneIndex::estimateItems returns *all* items within the rect, but we are only interested in the top-levels (those that are within the rect themselves or have descendants within the rect) when doing recursive drawing/item-lookup. All auto-tests pass. Demos/examples/manualtests run fine.
* Kill dead BSP tree code in graphics view.Bjørn Erik Nilsen2009-07-021-41/+0
|
* Graphics View: BSP tree cleanup.Bjørn Erik Nilsen2009-06-291-3/+8
| | | | | Ensure the BSP resets the QGraphicsItemPrivate::itemDiscovered bit before returning the list of discovered items.
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Alexis Menard2009-06-171-2/+2
|\ | | | | | | qt-main/qgraphicssceneindex
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Long live Qt 4.5!Lars Knoll2009-03-231-0/+328
|
* First bunch of changes after an very first API reviewAlexis Menard2009-05-291-6/+6
| | | | | | This basically move some logic from the scene to the index base class. Lot of work need to be done in order to benefits from the device transform. The sorting needs to be move in the BSP tree.
* Remove the indexing (BSP) logic from the sceneAlexis Menard2009-04-071-27/+13
| | | | | | | | | | | | 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: Move the bsp depth variable to the BSP tree class.Ariya Hidayat2009-04-071-1/+1
|
* Fixes: QGraphicsSceneIndex now inherits from QObjectAriya Hidayat2009-04-071-2/+2
|
* Fixes: Initialize the BSP tree if it has not been initialized before.Ariya Hidayat2009-04-071-4/+8
| | | | | | | | Details: The BSP tree internal to QGraphicsScene does need this as the scene does call initialize() at proper time. This fix is needed only for using the BSP tree as custom indexing and/or for autotest.
* Fixes: Default implementation for QGraphicsSceneIndex::removeItems and ↵Alexis Menard2009-04-071-7/+0
| | | | QGraphicsSceneIndex::insertItems
* Fixes: Make the bsp tree inherits from the new APIAlexis Menard2009-04-071-7/+24
|
* Long live Qt!Lars Knoll2009-03-231-0/+328