Référence de la classe KoPathPointMoveStrategy

Strategy for moving points of a path shape. Plus de détails...

#include <KoPathPointMoveStrategy.h>

Graphe d'héritage de KoPathPointMoveStrategy:

[légende]
Graphe de collaboration de KoPathPointMoveStrategy:
[légende]
Liste de tous les membres

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
KoPathToolm_tool
 pointer to the path tool

Description détaillée

Strategy for moving points of a path shape.

Définition à la ligne 34 du fichier KoPathPointMoveStrategy.h.


Documentation des contructeurs et destructeur

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.


Documentation des fonctions membres

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.

Paramètres:
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.

Renvoie:
a command, or 0.

Implémente KoInteractionStrategy.

Définition à la ligne 57 du fichier KoPathPointMoveStrategy.cpp.

Références m_move, KoPathTool::m_pointSelection, et m_tool.


Documentation des données membres

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().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:47:42 2006 pour KPlato par  doxygen 1.5.1-p1