1 #ifndef RS_ACTIONSELECTINTERSECTED_H
2 #define RS_ACTIONSELECTINTERSECTED_H
4 #include "rs_previewactioninterface.h"
8 * This action class can handle user events to select all entities.
10 * @author Andrew Mustun
12 class RS_ActionSelectIntersected: public RS_PreviewActionInterface
19 SetPoint1, /**< Setting the 1st corner of the window. */
20 SetPoint2 /**< Setting the 2nd corner of the window. */
24 RS_ActionSelectIntersected(RS_EntityContainer & container, GraphicView & graphicView, bool select);
25 ~RS_ActionSelectIntersected();
27 virtual RS2::ActionType rtti();
28 virtual void init(int status = 0);
29 virtual void trigger();
30 virtual void mouseMoveEvent(QMouseEvent * e);
31 virtual void mousePressEvent(QMouseEvent * e);
32 virtual void mouseReleaseEvent(QMouseEvent * e);
33 virtual void updateMouseButtonHints();
34 virtual void updateMouseCursor();
35 virtual void updateToolBar();