karbon
VShapeTool Class Reference
Inheritance diagram for VShapeTool:

Detailed Description
Definition at line 33 of file vshapetool.h.
Public Member Functions | |
VShapeTool (KarbonView *view, const char *name, bool polar=false) | |
virtual enumToolType | toolType () |
virtual QString | statusText () |
virtual QString | contextHelp () |
virtual void | activate () |
Protected Member Functions | |
virtual void | draw () |
virtual void | mouseButtonPress () |
virtual void | mouseButtonRelease () |
virtual void | mouseDrag () |
virtual void | mouseDragRelease () |
virtual void | mouseDragShiftPressed () |
virtual void | mouseDragCtrlPressed () |
virtual void | mouseDragShiftReleased () |
virtual void | mouseDragCtrlReleased () |
virtual void | cancel () |
virtual | ~VShapeTool () |
virtual VPath * | shape (bool interactive=false) const =0 |
Protected Attributes | |
KoPoint | m_p |
double | m_d1 |
double | m_d2 |
Member Function Documentation
void VShapeTool::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 61 of file vshapetool.cc.
void VShapeTool::cancel | ( | ) | [protected, virtual] |
Cancels all tool operations.
This event is invoked when ESC is pressed.
Reimplemented from VTool.
Reimplemented in VEllipseTool.
Definition at line 200 of file vshapetool.cc.
QString VShapeTool::contextHelp | ( | ) | [virtual] |
The context help of the tool.
Reimplemented from VTool.
Definition at line 52 of file vshapetool.cc.
void VShapeTool::mouseButtonPress | ( | ) | [protected, virtual] |
Left mouse button press.
Reimplemented from VTool.
Reimplemented in VEllipseTool.
Definition at line 87 of file vshapetool.cc.
void VShapeTool::mouseButtonRelease | ( | ) | [protected, virtual] |
Left mouse button release.
The mouse wasn't moved.
Reimplemented from VTool.
Reimplemented in VEllipseTool.
Definition at line 96 of file vshapetool.cc.
void VShapeTool::mouseDrag | ( | ) | [protected, virtual] |
void VShapeTool::mouseDragCtrlPressed | ( | ) | [protected, virtual] |
Mouse drag with "Ctrl" key pressed at the same time.
Reimplemented from VTool.
Definition at line 161 of file vshapetool.cc.
void VShapeTool::mouseDragCtrlReleased | ( | ) | [protected, virtual] |
"Ctrl" key released while mouse drag.
Reimplemented from VTool.
Definition at line 187 of file vshapetool.cc.
void VShapeTool::mouseDragRelease | ( | ) | [protected, virtual] |
Mouse button release.
The mouse was moved before.
Reimplemented from VTool.
Reimplemented in VEllipseTool.
Definition at line 133 of file vshapetool.cc.
void VShapeTool::mouseDragShiftPressed | ( | ) | [protected, virtual] |
Mouse drag with "Shift" key pressed at the same time.
Reimplemented from VTool.
Definition at line 148 of file vshapetool.cc.
void VShapeTool::mouseDragShiftReleased | ( | ) | [protected, virtual] |
"Shift" key released while mouse drag.
Reimplemented from VTool.
Definition at line 174 of file vshapetool.cc.
QString VShapeTool::statusText | ( | ) | [virtual] |
virtual enumToolType VShapeTool::toolType | ( | ) | [inline, virtual] |
Member Data Documentation
KoPoint VShapeTool::m_p [protected] |
The documentation for this class was generated from the following files: