QtGui/qgraphicstransform.h Source File
Go to the documentation of this file.
42 #ifndef QGRAPHICSTRANSFORM_H
43 #define QGRAPHICSTRANSFORM_H
45 #include <QtCore/QObject>
46 #include <QtGui/QVector3D>
47 #include <QtGui/QTransform>
48 #include <QtGui/QMatrix4x4>
50 #ifndef QT_NO_GRAPHICSVIEW
58 class QGraphicsTransformPrivate;
76 friend class QGraphicsItem;
77 friend class QGraphicsItemPrivate;
81 class QGraphicsScalePrivate;
88 Q_PROPERTY(qreal xScale READ xScale WRITE setXScale NOTIFY xScaleChanged)
89 Q_PROPERTY(qreal yScale READ yScale WRITE setYScale NOTIFY yScaleChanged)
90 Q_PROPERTY(qreal zScale READ zScale WRITE setZScale NOTIFY zScaleChanged)
99 void setXScale(qreal);
101 qreal yScale() const;
102 void setYScale(qreal);
104 qreal zScale() const;
105 void setZScale(qreal);
110 void originChanged();
111 void xScaleChanged();
112 void yScaleChanged();
113 void zScaleChanged();
120 class QGraphicsRotationPrivate;
127 Q_PROPERTY(qreal angle READ angle WRITE setAngle NOTIFY angleChanged)
137 void setAngle(qreal);
141 void setAxis(
Qt::
Axis axis);
146 void originChanged();
157 #endif //QT_NO_GRAPHICSVIEW
159 #endif // QFXTRANSFORM_H
#define QT_BEGIN_NAMESPACE