karbon

VZoomTool Class Reference

Inheritance diagram for VZoomTool:

VTool List of all members.

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.

QString VZoomTool::contextHelp (  )  [virtual]

The context help of the tool.

Reimplemented from VTool.

Definition at line 48 of file vzoomtool.cc.

void VZoomTool::deactivate (  )  [virtual]

Deactivates the tool.

Reimplemented from VTool.

Definition at line 71 of file vzoomtool.cc.

bool VZoomTool::keyReleased ( Qt::Key  key  )  [protected, virtual]

Specified key released.

Reimplemented from VTool.

Definition at line 135 of file vzoomtool.cc.

void VZoomTool::mouseButtonPress (  )  [protected, virtual]

Left mouse button press.

Reimplemented from VTool.

Definition at line 95 of file vzoomtool.cc.

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]

Mouse drag.

Reimplemented from VTool.

Definition at line 117 of file vzoomtool.cc.

void VZoomTool::mouseDragRelease (  )  [protected, virtual]

Mouse button release.

The mouse was moved before.

Reimplemented from VTool.

Definition at line 127 of file vzoomtool.cc.

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.

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.

QString VZoomTool::statusText (  )  [virtual]

The tool status text.

Reimplemented from VTool.

Definition at line 65 of file vzoomtool.cc.

virtual QString VZoomTool::uiname (  )  [inline, virtual]

The name of the tool.

Reimplemented from VTool.

Definition at line 43 of file vzoomtool.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys