1 #ifndef __ACTIONBLOCKSCREATE_H__
2 #define __ACTIONBLOCKSCREATE_H__
4 #include "actioninterface.h"
8 * This action class can handle user events for creating blocks from
11 * @author James Hammons
12 * @author Andrew Mustun
14 class ActionBlocksCreate: public ActionInterface
21 SetReferencePoint, /**< Setting the reference point. */
22 ShowDialog /**< Showing dialog for name. */
26 ActionBlocksCreate(EntityContainer & container, GraphicView & graphicView);
27 ~ActionBlocksCreate();
29 virtual RS2::ActionType rtti();
30 virtual void init(int status = 0);
31 virtual void trigger();
32 virtual void mouseMoveEvent(QMouseEvent * e);
33 virtual void mouseReleaseEvent(QMouseEvent * e);
34 virtual void coordinateEvent(Vector * e);
35 virtual void updateMouseButtonHints();
36 virtual void updateMouseCursor();
37 virtual void updateToolBar();
40 Vector referencePoint;
43 #endif // __ACTIONBLOCKSCREATE_H__