libs/flake
KoZoomTool Class Reference
#include <KoZoomTool.h>

Public Member Functions | |
| KoZoomTool (KoCanvasBase *canvas) | |
| virtual void | activate (bool temporary=false) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| virtual void | mouseDoubleClickEvent (KoPointerEvent *event) |
| virtual void | mouseMoveEvent (KoPointerEvent *event) |
| virtual void | mouseReleaseEvent (KoPointerEvent *event) |
| void | setCanvasController (KoCanvasController *controller) |
| void | setZoomInMode (bool zoomIn) |
| virtual void | wheelEvent (KoPointerEvent *event) |
Protected Member Functions | |
| QWidget * | createOptionWidget () |
Detailed Description
For internal use only.
Definition at line 33 of file KoZoomTool.h.
Constructor & Destructor Documentation
| KoZoomTool::KoZoomTool | ( | KoCanvasBase * | canvas | ) | [explicit] |
Create a new tool; typically not called by applications, only by the KoToolManager.
- Parameters:
-
canvas the canvas this tool works for.
Definition at line 32 of file KoZoomTool.cpp.
Member Function Documentation
| void KoZoomTool::activate | ( | bool | temporary = false |
) | [virtual] |
| QWidget * KoZoomTool::createOptionWidget | ( | ) | [protected, virtual] |
Reimplement this if your tool actually has an option widget.
Sets the option widget to 0 by default.
Reimplemented from KoTool.
Definition at line 112 of file KoZoomTool.cpp.
| void KoZoomTool::keyPressEvent | ( | QKeyEvent * | event | ) | [virtual] |
reimplemented method
Reimplemented from KoInteractionTool.
Definition at line 66 of file KoZoomTool.cpp.
| void KoZoomTool::keyReleaseEvent | ( | QKeyEvent * | event | ) | [virtual] |
reimplemented method
Reimplemented from KoInteractionTool.
Definition at line 73 of file KoZoomTool.cpp.
| void KoZoomTool::mouseDoubleClickEvent | ( | KoPointerEvent * | event | ) | [virtual] |
| void KoZoomTool::mouseMoveEvent | ( | KoPointerEvent * | event | ) | [virtual] |
reimplemented method
Reimplemented from KoInteractionTool.
Definition at line 57 of file KoZoomTool.cpp.
| void KoZoomTool::mouseReleaseEvent | ( | KoPointerEvent * | event | ) | [virtual] |
reimplemented method
Reimplemented from KoInteractionTool.
Definition at line 49 of file KoZoomTool.cpp.
| void KoZoomTool::setCanvasController | ( | KoCanvasController * | controller | ) | [inline] |
Definition at line 56 of file KoZoomTool.h.
| void KoZoomTool::setZoomInMode | ( | bool | zoomIn | ) |
Definition at line 118 of file KoZoomTool.cpp.
| void KoZoomTool::wheelEvent | ( | KoPointerEvent * | event | ) | [virtual] |
The documentation for this class was generated from the following files:
