* Action States.
*/
enum Status {
- Neutral, /**< we don't know what we do yet. */
- Dragging, /**< dragging (either an entity or the
- first part of a selection window) */
- SetCorner2, /**< Setting the 2nd corner of a selection window. */
- Moving, /**< Moving entities (drag'n'drop) */
- MovingRef /**< Moving a reference point of one or more selected
- entities */
+ Neutral, /**< we don't know what we do yet. */
+ Dragging, /**< dragging (either an entity or the
+ first part of a selection window) */
+ SetCorner2, /**< Setting the 2nd corner of a selection window. */
+ Moving, /**< Moving entities (drag'n'drop) */
+ MovingRef /**< Moving a reference point of one or more selected
+ entities */
};
public:
- ActionDefault(RS_EntityContainer & container, GraphicView & graphicView);
+ ActionDefault(EntityContainer & container, GraphicView & graphicView);
virtual ~ActionDefault();
virtual RS2::ActionType rtti();
virtual void mouseMoveEvent(QMouseEvent * e);
virtual void mousePressEvent(QMouseEvent * e);
virtual void mouseReleaseEvent(QMouseEvent * e);
- virtual void commandEvent(RS_CommandEvent * e);
+ virtual void commandEvent(CommandEvent * e);
virtual QStringList getAvailableCommands();
virtual void updateMouseButtonHints();
virtual void updateMouseCursor();