Workspace 6.21.5
Public Member Functions | List of all members
MoveEvent Class Reference

Event emitted to indicate that an operation's view must update its size and/or position.

#include <Workspace/Presentation/operationviewevents.h>

Inheritance diagram for MoveEvent:
[legend]

Public Member Functions

 MoveEvent (double dx, double dy, bool allowSnapToGrid=true)
 
bool getAllowSnapToGrid () const
 
QPointF getDelta () const
 
double getDeltaX () const
 
double getDeltaY () const
 
- Public Member Functions inherited from ObservableEventType< MoveEvent >
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & eventID ()
 
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & eventID ()
 
const EventIDSingleton< MoveEvent > & getEventID () const override
 
- Public Member Functions inherited from ObservableEvent
virtual ~ObservableEvent ()=default
 
virtual const EventIDgetEventID () const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from ObservableEventType< MoveEvent >
static const EventIDSingleton< MoveEvent > & eventID ()
 
- Protected Member Functions inherited from ObservableEventType< MoveEvent >
 ObservableEventType ()=default
 

Constructor & Destructor Documentation

◆ MoveEvent()

MoveEvent ( double  dx,
double  dy,
bool  allowSnapToGrid = true 
)
inline

Member Function Documentation

◆ getAllowSnapToGrid()

bool getAllowSnapToGrid ( ) const
inline

◆ getDelta()

QPointF getDelta ( ) const
inline

◆ getDeltaX()

double getDeltaX ( ) const
inline

◆ getDeltaY()

double getDeltaY ( ) const
inline