QetGraphicsItem, remove the function applyRotation and rotateBy, and use instead the native function of QGraphicsItem : setRotation

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5281 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-03-27 19:04:43 +00:00
parent da186f2efb
commit 819c6c6f86
9 changed files with 20 additions and 52 deletions

View File

@@ -35,8 +35,6 @@ class QetGraphicsItem : public QGraphicsObject
Diagram *diagram () const;
virtual void setPos (const QPointF &p);
virtual void setPos (qreal x, qreal y);
virtual void rotateBy (const qreal &);
virtual void applyRotation (const qreal &);
virtual bool isMovable () const {return is_movable_;}
virtual void setMovable (bool movable) { is_movable_ = movable;}