Fonctions membres publiques | |
DummyTool () | |
~DummyTool () | |
void | paint (QPainter &, KoViewConverter &) |
void | mousePressEvent (KoPointerEvent *) |
void | mouseMoveEvent (KoPointerEvent *) |
void | mouseReleaseEvent (KoPointerEvent *) |
Définition à la ligne 95 du fichier KoToolManager.cpp.
DummyTool::DummyTool | ( | ) | [inline] |
Définition à la ligne 99 du fichier KoToolManager.cpp.
DummyTool::~DummyTool | ( | ) | [inline] |
Définition à la ligne 100 du fichier KoToolManager.cpp.
void DummyTool::paint | ( | QPainter & | , | |
KoViewConverter & | ||||
) | [inline, 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. |
Implémente KoTool.
Définition à la ligne 101 du fichier KoToolManager.cpp.
void DummyTool::mousePressEvent | ( | KoPointerEvent * | ) | [inline, virtual] |
Called when (one of) the mouse or stylus buttons is pressed. Implementors should call event->ignore() if they do not actually use the event.
event | state and reason of this mouse or stylus press |
Implémente KoTool.
Définition à la ligne 102 du fichier KoToolManager.cpp.
void DummyTool::mouseMoveEvent | ( | KoPointerEvent * | ) | [inline, virtual] |
Called when the mouse or stylus moved over the canvas. Implementors should call event->ignore() if they do not actually use the event.
event | state and reason of this mouse or stylus move |
Implémente KoTool.
Définition à la ligne 103 du fichier KoToolManager.cpp.
void DummyTool::mouseReleaseEvent | ( | KoPointerEvent * | ) | [inline, 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 |
Implémente KoTool.
Définition à la ligne 104 du fichier KoToolManager.cpp.