#include <KoPathPointMoveStrategy.h>
Graphe d'héritage de KoPathPointMoveStrategy:
Fonctions membres publiques | |
| KoPathPointMoveStrategy (KoPathTool *tool, KoCanvasBase *canvas, const QPointF &pos) | |
| virtual | ~KoPathPointMoveStrategy () |
| virtual void | handleMouseMove (const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers) |
| virtual void | finishInteraction (Qt::KeyboardModifiers modifiers) |
| virtual KCommand * | createCommand () |
Attributs privés | |
| QPointF | m_lastPosition |
| the last mouse position | |
| QPointF | m_move |
| the accumulated point move amount | |
| KoPathTool * | m_tool |
| pointer to the path tool | |
Définition à la ligne 34 du fichier KoPathPointMoveStrategy.h.
| KoPathPointMoveStrategy::KoPathPointMoveStrategy | ( | KoPathTool * | tool, | |
| KoCanvasBase * | canvas, | |||
| const QPointF & | pos | |||
| ) |
Définition à la ligne 26 du fichier KoPathPointMoveStrategy.cpp.
| KoPathPointMoveStrategy::~KoPathPointMoveStrategy | ( | ) | [virtual] |
Définition à la ligne 34 du fichier 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.
| mouseLocation | the new location in pt | |
| modifiers | OR-ed set of keys pressed. |
Implémente KoInteractionStrategy.
Définition à la ligne 38 du fichier KoPathPointMoveStrategy.cpp.
Références m_lastPosition, m_move, KoPathTool::m_pointSelection, m_tool, et KoPathTool::snapToGrid().
Voici le graphe d'appel pour cette fonction :
| void KoPathPointMoveStrategy::finishInteraction | ( | Qt::KeyboardModifiers | modifiers | ) | [virtual] |
Override to make final changes to the data on the end of an interaction.
Implémente KoInteractionStrategy.
Définition à la ligne 52 du fichier KoPathPointMoveStrategy.cpp.
| KCommand * KoPathPointMoveStrategy::createCommand | ( | ) | [virtual] |
For interactions that are undo-able this method should be implemented to return such a command. Implementations should return 0 otherwise.
Implémente KoInteractionStrategy.
Définition à la ligne 57 du fichier KoPathPointMoveStrategy.cpp.
Références m_move, KoPathTool::m_pointSelection, et m_tool.
QPointF KoPathPointMoveStrategy::m_lastPosition [private] |
the last mouse position
Définition à la ligne 45 du fichier KoPathPointMoveStrategy.h.
Référencé par handleMouseMove().
QPointF KoPathPointMoveStrategy::m_move [private] |
the accumulated point move amount
Définition à la ligne 47 du fichier KoPathPointMoveStrategy.h.
Référencé par createCommand(), et handleMouseMove().
KoPathTool* KoPathPointMoveStrategy::m_tool [private] |
pointer to the path tool
Définition à la ligne 49 du fichier KoPathPointMoveStrategy.h.
Référencé par createCommand(), et handleMouseMove().
1.5.1-p1