#include <KoParameterChangeStrategy.h>
Graphe d'héritage de KoParameterChangeStrategy:
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 | |
KoParameterShape * | m_parameterShape |
int | m_handleId |
QPointF | m_startPoint |
Définition à la ligne 27 du fichier KoParameterChangeStrategy.h.
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.
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.
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.
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 :
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] |