Référence de la classe KoCreateShapeStrategy

#include <KoCreateShapeStrategy.h>

Graphe d'héritage de KoCreateShapeStrategy:

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

Fonctions membres publiques

 KoCreateShapeStrategy (KoCreateShapesTool *tool, KoCanvasBase *canvas, const QPointF &clicked)
virtual ~KoCreateShapeStrategy ()
void finishInteraction (Qt::KeyboardModifiers modifiers)
KCommand * createCommand ()

Attributs privés

KoCreateShapesToolm_tool

Description détaillée

A strategy for the KoCreateShapesTool.

Définition à la ligne 33 du fichier KoCreateShapeStrategy.h.


Documentation des contructeurs et destructeur

KoCreateShapeStrategy::KoCreateShapeStrategy ( KoCreateShapesTool tool,
KoCanvasBase canvas,
const QPointF &  clicked 
)

Constructor that starts to create a new shape.

Paramètres:
tool the parent tool which controls this strategy
canvas the canvas interface which will supply things like a selection object
clicked the initial point that the user depressed (in pt).

Définition à la ligne 35 du fichier KoCreateShapeStrategy.cpp.

virtual KoCreateShapeStrategy::~KoCreateShapeStrategy (  )  [inline, virtual]

Définition à la ligne 42 du fichier KoCreateShapeStrategy.h.


Documentation des fonctions membres

void KoCreateShapeStrategy::finishInteraction ( Qt::KeyboardModifiers  modifiers  )  [virtual]

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

Réimplémentée à partir de KoShapeRubberSelectStrategy.

Définition à la ligne 120 du fichier KoCreateShapeStrategy.cpp.

Références KoInteractionStrategy::m_canvas, KoShapeRubberSelectStrategy::selectRect(), et KoCanvasBase::updateCanvas().

Voici le graphe d'appel pour cette fonction :

KCommand * KoCreateShapeStrategy::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.

Réimplémentée à partir de KoShapeRubberSelectStrategy.

Définition à la ligne 41 du fichier KoCreateShapeStrategy.cpp.

Références KoShape::boundingRect(), KoCanvasBase::canvasWidget(), KoShapeConfigFactory::compare(), KoShapeController::controller(), KoShapeConfigFactory::createConfigWidget(), KoSelection::deselectAll(), testguiqt::dialog, KoGenericRegistry< T >::get(), KoShapeRegistry::instance(), KoInteractionStrategy::m_canvas, KoInteractionStrategy::m_parent, m_tool, KoShapeConfigFactory::name(), KoShapeConfigWidgetBase::open(), KoShape::resize(), KoShapeConfigWidgetBase::save(), KoSelection::select(), KoShapeManager::selection(), KoShapeRubberSelectStrategy::selectRect(), KoShape::setPosition(), KoShapeConfigWidgetBase::setUnit(), KoShape::setZIndex(), KoShapeController::shapeId(), KoCanvasBase::shapeManager(), KoShapeController::shapeProperties(), KoShapeManager::shapesAt(), KoShapeConfigFactory::showForShapeId(), KoCanvasBase::unit(), et KoShape::zIndex().

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoCreateShapesTool* KoCreateShapeStrategy::m_tool [private]

Définition à la ligne 48 du fichier KoCreateShapeStrategy.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:44:36 2006 pour KPlato par  doxygen 1.5.1-p1