libs/flake
KoPathPointMoveStrategy Class Reference
Strategy for moving points of a path shape. More...
#include <KoPathPointMoveStrategy.h>

Public Member Functions | |
| KoPathPointMoveStrategy (KoPathTool *tool, KoCanvasBase *canvas, const QPointF &pos) | |
| virtual | ~KoPathPointMoveStrategy () |
| virtual QUndoCommand * | createCommand () |
| virtual void | finishInteraction (Qt::KeyboardModifiers modifiers) |
| virtual void | handleMouseMove (const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers) |
Detailed Description
Strategy for moving points of a path shape.
Definition at line 34 of file KoPathPointMoveStrategy.h.
Constructor & Destructor Documentation
| KoPathPointMoveStrategy::KoPathPointMoveStrategy | ( | KoPathTool * | tool, | |
| KoCanvasBase * | canvas, | |||
| const QPointF & | pos | |||
| ) |
Definition at line 30 of file KoPathPointMoveStrategy.cpp.
| KoPathPointMoveStrategy::~KoPathPointMoveStrategy | ( | ) | [virtual] |
Definition at line 37 of file KoPathPointMoveStrategy.cpp.
Member Function Documentation
| QUndoCommand * KoPathPointMoveStrategy::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.
Implements KoInteractionStrategy.
Definition at line 69 of file KoPathPointMoveStrategy.cpp.
| void KoPathPointMoveStrategy::finishInteraction | ( | Qt::KeyboardModifiers | modifiers | ) | [virtual] |
Override to make final changes to the data on the end of an interaction.
Implements KoInteractionStrategy.
Definition at line 64 of file KoPathPointMoveStrategy.cpp.
| void KoPathPointMoveStrategy::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.
Implements KoInteractionStrategy.
Definition at line 41 of file KoPathPointMoveStrategy.cpp.
The documentation for this class was generated from the following files:
