Référence de la classe KoCreateShapesTool

#include <KoCreateShapesTool.h>

Graphe d'héritage de KoCreateShapesTool:

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

Fonctions membres publiques

 KoCreateShapesTool (KoCanvasBase *canvas)
 ~KoCreateShapesTool ()
 destructor
void mouseReleaseEvent (KoPointerEvent *event)
void paint (QPainter &painter, KoViewConverter &converter)

Description détaillée

A tool to create shapes with.

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


Documentation des contructeurs et destructeur

KoCreateShapesTool::KoCreateShapesTool ( KoCanvasBase canvas  ) 

Create a new tool; typically not called by applications, only by the KoToolManager

Paramètres:
canvas the canvas this tool works for.

Définition à la ligne 30 du fichier KoCreateShapesTool.cpp.

KoCreateShapesTool::~KoCreateShapesTool (  )  [inline]

destructor

Définition à la ligne 49 du fichier KoCreateShapesTool.h.


Documentation des fonctions membres

void KoCreateShapesTool::mouseReleaseEvent ( KoPointerEvent event  )  [virtual]

Called when (one of) the mouse or stylus buttons is released. Implementors should call event->ignore() if they do not actually use the event.

Paramètres:
event state and reason of this mouse or stylus release

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

Définition à la ligne 40 du fichier KoCreateShapesTool.cpp.

Références KoInteractionTool::mouseReleaseEvent(), et KoTool::sigDone().

Voici le graphe d'appel pour cette fonction :

void KoCreateShapesTool::paint ( QPainter &  painter,
KoViewConverter converter 
) [virtual]

Called by the canvas to paint any decorations that the tool deems needed. The painter has the top left of the canvas as its origin.

Paramètres:
painter used for painting the shape
converter to convert between internal and view coordinates.

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

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

Références KoInteractionTool::m_currentStrategy, et KoInteractionStrategy::paint().

Voici le graphe d'appel pour cette fonction :


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