libs/flake
KoPanTool Class Reference
This is the tool that allows you to move the canvas by dragging it and 'panning' around. More...
#include <KoPanTool.h>
Inheritance diagram for KoPanTool:

Public Member Functions | |
| KoPanTool (KoCanvasBase *canvas) | |
| virtual void | activate (bool temporary=false) |
| virtual void | customMoveEvent (KoPointerEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | mouseMoveEvent (KoPointerEvent *event) |
| virtual void | mousePressEvent (KoPointerEvent *event) |
| virtual void | mouseReleaseEvent (KoPointerEvent *event) |
| virtual void | paint (QPainter &, const KoViewConverter &) |
| void | setCanvasController (KoCanvasController *controller) |
| virtual bool | wantsAutoScroll () |
Detailed Description
This is the tool that allows you to move the canvas by dragging it and 'panning' around.
Definition at line 34 of file KoPanTool.h.
Constructor & Destructor Documentation
| KoPanTool::KoPanTool | ( | KoCanvasBase * | canvas | ) | [explicit] |
Constructor.
- Parameters:
-
canvas the canvas this tool works on.
Definition at line 31 of file KoPanTool.cpp.
Member Function Documentation
| void KoPanTool::activate | ( | bool | temporary = false |
) | [virtual] |
reimplemented from superclass
Reimplemented from KoTool.
Definition at line 91 of file KoPanTool.cpp.
| void KoPanTool::customMoveEvent | ( | KoPointerEvent * | event | ) | [virtual] |
| void KoPanTool::keyPressEvent | ( | QKeyEvent * | event | ) | [virtual] |
reimplemented from superclass
Reimplemented from KoTool.
Definition at line 72 of file KoPanTool.cpp.
| void KoPanTool::mouseMoveEvent | ( | KoPointerEvent * | event | ) | [virtual] |
| void KoPanTool::mousePressEvent | ( | KoPointerEvent * | event | ) | [virtual] |
| void KoPanTool::mouseReleaseEvent | ( | KoPointerEvent * | event | ) | [virtual] |
| virtual void KoPanTool::paint | ( | QPainter & | , | |
| const KoViewConverter & | ||||
| ) | [inline, virtual] |
| void KoPanTool::setCanvasController | ( | KoCanvasController * | controller | ) | [inline] |
set the canvasController this tool works on.
Definition at line 61 of file KoPanTool.h.
| bool KoPanTool::wantsAutoScroll | ( | ) | [virtual] |
reimplemented from superclass
Reimplemented from KoTool.
Definition at line 38 of file KoPanTool.cpp.
The documentation for this class was generated from the following files:
