1 #ifndef __ACTIONSETRELATIVEZERO_H__
2 #define __ACTIONSETRELATIVEZERO_H__
4 #include "actioninterface.h"
8 * This action class can handle user events to set the relative Zero point. It
9 * overrides but retains the locking of the relative Zero.
11 * @author James Hammons
14 class ActionSetRelativeZero: public ActionInterface
17 ActionSetRelativeZero(EntityContainer & container, GraphicView & graphicView);
18 ~ActionSetRelativeZero();
20 virtual RS2::ActionType rtti();
21 virtual void trigger();
22 virtual void mouseMoveEvent(QMouseEvent * e);
23 virtual void mouseReleaseEvent(QMouseEvent * e);
24 virtual void coordinateEvent(Vector * e);
25 virtual void updateMouseButtonHints();
26 virtual void updateMouseCursor();
27 virtual void updateToolBar();
33 #endif // __ACTIONSETRELATIVEZERO_H__