karbon

VShearTool Class Reference

Inheritance diagram for VShearTool:

VTool List of all members.

Detailed Description

Definition at line 25 of file vsheartool.h.


Public Member Functions

 VShearTool (KarbonView *view)
virtual ~VShearTool ()
virtual void activate ()
virtual void setup (KActionCollection *collection)
virtual QString uiname ()
virtual enumToolType toolType ()
virtual uint priority ()
virtual QString statusText ()

Protected Member Functions

virtual void draw ()
virtual void setCursor () const
virtual void mouseButtonPress ()
virtual void mouseDrag ()
virtual void mouseDragRelease ()
virtual void cancel ()

Member Function Documentation

void VShearTool::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 48 of file vsheartool.cc.

void VShearTool::cancel  )  [protected, virtual]
 

Cancels all tool operations.

This event is invoked when ESC is pressed.

Reimplemented from VTool.

Definition at line 133 of file vsheartool.cc.

void VShearTool::mouseButtonPress  )  [protected, virtual]
 

Left mouse button press.

Reimplemented from VTool.

Definition at line 101 of file vsheartool.cc.

void VShearTool::mouseDrag  )  [protected, virtual]
 

Mouse drag.

Reimplemented from VTool.

Definition at line 112 of file vsheartool.cc.

void VShearTool::mouseDragRelease  )  [protected, virtual]
 

Mouse button release.

The mouse was moved before.

Reimplemented from VTool.

Definition at line 125 of file vsheartool.cc.

virtual uint VShearTool::priority  )  [inline, virtual]
 

Position in toolbox.

Zero means no preferred position, other values indicate the true position.

Reimplemented from VTool.

Definition at line 36 of file vsheartool.h.

void VShearTool::setCursor  )  const [protected, virtual]
 

This function is called on each mouse event the tool receives.

Reimplemented from VTool.

Definition at line 74 of file vsheartool.cc.

void VShearTool::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 207 of file vsheartool.cc.

QString VShearTool::statusText  )  [virtual]
 

The tool status text.

Reimplemented from VTool.

Definition at line 57 of file vsheartool.cc.

virtual enumToolType VShearTool::toolType  )  [inline, virtual]
 

The tool type.

Reimplemented from VTool.

Definition at line 35 of file vsheartool.h.

virtual QString VShearTool::uiname  )  [inline, virtual]
 

The name of the tool.

Reimplemented from VTool.

Definition at line 34 of file vsheartool.h.


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