summaryrefslogtreecommitdiff
path: root/tests/auto/qgraphicstransform/qgraphicstransform.pro
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-07-29 02:26:43 +0200
committerLars Knoll <lars.knoll@nokia.com>2009-07-29 02:26:44 +0200
commita6ea9ce6990003856ecadcca8ce9ddf37949363d (patch)
tree32bce99c4cf28cb922feca329f848ac0c5c47f42 /tests/auto/qgraphicstransform/qgraphicstransform.pro
parent62d81d9955f39bac327affd703b9df006ee8f6f7 (diff)
downloadqt4-tools-a6ea9ce6990003856ecadcca8ce9ddf37949363d.tar.gz
Implement new transformation handling for graphics items.
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
Diffstat (limited to 'tests/auto/qgraphicstransform/qgraphicstransform.pro')
-rw-r--r--tests/auto/qgraphicstransform/qgraphicstransform.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgraphicstransform/qgraphicstransform.pro b/tests/auto/qgraphicstransform/qgraphicstransform.pro
new file mode 100644
index 0000000000..709cff6901
--- /dev/null
+++ b/tests/auto/qgraphicstransform/qgraphicstransform.pro
@@ -0,0 +1,2 @@
+load(qttest_p4)
+SOURCES += tst_qgraphicstransform.cpp