1 #ifndef __ACTIONDIMLEADER_H__
2 #define __ACTIONDIMLEADER_H__
5 #include "actioninterface.h"
11 * This action class can handle user events to draw leaders (arrows).
13 * @author James Hammons
14 * @author Andrew Mustun
16 class ActionDimLeader: public ActionInterface
23 SetStartpoint, /**< Setting the startpoint. */
24 SetEndpoint /**< Setting the endpoint. */
28 ActionDimLeader(EntityContainer & container, GraphicView & graphicView);
31 virtual RS2::ActionType rtti();
33 virtual void init(int status = 0);
34 virtual void trigger();
35 virtual void mouseMoveEvent(QMouseEvent * e);
36 virtual void mouseReleaseEvent(QMouseEvent * e);
37 virtual void keyPressEvent(QKeyEvent *);
38 virtual void coordinateEvent(Vector * e);
39 virtual void commandEvent(CommandEvent * e);
40 virtual QStringList getAvailableCommands();
41 virtual void showOptions();
42 virtual void hideOptions();
43 virtual void updateMouseButtonHints();
44 virtual void updateMouseCursor();
45 virtual void updateToolBar();
55 // Q3PtrList<Vector> points;
56 QList<Vector *> points;
59 #endif // __ACTIONDIMLEADER_H__