1 #ifndef __ACTIONDIMANGULAR_H__
2 #define __ACTIONDIMANGULAR_H__
4 #include "actiondimension.h"
5 #include "dimangular.h"
11 * This action class can handle user events to draw angular dimensions.
13 * @author Andrew Mustun
15 class ActionDimAngular: public ActionDimension
19 SetLine1, /**< Choose 1st line. */
20 SetLine2, /**< Choose 2nd line. */
21 SetPos, /**< Choose position. */
22 SetText /**< Setting text label in consle. */
26 ActionDimAngular(EntityContainer & container, GraphicView & graphicView);
29 virtual RS2::ActionType rtti();
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 commandEvent(CommandEvent * e);
36 virtual QStringList getAvailableCommands();
37 virtual void hideOptions();
38 virtual void showOptions();
39 virtual void updateMouseButtonHints();
42 /** 1st chosen line */
44 /** 2nd chosen line */
48 /** Data of new dimension */
50 /** Last status before entering text. */
54 #endif // __ACTIONDIMANGULAR_H__