karbon
VShearTool Class Reference
Inheritance diagram for VShearTool:

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] |
void VShearTool::mouseDrag | ( | ) | [protected, virtual] |
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] |
virtual enumToolType VShearTool::toolType | ( | ) | [inline, virtual] |
virtual QString VShearTool::uiname | ( | ) | [inline, virtual] |
The documentation for this class was generated from the following files: