summaryrefslogtreecommitdiffstats
path: root/demos/sub-attaq/submarine.h
Commit message (Collapse)AuthorAgeFilesLines
* QGraphicsRotation and QGraphicsRotation3D are now merged into 1 classThierry Bastian2009-08-121-2/+2
| | | | | | | | 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
* Implement new transformation handling for graphics items.Lars Knoll2009-07-291-0/+4
| | | | | | | | | | | | | | | | | | 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 sub-attaq from examples to demos because sub-attaq is a bitAlexis Menard2009-07-281-0/+92
too "advanced".