20#ifndef RACTIONADAPTER_H
21#define RACTIONADAPTER_H
Q_DECLARE_METATYPE(RMath *)
Abstract base class for all action classes.
Definition RActionAdapter.h:51
virtual void coordinateEvent(RCoordinateEvent &)
Called for every coordinate event.
Definition RActionAdapter.h:79
virtual void mouseDoubleClickEvent(RMouseEvent &)
Called on mouse double click events.
Definition RActionAdapter.h:71
virtual void entityPickEventPreview(REntityPickEvent &)
Definition RActionAdapter.h:82
virtual void propertyChangeEvent(RPropertyEvent &)
Called when the value of a property is modified while this action is active.
Definition RActionAdapter.h:83
virtual void commandEventPreview(RCommandEvent &)
Called when a command is being edited in the command line.
Definition RActionAdapter.h:78
virtual void updatePreview()
Definition RActionAdapter.h:87
virtual void beginEvent()
Called as soon as the action is created (menu chosen, toolbutton activated, etc).
Definition RActionAdapter.h:59
virtual void pinchGestureEvent(QPinchGesture &)
Called on pinch gesture events.
Definition RActionAdapter.h:76
virtual void escapeEvent()
Escape events are triggered if the user clicks the right mouse button or hits the Escape key.
Definition RActionAdapter.h:65
RActionAdapter(RGuiAction *guiAction=NULL)
Definition RActionAdapter.h:53
virtual void panGestureEvent(QPanGesture &)
Called on pan gesture events.
Definition RActionAdapter.h:75
virtual ~RActionAdapter()
Definition RActionAdapter.h:56
virtual void swipeGestureEvent(QSwipeGesture &)
Called on swipe gesture events.
Definition RActionAdapter.h:74
virtual void tabletEvent(RTabletEvent &)
Called on tablet events.
Definition RActionAdapter.h:73
virtual void keyReleaseEvent(QKeyEvent &)
Definition RActionAdapter.h:67
virtual void wheelEvent(RWheelEvent &)
Called on mouse wheel events.
Definition RActionAdapter.h:72
virtual void zoomChangeEvent(RGraphicsView &)
Called when the zoom factor or offset changed in the given view.
Definition RActionAdapter.h:84
virtual void resumeEvent()
Resumes the action (for example when another action became active and then terminated or if the mouse...
Definition RActionAdapter.h:64
virtual void mousePressEvent(RMouseEvent &)
Called on mouse press events.
Definition RActionAdapter.h:68
virtual void commandEvent(RCommandEvent &)
Called when a command is entered in the command line.
Definition RActionAdapter.h:77
virtual void applyOperation()
Definition RActionAdapter.h:88
virtual void enterEvent()
Called when user presses enter (e.g.
Definition RActionAdapter.h:62
virtual void keyPressEvent(QKeyEvent &)
Definition RActionAdapter.h:66
virtual void suspendEvent()
Called when the action is suspended, for example when another action becomes active or the mouse curs...
Definition RActionAdapter.h:63
virtual void mouseReleaseEvent(RMouseEvent &)
Called on mouse release events.
Definition RActionAdapter.h:70
virtual void finishEvent()
Called just before the action is deleted.
Definition RActionAdapter.h:61
virtual void setGraphicsView(RGraphicsView *)
Called if this action is set as a navigation action of a graphics view.
Definition RActionAdapter.h:60
virtual void mouseMoveEvent(RMouseEvent &)
Called on mouse move events.
Definition RActionAdapter.h:69
virtual void entityPickEvent(REntityPickEvent &)
Definition RActionAdapter.h:81
virtual void coordinateEventPreview(RCoordinateEvent &)
Called if the action is in PickCoordinate mode and the mouse is moved around.
Definition RActionAdapter.h:80
Abstract base class for all action classes.
Definition RAction.h:57
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RCommandEvent.h:34
Coordinate Event.
Definition RCoordinateEvent.h:39
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
Interface for interaction between a graphics document and a user.
Definition RDocumentInterface.h:97
Entity pick event.
Definition REntityPickEvent.h:38
Abstract base class for all graphics scenes.
Definition RGraphicsScene.h:64
Graphics view.
Definition RGraphicsView.h:67
Abstract base class for GUI action classes.
Definition RGuiAction.h:62
A mouse event for a graphics scene.
Definition RMouseEvent.h:42
This abstract class is an interface for all operation implementations.
Definition ROperation.h:45
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RPropertyEvent.h:40
This is the abstract base class for all storage implementations.
Definition RStorage.h:67
A tablet event for a graphics scene.
Definition RTabletEvent.h:43
A mouse wheel event for a graphics scene.
Definition RWheelEvent.h:41
#define QCADCORE_EXPORT
Definition core_global.h:10
#define NULL
Definition opennurbs_system.h:256