1 #ifndef __ACTIONMODIFYTRIMAMOUNT_H__
2 #define __ACTIONMODIFYTRIMAMOUNT_H__
4 #include "actioninterface.h"
10 * This action class can handle user events to trim entities by a given
13 * @author James Hammons
14 * @author Andrew Mustun
16 class ActionModifyTrimAmount: public ActionInterface
23 ChooseTrimEntity /**< Choosing the entity to trim. */
27 ActionModifyTrimAmount(EntityContainer & container, GraphicView & graphicView);
28 ~ActionModifyTrimAmount();
30 virtual RS2::ActionType rtti();
31 virtual void init(int status = 0);
32 virtual void trigger();
33 //virtual void mouseMoveEvent(QMouseEvent* e);
34 virtual void mouseReleaseEvent(QMouseEvent * e);
35 virtual void commandEvent(CommandEvent * e);
36 virtual QStringList getAvailableCommands();
37 virtual void hideOptions();
38 virtual void showOptions();
39 virtual void updateMouseButtonHints();
40 virtual void updateMouseCursor();
41 virtual void updateToolBar();
43 void setDistance(double d);
51 #endif // __ACTIONMODIFYTRIMAMOUNT_H__