summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.h
Commit message (Collapse)AuthorAgeFilesLines
* Doc: make potentially incorrect overloads obsolete.Volker Hilsheimer2009-07-211-2/+3
| | | | | | Also add additional overload. Reviewed-by: Andreas
* Merge commit 'qt/master' into graphicssceneindexBjørn Erik Nilsen2009-07-101-1/+0
|\ | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp tests/auto/qgraphicsview/tst_qgraphicsview.cpp
| * Refactored gesture apiDenis Dzyubenko2009-07-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.
* | Merge commit 'qt/master' into graphicssceneindexBjørn Erik Nilsen2009-07-011-0/+2
|\ \ | |/
| * Added QGraphicsScene::sendEvent().J-P Nurmi2009-07-011-0/+2
| | | | | | | | | | Merge-request: 787 Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
* | Merge commit 'qt/master' into graphicssceneindexBjørn Erik Nilsen2009-07-011-1/+2
|\ \ | |/ | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene.cpp src/gui/graphicsview/qgraphicsscene_p.h src/gui/graphicsview/qgraphicsview.cpp src/gui/graphicsview/qgraphicsview_p.h
| * Cleanup includes in public headers.Bradley T. Hughes2009-06-261-2/+1
| | | | | | | | We don't want to pull in too much if we can avoid it.
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-171-2/+2
| |\ | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene_p.h
| * \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-101-4/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem_p.h src/gui/graphicsview/qgraphicsscene_p.h
| * | | Removed QWidget::gestureEvent() functions since adding a new virtualDenis Dzyubenko2009-05-111-1/+0
| | | | | | | | | | | | | | | | function breaks binary compatibility.
| * | | Added QGraphicsSceneGestureEvent that extends plain QGestureEvent byDenis Dzyubenko2009-05-111-1/+2
| | | | | | | | | | | | | | | | | | | | providing some additional info (like a widget that received a gesture - for coordinates conversions).
| * | | Merge of the maemo-gestures branch onto qt/4.5.0Denis Dzyubenko2009-05-111-0/+2
| | | | | | | | | | | | | | | | | | | | This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch.
* | | | Proper handling of scene rect in QGraphicsScene(Index).Bjørn Erik Nilsen2009-06-261-1/+0
| | | | | | | | | | | | | | | | Reviewed-by: Andreas
* | | | Changes after first round of code reviewing.Andreas Aardal Hanssen2009-06-181-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes all code that handles ItemIgnoresTransformations from QGraphicsView, and changes the APIs of the scene index intersectors. Reviewed-by: Alexis
* | | | API / code review for QGraphicsSceneIndex (internal API).Andreas Aardal Hanssen2009-06-171-7/+4
| | | | | | | | | | | | | | | | | | | | A few minor modifications only, marked some things as ### obsolete, removed the public get/set for the index (it's internal anyway).
* | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Alexis Menard2009-06-171-2/+2
|\ \ \ \ | | |_|/ | |/| | | | | | qt-main/qgraphicssceneindex
| * | | Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
| |\ \ \ | | |_|/ | |/| |
| | * | 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/+301
| | /
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Alexis Menard2009-06-111-4/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-main/qgraphicssceneindex Painfull merge due to recent changes in QGV framework. Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsscene.cpp src/gui/graphicsview/qgraphicsscene.h src/gui/graphicsview/qgraphicsscene_p.h src/gui/graphicsview/qgraphicsview.cpp
| * | Remove duplicated code for removing an item from the scene.Bjørn Erik Nilsen2009-06-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Before we had almost two identical functions for removing an item from the scene. There was only minor differences depending on whether the item was removed from QGraphicsScene::removeItem or from the item's destructor. Now we have one function that handles both cases just fine. Reviewed-by: Andreas
| * | Massive re-factoring of Graphics View's update mechanism.Bjørn Erik Nilsen2009-06-091-3/+1
| |/ | | | | | | | | | | | | | | | | | | | | This is work-in-progress, so don't expect everything to work perfectly. Most of the auto-test pass and examples and demos seem to run fine. Unfortunately I'm too tired to write about the actual update mehanism now, but it's faster than the old approach (if that helps:)). There's more to optimize, but I'll come back to that later. I need some sleep now :) To be continued.
* | Remove the sorting cache from the QGraphicsScene and move it to the BSP.Alexis Menard2009-06-031-1/+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/+9
| | | | | | | | | | | | 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/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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: Some modifications after a talk with AriyaAlexis Menard2009-04-071-1/+1
| |
* | Fixes: Initial work on an API to allow a custom/indexing on the ↵Alexis Menard2009-04-071-0/+4
|/ | | | QGraphicsScene
* Long live Qt!Lars Knoll2009-03-231-0/+301