1 #ifndef __ACTIONSELECTWINDOW_H__
2 #define __ACTIONSELECTWINDOW_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 ActionSelectWindow: public ActionInterface
20 SetCorner1, /**< Setting the 1st corner of the window. */
21 SetCorner2 /**< Setting the 2nd corner of the window. */
25 ActionSelectWindow(EntityContainer & container, GraphicView & graphicView, bool select);
26 ~ActionSelectWindow();
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 // __ACTIONSELECTWINDOW_H__