1 #ifndef RS_ACTIONMODIFYMIRROR_H
2 #define RS_ACTIONMODIFYMIRROR_H
4 #include "rs_modification.h"
5 #include "rs_previewactioninterface.h"
9 * This action class can handle user events to mirror entities.
11 * @author Andrew Mustun
13 class RS_ActionModifyMirror: public RS_PreviewActionInterface
20 SetAxisPoint1, /**< Setting the 1st point of the axis. */
21 SetAxisPoint2, /**< Setting the 2nd point of the axis. */
22 ShowDialog /**< Showing the options dialog. */
26 RS_ActionModifyMirror(RS_EntityContainer & container, GraphicView & graphicView);
27 ~RS_ActionModifyMirror();
29 virtual void init(int status = 0);
30 virtual void trigger();
31 virtual void coordinateEvent(Vector * e);
32 virtual void mouseMoveEvent(QMouseEvent * e);
33 virtual void mouseReleaseEvent(QMouseEvent * e);
34 virtual void updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();