mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-26 09:49:59 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user