]> Shamusworld >> Repos - architektonas/blob - src/actions/actionpolylineadd.h
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionpolylineadd.h
1 #ifndef __ACTIONPOLYLINEADD_H__
2 #define __ACTIONPOLYLINEADD_H__
3
4 #include "actioninterface.h"
5
6 class Polyline;
7
8 /**
9  * This action class adds a node to an existing polyline.
10  *
11  * @author James Hammons
12  */
13 class ActionPolylineAdd: public ActionInterface
14 {
15         public:
16                 ActionPolylineAdd(EntityContainer & container, GraphicView & graphicView);
17                 ~ActionPolylineAdd();
18
19                 virtual RS2::ActionType rtti();
20 //              virtual void init(int status = 0);
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 updateMouseCursor();
26
27         protected:
28                 Polyline * polyline;
29 };
30
31 #endif  // __ACTIONPOLYLINEADD_H__