#include <KoPathControlPointMoveStrategy.h>
Graphe d'héritage de KoPathControlPointMoveStrategy:
Fonctions membres publiques | |
| KoPathControlPointMoveStrategy (KoPathTool *tool, KoCanvasBase *canvas, KoPathPoint *point, KoPathPoint::KoPointType type, const QPointF &pos) | |
| virtual | ~KoPathControlPointMoveStrategy () |
| 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 |
| KoPathPoint * | m_point |
| KoPathPoint::KoPointType | m_pointType |
Définition à la ligne 34 du fichier KoPathControlPointMoveStrategy.h.
| KoPathControlPointMoveStrategy::KoPathControlPointMoveStrategy | ( | KoPathTool * | tool, | |
| KoCanvasBase * | canvas, | |||
| KoPathPoint * | point, | |||
| KoPathPoint::KoPointType | type, | |||
| const QPointF & | pos | |||
| ) |
Définition à la ligne 26 du fichier KoPathControlPointMoveStrategy.cpp.
| KoPathControlPointMoveStrategy::~KoPathControlPointMoveStrategy | ( | ) | [virtual] |
Définition à la ligne 36 du fichier KoPathControlPointMoveStrategy.cpp.
| void KoPathControlPointMoveStrategy::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 40 du fichier KoPathControlPointMoveStrategy.cpp.
Références KoControlPointMoveCommand::execute(), m_lastPosition, m_move, m_point, m_pointType, m_tool, et KoPathTool::snapToGrid().
Voici le graphe d'appel pour cette fonction :
| void KoPathControlPointMoveStrategy::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 54 du fichier KoPathControlPointMoveStrategy.cpp.
| KCommand * KoPathControlPointMoveStrategy::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 59 du fichier KoPathControlPointMoveStrategy.cpp.
Références m_move, m_point, et m_pointType.
QPointF KoPathControlPointMoveStrategy::m_lastPosition [private] |
the last mouse position
Définition à la ligne 45 du fichier KoPathControlPointMoveStrategy.h.
Référencé par handleMouseMove().
QPointF KoPathControlPointMoveStrategy::m_move [private] |
the accumulated point move amount
Définition à la ligne 47 du fichier KoPathControlPointMoveStrategy.h.
Référencé par createCommand(), et handleMouseMove().
KoPathTool* KoPathControlPointMoveStrategy::m_tool [private] |
Définition à la ligne 49 du fichier KoPathControlPointMoveStrategy.h.
Référencé par handleMouseMove().
Définition à la ligne 50 du fichier KoPathControlPointMoveStrategy.h.
Référencé par createCommand(), et handleMouseMove().
Définition à la ligne 51 du fichier KoPathControlPointMoveStrategy.h.
Référencé par createCommand(), et handleMouseMove().
1.5.1-p1