DVEventAddShape : add a cross for help drawing

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3339 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-09-28 11:42:08 +00:00
parent 8eaa2949c6
commit 7ebdf8cf00
2 changed files with 42 additions and 1 deletions

View File

@@ -32,9 +32,13 @@ class DVEventAddShape : public DVEventInterface
virtual bool mouseMoveEvent (QMouseEvent *event);
virtual bool mouseReleaseEvent (QMouseEvent *event);
private:
void updateHelpCross (const QPoint &p);
protected:
QetShapeItem::ShapeType m_shape_type;
QetShapeItem *m_shape_item;
QGraphicsLineItem *m_help_horiz, *m_help_verti;
};
#endif // DVEVENTADDSHAPE_H