summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicstransform.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix SCROLLAREA by fixing missing QT_NO_GRAPHICSVIEW dependenciesJørgen Lind2009-10-291-0/+2
| | | | Reviewed-by: tom
* 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
* Remove QGraphicsTransform::project()Rhys Weatherley2009-08-191-2/+0
| | | | | | QMatrix4x4::toTransform() now does what project() used to do. Reviewed-by: trustme
* Re-implement QGraphicsTransform to use QMatrix4x4Rhys Weatherley2009-08-191-11/+17
| | | | | | | | | | QTransform-based transformations create problems when performing X and Y axis rotations because they aren't using true 3D. This change modifies QGraphicsTransform and its sub-classes to use QMatrix4x4 as the standard transformation matrix, with a project() function to project back to 2D when required. Reviewed-by: trustme
* QGraphicsRotation and QGraphicsRotation3D are now merged into 1 classThierry Bastian2009-08-121-25/+6
| | | | | | | | You can now also set the axis following hte Qt::Axis enum Note: I'm not 100% sure about the maths in QGraphicsRotation::applyTo Feel free to fix it. Reviewed-by: ogoffart
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Docs: Improve QGraphicsTransform and subclassesAndreas Aardal Hanssen2009-07-311-0/+1
| | | | | | | | Fix a few typos and add more descriptive documentation to the class itself and its subclasses. Reviewed-by: Volker Hilsheimer Reviewed-by: Martin Smith
* Use correct license header.Volker Hilsheimer2009-07-291-2/+2
|
* Make autotests compile: s/slots/Q_SLOTSVolker Hilsheimer2009-07-291-1/+1
| | | | Reviewed-by: Trustme
* Implement new transformation handling for graphics items.Lars Knoll2009-07-291-0/+168
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