libs/flake

KoPathConnectionPointStrategy Class Reference

/internal More...

#include <KoPathConnectionPointStrategy.h>

Inheritance diagram for KoPathConnectionPointStrategy:

List of all members.

Public Member Functions

 KoPathConnectionPointStrategy (KoPathTool *tool, KoCanvasBase *canvas, KoConnectionShape *parameterShape, int handleId)
virtual ~KoPathConnectionPointStrategy ()
virtual QUndoCommandcreateCommand ()
virtual void finishInteraction (Qt::KeyboardModifiers modifiers)
virtual void handleMouseMove (const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers)

Detailed Description

/internal

Strategy for moving points of a path shape.

Definition at line 36 of file KoPathConnectionPointStrategy.h.


Constructor & Destructor Documentation

KoPathConnectionPointStrategy::KoPathConnectionPointStrategy ( KoPathTool tool,
KoCanvasBase canvas,
KoConnectionShape parameterShape,
int  handleId 
)

Definition at line 37 of file KoPathConnectionPointStrategy.cpp.

KoPathConnectionPointStrategy::~KoPathConnectionPointStrategy (  )  [virtual]

Definition at line 51 of file KoPathConnectionPointStrategy.cpp.


Member Function Documentation

QUndoCommand * KoPathConnectionPointStrategy::createCommand (  )  [virtual]

For interactions that are undo-able this method should be implemented to return such a command.

Implementations should return 0 otherwise.

Returns:
a command, or 0.

Reimplemented from KoParameterChangeStrategy.

Definition at line 140 of file KoPathConnectionPointStrategy.cpp.

void KoPathConnectionPointStrategy::finishInteraction ( Qt::KeyboardModifiers  modifiers  )  [virtual]

Override to make final changes to the data on the end of an interaction.

Reimplemented from KoParameterChangeStrategy.

Definition at line 135 of file KoPathConnectionPointStrategy.cpp.

void KoPathConnectionPointStrategy::handleMouseMove ( const QPointF mouseLocation,
Qt::KeyboardModifiers  modifiers 
) [virtual]

Extending classes should implement this method to update the selectedShapes based on the new mouse position.

Parameters:
mouseLocation the new location in pt
modifiers OR-ed set of keys pressed.

Reimplemented from KoParameterChangeStrategy.

Definition at line 55 of file KoPathConnectionPointStrategy.cpp.


The documentation for this class was generated from the following files: