Référence de la classe KoParameterChangeStrategy

#include <KoParameterChangeStrategy.h>

Graphe d'héritage de KoParameterChangeStrategy:

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

Fonctions membres publiques

 KoParameterChangeStrategy (KoTool *tool, KoCanvasBase *canvas, KoParameterShape *parameterShape, int handleId)
virtual ~KoParameterChangeStrategy ()
virtual void handleMouseMove (const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers)
virtual void finishInteraction (Qt::KeyboardModifiers modifiers)
virtual KCommand * createCommand ()

Attributs privés

KoParameterShapem_parameterShape
int m_handleId
QPointF m_startPoint

Description détaillée

Définition à la ligne 27 du fichier KoParameterChangeStrategy.h.


Documentation des contructeurs et destructeur

KoParameterChangeStrategy::KoParameterChangeStrategy ( KoTool tool,
KoCanvasBase canvas,
KoParameterShape parameterShape,
int  handleId 
)

Définition à la ligne 24 du fichier KoParameterChangeStrategy.cpp.

KoParameterChangeStrategy::~KoParameterChangeStrategy (  )  [virtual]

Définition à la ligne 32 du fichier KoParameterChangeStrategy.cpp.


Documentation des fonctions membres

void KoParameterChangeStrategy::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 36 du fichier KoParameterChangeStrategy.cpp.

Références KoPathShape::documentToShape(), m_handleId, m_parameterShape, et KoParameterShape::moveHandle().

Voici le graphe d'appel pour cette fonction :

virtual void KoParameterChangeStrategy::finishInteraction ( Qt::KeyboardModifiers  modifiers  )  [inline, virtual]

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

Implémente KoInteractionStrategy.

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

KCommand * KoParameterChangeStrategy::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 41 du fichier KoParameterChangeStrategy.cpp.

Références KoParameterShape::handlePosition(), m_handleId, m_parameterShape, et m_startPoint.

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoParameterShape* KoParameterChangeStrategy::m_parameterShape [private]

Définition à la ligne 38 du fichier KoParameterChangeStrategy.h.

Référencé par createCommand(), et handleMouseMove().

int KoParameterChangeStrategy::m_handleId [private]

Définition à la ligne 39 du fichier KoParameterChangeStrategy.h.

Référencé par createCommand(), et handleMouseMove().

QPointF KoParameterChangeStrategy::m_startPoint [private]

Définition à la ligne 40 du fichier KoParameterChangeStrategy.h.

Référencé par createCommand().


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