1 #ifndef __ACTIONMODIFYMIRROR_H__
2 #define __ACTIONMODIFYMIRROR_H__
4 #include "modification.h"
5 #include "actioninterface.h"
9 * This action class can handle user events to mirror entities.
11 * @author James Hammons
12 * @author Andrew Mustun
14 class ActionModifyMirror: public ActionInterface
21 SetAxisPoint1, /**< Setting the 1st point of the axis. */
22 SetAxisPoint2, /**< Setting the 2nd point of the axis. */
23 ShowDialog /**< Showing the options dialog. */
27 ActionModifyMirror(EntityContainer & container, GraphicView & graphicView);
28 ~ActionModifyMirror();
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();
45 #endif // __ACTIONMODIFYMIRROR_H__