element editor: add arc is managed by ESEvent

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3470 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-11-09 21:58:46 +00:00
parent 58c2606db7
commit 53f87d2143
7 changed files with 256 additions and 49 deletions

View File

@@ -54,7 +54,6 @@ bool ESEventAddEllipse::mousePressEvent(QGraphicsSceneMouseEvent *event) {
if (!m_ellipse) {
m_ellipse = new PartEllipse(m_editor, 0, m_scene);
m_ellipse -> setRect(QRectF(pos, pos));
m_ellipse -> setProperty("antialias", true);
m_origin = pos;
return true;
}