1 #ifndef RS_ACTIONMODIFYMOVE_H
2 #define RS_ACTIONMODIFYMOVE_H
4 #include "rs_modification.h"
5 #include "rs_previewactioninterface.h"
9 * This action class can handle user events to move entities.
11 * @author Andrew Mustun
13 class RS_ActionModifyMove: public RS_PreviewActionInterface
20 SetReferencePoint, /**< Setting the reference point. */
21 SetTargetPoint, /**< Setting the target point. */
22 ShowDialog /**< Showing the options dialog. */
26 RS_ActionModifyMove(RS_EntityContainer & container, RS_GraphicView & graphicView);
27 ~RS_ActionModifyMove();
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;