Workspace 6.21.5
|
Command class for rotating a connection anchor.
#include <Workspace/Presentation/UndoCommands/rotateanchor.h>
Public Member Functions | |
RotateAnchor (DataExecution::Workspace &workspace, const QUuid &anchorId, int angleDelta, bool mergeable=true) | |
int | id () const override |
bool | mergeWith (const QUndoCommand *other) override |
void | redo () override |
void | undo () override |
RotateAnchor | ( | DataExecution::Workspace & | workspace, |
const QUuid & | anchorId, | ||
int | angleDelta, | ||
bool | mergeable = true |
||
) |
workspace | The workspace in which the anchor to be rotated resides. |
anchorId | The ID of the anchor to be rotated. |
angleDelta | The relative amount to rotate the anchor by in degrees. |
mergeable | If true, this rotation can be merged with a previous rotation. |
|
override |
|
override |
|
override |
|
override |