#include <KoCreateShapesTool.h>
Graphe d'héritage de KoCreateShapesTool:
Fonctions membres publiques | |
KoCreateShapesTool (KoCanvasBase *canvas) | |
~KoCreateShapesTool () | |
destructor | |
void | mouseReleaseEvent (KoPointerEvent *event) |
void | paint (QPainter &painter, KoViewConverter &converter) |
Définition à la ligne 40 du fichier KoCreateShapesTool.h.
KoCreateShapesTool::KoCreateShapesTool | ( | KoCanvasBase * | canvas | ) |
Create a new tool; typically not called by applications, only by the KoToolManager
canvas | the canvas this tool works for. |
Définition à la ligne 30 du fichier KoCreateShapesTool.cpp.
KoCreateShapesTool::~KoCreateShapesTool | ( | ) | [inline] |
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.
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.
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 :