summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/graphicsview.pri
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'anchorlayout' of ↵Jan-Arve Sæther2009-08-211-2/+10
|\ | | | | | | | | | | | | git@gitorious.org:+openbossa-developers/qt/openbossa-clone Conflicts: src/gui/graphicsview/graphicsview.pri
| * QGraphicsAnchorLayout: Adding QGraphicsAnchorLayout public and private classesJesus Sanchez-Palencia2009-07-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a total re-written implementation of QGraphicsAnchorLayout using a numerical approach. We use QGraph and QSimplex in order to achieve this. This first commit gives us a just ready-to-use qgraphicslayout, but the private class still need to inherit from qgraphicslayoutprivate. Optimizations and documentation are all work in progress. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org> Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
| * QSimplex: Adding the Simplex solver for linear systemsJesus Sanchez-Palencia2009-07-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This implementation is based on the iterative algorithm presented in http://en.wikibooks.org/wiki/Operations_Research/The_Simplex_Method. It is capable of giving us the solution to any n variable LP model. Although we focused on QGraphicsAnchorLayout, the solver is general enough for being reused in any other Qt classes if needed. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org> Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
| * QGraph: Adding the graph structureJesus Sanchez-Palencia2009-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | This file was originally included by Alexis Menard <alexis.menard@nokia.com> but now it has been fully updated to the new QGraphicsAnchorLayout needs. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org> Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
* | 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