1 #ifndef __ACTIONMODIFYSCALE_H__
2 #define __ACTIONMODIFYSCALE_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 ActionModifyScale: public ActionInterface
21 SetReferencePoint, /**< Setting the reference point. */
22 ShowDialog /**< Showing the options dialog. */
26 ActionModifyScale(EntityContainer & container, GraphicView & graphicView);
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 updateMouseButtonHints();
34 virtual void updateMouseCursor();
35 virtual void updateToolBar();
39 Vector referencePoint;
43 #endif // __ACTIONMODIFYSCALE_H__