1 #ifndef __ACTIONMODIFYBEVEL_H__
2 #define __ACTIONMODIFYBEVEL_H__
4 #include "actioninterface.h"
5 #include "modification.h"
8 * This action class can handle user events to bevel corners.
10 * @author James Hammons
11 * @author Andrew Mustun
13 class ActionModifyBevel: public ActionInterface
20 SetEntity1, /**< Choosing the 1st entity. */
21 SetEntity2, /**< Choosing the 2nd entity. */
22 SetLength1, /**< Setting length 1 in command line. */
23 SetLength2 /**< Setting length 2 in command line. */
24 //SetTrim /**< Setting trim flag in command line. */
28 ActionModifyBevel(EntityContainer & container, GraphicView & graphicView);
31 virtual RS2::ActionType rtti();
32 virtual void init(int status = 0);
33 virtual void trigger();
34 virtual void mouseMoveEvent(QMouseEvent * e);
35 virtual void mouseReleaseEvent(QMouseEvent * e);
36 virtual void commandEvent(CommandEvent * e);
37 virtual QStringList getAvailableCommands();
38 virtual void hideOptions();
39 virtual void showOptions();
40 virtual void updateMouseButtonHints();
41 virtual void updateMouseCursor();
42 virtual void updateToolBar();
43 void setLength1(double l1);
45 void setLength2(double l2);
56 /** Last status before entering angle. */
60 #endif // __ACTIONMODIFYBEVEL_H__