Minor change : Change behavior of shape creation in diagram editor, to be same has element editor

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3580 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-12-29 23:18:00 +00:00
parent 0e3593e600
commit 991a9bfbc9
4 changed files with 142 additions and 58 deletions

View File

@@ -60,8 +60,12 @@ class QetShapeItem : public QetGraphicsItem
virtual void editProperty();
virtual QString name() const;
void setP2 (QPointF P2);
void setP2 (QPointF P2);
//Methods available for polygon shape
int pointsCount () const;
void setNextPoint (QPointF P);
void removePoints (int number = 1);
QRectF boundingRect() const;
QPainterPath shape() const;