summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicswidget.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-05-28 08:13:12 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:27:07 (GMT)
commit8afef542ead463b6937ec907c0b35a7977ed4a83 (patch)
treeeef3020951a7a5c95eb4ef3355ee1c4d74a9dad3 /src/gui/graphicsview/qgraphicswidget.h
parent63a3c0ad549b57d0896f267383cf671d6212a70e (diff)
downloadQt-8afef542ead463b6937ec907c0b35a7977ed4a83.zip
Qt-8afef542ead463b6937ec907c0b35a7977ed4a83.tar.gz
Qt-8afef542ead463b6937ec907c0b35a7977ed4a83.tar.bz2
simplify and cleanup handling of transformations in QGraphicsItem
Removed some experimental code to handle scaling and rotating around different axis. It cuased setTransform and transform not to behave symmetrically and caused some performance regressions. Additionally moved the QTransform out of the (relatively slow) extra list and made it a pointer in QGraphicsItemPrivate. Reviewed-by: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgraphicswidget.h')
-rw-r--r--src/gui/graphicsview/qgraphicswidget.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/graphicsview/qgraphicswidget.h b/src/gui/graphicsview/qgraphicswidget.h
index a5c9068..34f1c5f 100644
--- a/src/gui/graphicsview/qgraphicswidget.h
+++ b/src/gui/graphicsview/qgraphicswidget.h
@@ -81,14 +81,7 @@ class Q_GUI_EXPORT QGraphicsWidget : public QObject, public QGraphicsItem, publi
Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
Q_PROPERTY(QPointF pos READ pos WRITE setPos)
Q_PROPERTY(QRectF geometry READ geometry WRITE setGeometry)
- Q_PROPERTY(QPointF transformOrigin READ transformOrigin WRITE setTransformOrigin)
- Q_PROPERTY(qreal xRotation READ xRotation WRITE setXRotation)
- Q_PROPERTY(qreal yRotation READ yRotation WRITE setYRotation)
- Q_PROPERTY(qreal zRotation READ zRotation WRITE setZRotation)
- Q_PROPERTY(qreal xScale READ xScale WRITE setXScale)
- Q_PROPERTY(qreal yScale READ yScale WRITE setYScale)
- Q_PROPERTY(qreal horizontalShear READ horizontalShear WRITE setHorizontalShear)
- Q_PROPERTY(qreal verticalShear READ verticalShear WRITE setVerticalShear)
+
public:
QGraphicsWidget(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
~QGraphicsWidget();