1 #ifndef __ACTIONMODIFYROTATE_H__
2 #define __ACTIONMODIFYROTATE_H__
4 #include "modification.h"
5 #include "actioninterface.h"
9 * This action class can handle user events to move entities.
11 * @author James Hammons
12 * @author Andrew Mustun
14 class ActionModifyRotate: public ActionInterface
21 SetReferencePoint, /**< Setting the reference point. */
22 ShowDialog /**< Showing the options dialog. */
26 ActionModifyRotate(EntityContainer & container, GraphicView & graphicView);
27 ~ActionModifyRotate();
29 virtual void init(int status = 0);
30 virtual void trigger();
31 virtual void mouseMoveEvent(QMouseEvent * e);
32 virtual void mouseReleaseEvent(QMouseEvent * e);
33 virtual void coordinateEvent(Vector * e);
34 virtual void updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();
40 Vector referencePoint;
44 #endif // __ACTIONMODIFYROTATE_H__