summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/graphicsview.pri
Commit message (Collapse)AuthorAgeFilesLines
* Implement new transformation handling for graphics items.Lars Knoll2009-07-291-1/+3
| | | | | | | | | | | | | | | | | | The idea of having separate rotationX/Y/Z, shearX/Y, etc. methods in QGraphicsItem turned out to be not giving us the flexibility we need and wanted. The new code now implements a different scheme, where we keep simple rotate (around z-axis), scale and transformOriginPoint methods, but remove the other ones. Instead we now have an additional list of QGraphicsTransform object. QGraphicsTransform is an abstract class that inherits QObject. Several specializations are provided and can be used to transform (and through property bindings animate) the item. Reviewed-By: Andreas
* Move QGraphicsSceneBspTreeIndex into private headers (=> _p.h).Andreas Aardal Hanssen2009-06-181-1/+0
| | | | | | We'll keep this as private API for now. Reviewed-by: Alexis
* Move QGraphicsSceneLinearIndex into private headers (=> _p.h).Andreas Aardal Hanssen2009-06-181-1/+1
| | | | | | We want to keep this as private API for now. Reviewed-by: Alexis
* Move QGraphicsSceneIndex into private headers (=> _p.h).Andreas Aardal Hanssen2009-06-181-30/+27
| | | | | | We'd like to keep this API private for now. Reviewed-by: Alexis
* Make eveything internal for now but ready to see the light.Alexis Menard2009-06-171-3/+3
|
* Remove old legacy and fix documentation.Alexis Menard2009-06-161-0/+1
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Alexis Menard2009-06-161-49/+41
|\ | | | | | | | | | | | | | | qt-main/qgraphicssceneindex Conflicts: src/gui/graphicsview/graphicsview.pri src/gui/graphicsview/qgraphicsitem.cpp
| * add a QGraphicsObject class and change QGraphicsWidget and QGraphicsTextItem ↵Lars Knoll2009-06-111-43/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to inherit from it This changes the inheritance hierarchy of QGraphicsWidget from multiply inheriting from QObject, QGraphicsItem and QGraphicsLayoutItem to inherit from QGraphicsObject and QGraphicsLayoutItem. QGraphicsObject then simply inherits from QObject and QGraphicsItem. This change is binary compatible as it will leave the vtable layout unchanged and as the parent class doesn't appear in the C++ name mangling on any of our platforms. It's also source compatible as it isn't noticable by existing code. The restriction we have on QGraphicsObject is that we can not add any new virtual methods to it, or add data members to the class. We can however implement a QGraphicsObjectprivate inheriting from QGraphicsItemPrivate if there is a need to add data members to the class. This change will allow us to now have one single base for all QGraphicsItems that inherit from QObject: QGraphicsTextItem, QGraphicsWidget and in the future QFxItem. Having that single base class will significantly simplify our work in the qml engine. Reviewed-by: Andreas
* | Remove the sorting cache from the QGraphicsScene and move it to the BSP.Alexis Menard2009-06-031-0/+1
| | | | | | | | | | Now the QGraphicsScene has no idea how works the index. So we can improve it separatly, add new ones and benchmarks existing ones.
* | First bunch of changes after an very first API reviewAlexis Menard2009-05-291-0/+1
| | | | | | | | | | | | 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-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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: Added linear scene index class. Not used yet.Ariya Hidayat2009-04-071-0/+1
| |
* | Fixes: Initial work on an API to allow a custom/indexing on the ↵Alexis Menard2009-04-071-0/+2
|/ | | | QGraphicsScene
* Long live Qt!Lars Knoll2009-03-231-0/+46