1 #ifndef __ACTIONMODIFYCUT_H__
2 #define __ACTIONMODIFYCUT_H__
4 #include "actioninterface.h"
10 * This action class can handle user events to divide entities.
12 * @author James Hammons
13 * @author Andrew Mustun
15 class ActionModifyCut: public ActionInterface
22 ChooseCutEntity, /**< Choosing the entity to cut in two. */
23 SetCutCoord /**< Choosing the cutting point. */
27 ActionModifyCut(EntityContainer & container, GraphicView & graphicView);
30 virtual void init(int status = 0);
31 virtual void trigger();
32 virtual void mouseMoveEvent(QMouseEvent * e);
33 virtual void mouseReleaseEvent(QMouseEvent * e);
34 virtual void updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();
43 #endif // __ACTIONMODIFYCUT_H__