1 #ifndef __ACTIONDRAWLINEFREE_H__
2 #define __ACTIONDRAWLINEFREE_H__
4 #include "actioninterface.h"
10 * This action class can handle user events to draw freehand lines.
12 * @author James Hammons
13 * @author Andrew Mustun
15 class ActionDrawLineFree: public ActionInterface
18 ActionDrawLineFree(EntityContainer & container, GraphicView & graphicView);
19 ~ActionDrawLineFree();
21 virtual void trigger();
22 virtual void mouseMoveEvent(QMouseEvent * e);
23 virtual void mousePressEvent(QMouseEvent * e);
24 virtual void mouseReleaseEvent(QMouseEvent * e);
25 virtual void updateMouseButtonHints();
26 virtual void updateMouseCursor();
27 virtual void updateToolBar();
34 #endif // __ACTIONDRAWLINEFREE_H__