#include <KoCreateShapeStrategy.h>
Graphe d'héritage de KoCreateShapeStrategy:
Fonctions membres publiques | |
KoCreateShapeStrategy (KoCreateShapesTool *tool, KoCanvasBase *canvas, const QPointF &clicked) | |
virtual | ~KoCreateShapeStrategy () |
void | finishInteraction (Qt::KeyboardModifiers modifiers) |
KCommand * | createCommand () |
Attributs privés | |
KoCreateShapesTool * | m_tool |
Définition à la ligne 33 du fichier KoCreateShapeStrategy.h.
KoCreateShapeStrategy::KoCreateShapeStrategy | ( | KoCreateShapesTool * | tool, | |
KoCanvasBase * | canvas, | |||
const QPointF & | clicked | |||
) |
Constructor that starts to create a new shape.
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.
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.
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 :
KoCreateShapesTool* KoCreateShapeStrategy::m_tool [private] |