diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 19:09:42 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-07-29 03:46:01 (GMT) |
commit | 348d74a53bfe0b1db6081748d25303637180ad9d (patch) | |
tree | 3ea9678fd5ce27e43f4a9ed6fd3aeef6ddf3c23d /src/declarative/fx/qfxitem.h | |
parent | c2cfe5c403f379b3196416960880ade859b7e509 (diff) | |
download | Qt-348d74a53bfe0b1db6081748d25303637180ad9d.zip Qt-348d74a53bfe0b1db6081748d25303637180ad9d.tar.gz Qt-348d74a53bfe0b1db6081748d25303637180ad9d.tar.bz2 |
Remove the rotation/scale properties from QFxItem
This is directly supported in QGraphicsItem and we should
use the methods from there.
The transformation handling code in QGraphicsItem needs further cleanups
to get to the agreed model (using a QGraphicsTransform and only
implementing rotate/scale as trivial transformations)
Diffstat (limited to 'src/declarative/fx/qfxitem.h')
-rw-r--r-- | src/declarative/fx/qfxitem.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/declarative/fx/qfxitem.h b/src/declarative/fx/qfxitem.h index c444507..3047713 100644 --- a/src/declarative/fx/qfxitem.h +++ b/src/declarative/fx/qfxitem.h @@ -142,8 +142,6 @@ class Q_DECLARATIVE_EXPORT QFxItem : public QGraphicsObject, public QmlParserSta Q_PROPERTY(QFxAnchorLine verticalCenter READ verticalCenter CONSTANT FINAL) Q_PROPERTY(QFxAnchorLine baseline READ baseline CONSTANT FINAL) Q_PROPERTY(qreal baselineOffset READ baselineOffset WRITE setBaselineOffset NOTIFY baselineOffsetChanged) - Q_PROPERTY(qreal rotation READ rotation WRITE setRotation NOTIFY rotationChanged) // ## remove me - Q_PROPERTY(qreal scale READ scale WRITE setScale NOTIFY scaleChanged) // ### remove me Q_PROPERTY(bool clip READ clip WRITE setClip) // ### move to QGI/QGO, NOTIFY Q_PROPERTY(bool focus READ hasFocus WRITE setFocus NOTIFY focusChanged FINAL) Q_PROPERTY(bool activeFocus READ hasActiveFocus NOTIFY activeFocusChanged FINAL) @@ -205,12 +203,6 @@ public: qreal baselineOffset() const; void setBaselineOffset(qreal); - qreal rotation() const; - void setRotation(qreal); - - qreal scale() const; - void setScale(qreal); - QList<QFxTransform *> *transform(); bool isClassComplete() const; @@ -245,9 +237,6 @@ public: QRectF boundingRect() const; virtual void paintContents(QPainter &); - QTransform transform() const; // ### remove me - void setTransform(const QTransform &); // ### remove me - QFxItem *mouseGrabberItem() const; virtual bool hasFocus() const; |