1 #ifndef __ACTIONSELECTINTERSECTED_H__
2 #define __ACTIONSELECTINTERSECTED_H__
4 #include "actioninterface.h"
8 * This action class can handle user events to select all entities.
10 * @author James Hammons
11 * @author Andrew Mustun
13 class ActionSelectIntersected: public ActionInterface
20 SetPoint1, /**< Setting the 1st corner of the window. */
21 SetPoint2 /**< Setting the 2nd corner of the window. */
25 ActionSelectIntersected(EntityContainer & container, GraphicView & graphicView, bool select);
26 ~ActionSelectIntersected();
28 virtual RS2::ActionType rtti();
29 virtual void init(int status = 0);
30 virtual void trigger();
31 virtual void mouseMoveEvent(QMouseEvent * e);
32 virtual void mousePressEvent(QMouseEvent * e);
33 virtual void mouseReleaseEvent(QMouseEvent * e);
34 virtual void updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();
45 #endif // __ACTIONSELECTINTERSECTED_H__