1 #ifndef __ACTIONMODIFYSTRETCH_H__
2 #define __ACTIONMODIFYSTRETCH_H__
4 #include "actioninterface.h"
8 * This action class can handle user events to move entities.
10 * @author James Hammons
11 * @author Andrew Mustun
13 class ActionModifyStretch: public ActionInterface
20 SetFirstCorner, /**< Setting first corner of selection. */
21 SetSecondCorner, /**< Setting second corner of selection. */
22 SetReferencePoint, /**< Setting the reference point. */
23 SetTargetPoint /**< Setting the target point. */
27 ActionModifyStretch(EntityContainer & container, GraphicView & graphicView);
28 ~ActionModifyStretch();
30 virtual void init(int status = 0);
31 virtual void trigger();
32 virtual void coordinateEvent(Vector * e);
33 virtual void mouseMoveEvent(QMouseEvent * e);
34 virtual void mouseReleaseEvent(QMouseEvent * e);
35 virtual void updateMouseButtonHints();
36 virtual void updateMouseCursor();
37 virtual void updateToolBar();
42 Vector referencePoint;
46 #endif // __ACTIONMODIFYSTRETCH_H__