karbon
VZoomTool Class Reference
Inheritance diagram for VZoomTool:

Detailed Description
Definition at line 33 of file vzoomtool.h.
Public Member Functions | |
VZoomTool (KarbonView *view) | |
~VZoomTool () | |
virtual void | activate () |
virtual void | deactivate () |
virtual void | setup (KActionCollection *collection) |
virtual QString | uiname () |
virtual QString | contextHelp () |
virtual QString | statusText () |
Protected Member Functions | |
void | draw () |
virtual void | mouseButtonPress () |
virtual void | mouseButtonRelease () |
virtual void | mouseDrag () |
virtual void | mouseDragRelease () |
virtual bool | keyReleased (Qt::Key key) |
virtual void | rightMouseButtonRelease () |
void | recalc () |
Protected Attributes | |
KoPoint | m_current |
Member Function Documentation
void VZoomTool::activate | ( | ) | [virtual] |
Called during the tool activation.
A tool is supposed to set a mouse cursor and/or the statusbar properly here.
Reimplemented from VTool.
Definition at line 58 of file vzoomtool.cc.
void VZoomTool::deactivate | ( | ) | [virtual] |
void VZoomTool::setup | ( | KActionCollection * | collection | ) | [virtual] |
Called after tool creation.
A tool is supposed to hook its associated action into the specified action collection here.
Reimplemented from VTool.
Definition at line 158 of file vzoomtool.cc.
virtual QString VZoomTool::uiname | ( | ) | [inline, virtual] |
QString VZoomTool::contextHelp | ( | ) | [virtual] |
QString VZoomTool::statusText | ( | ) | [virtual] |
void VZoomTool::mouseButtonPress | ( | ) | [protected, virtual] |
void VZoomTool::mouseButtonRelease | ( | ) | [protected, virtual] |
Left mouse button release.
The mouse wasn't moved.
Reimplemented from VTool.
Definition at line 111 of file vzoomtool.cc.
void VZoomTool::mouseDrag | ( | ) | [protected, virtual] |
void VZoomTool::mouseDragRelease | ( | ) | [protected, virtual] |
Mouse button release.
The mouse was moved before.
Reimplemented from VTool.
Definition at line 127 of file vzoomtool.cc.
bool VZoomTool::keyReleased | ( | Qt::Key | key | ) | [protected, virtual] |
void VZoomTool::rightMouseButtonRelease | ( | ) | [protected, virtual] |
Right mouse button release.
The mouse wasn't moved.
Reimplemented from VTool.
Definition at line 105 of file vzoomtool.cc.
The documentation for this class was generated from the following files: