1 #ifndef __ACTIONMODIFYTRIM_H__
2 #define __ACTIONMODIFYTRIM_H__
4 #include "actioninterface.h"
10 * This action class can handle user events to trim entities.
12 * @author James Hammons
13 * @author Andrew Mustun
15 class ActionModifyTrim: public ActionInterface
22 ChooseLimitEntity, /**< Choosing the limiting entity. */
23 ChooseTrimEntity /**< Choosing the entity to trim. */
27 ActionModifyTrim(EntityContainer & container, GraphicView & graphicView, bool both = false);
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 updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();
46 #endif // __ACTIONMODIFYTRIM_H__