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
|
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. |
|
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. |
|
The context help of the tool.
Reimplemented from VTool. Definition at line 52 of file vshapetool.cc. |
|
Left mouse button press.
Reimplemented from VTool. Reimplemented in VEllipseTool. Definition at line 87 of file vshapetool.cc. |
|
Left mouse button release. The mouse wasn't moved. Reimplemented from VTool. Reimplemented in VEllipseTool. Definition at line 96 of file vshapetool.cc. |
|
Mouse drag.
Reimplemented from VTool. Definition at line 121 of file vshapetool.cc. |
|
Mouse drag with "Ctrl" key pressed at the same time.
Reimplemented from VTool. Definition at line 161 of file vshapetool.cc. |
|
"Ctrl" key released while mouse drag.
Reimplemented from VTool. Definition at line 187 of file vshapetool.cc. |
|
Mouse button release. The mouse was moved before. Reimplemented from VTool. Reimplemented in VEllipseTool. Definition at line 133 of file vshapetool.cc. |
|
Mouse drag with "Shift" key pressed at the same time.
Reimplemented from VTool. Definition at line 148 of file vshapetool.cc. |
|
"Shift" key released while mouse drag.
Reimplemented from VTool. Definition at line 174 of file vshapetool.cc. |
|
The tool status text.
Reimplemented from VTool. Definition at line 69 of file vshapetool.cc. |
|
The tool type.
Reimplemented from VTool. Definition at line 38 of file vshapetool.h. |
Member Data Documentation
|
Output coordinates.
Definition at line 66 of file vshapetool.h. |
The documentation for this class was generated from the following files: