1 #ifndef __ACTIONDRAWHATCH_H__
2 #define __ACTIONDRAWHATCH_H__
5 #include "actioninterface.h"
8 * This action class can handle user events to draw hatches.
10 * @author James Hammons
11 * @author Andrew Mustun
13 class ActionDrawHatch: public ActionInterface
20 ShowDialog /**< Showing the hatch dialog. */
24 ActionDrawHatch(EntityContainer & container, GraphicView & graphicView);
27 virtual void init(int status = 0);
28 virtual void trigger();
29 virtual void mouseMoveEvent(QMouseEvent * e);
30 virtual void mouseReleaseEvent(QMouseEvent * e);
31 virtual void updateMouseButtonHints();
32 virtual void updateMouseCursor();
33 virtual void updateToolBar();
40 #endif // __ACTIONDRAWHATCH_H__