karbon
VPatternTool Class Reference
Inheritance diagram for VPatternTool:

Detailed Description
Definition at line 60 of file vpatterntool.h.
Public Member Functions | |
VPatternTool (KarbonView *view) | |
virtual | ~VPatternTool () |
virtual void | activate () |
virtual void | deactivate () |
virtual void | setup (KActionCollection *collection) |
virtual QString | uiname () |
virtual QString | contextHelp () |
virtual bool | showDialog () const |
virtual void | draw (VPainter *painter) |
Protected Slots | |
void | targetChanged () |
Protected Member Functions | |
virtual void | draw () |
virtual void | mouseButtonRelease () |
virtual void | mouseButtonPress () |
virtual void | mouseDragRelease () |
virtual void | mouseDrag () |
virtual void | cancel () |
virtual void | setCursor () const |
virtual bool | keyReleased (Qt::Key key) |
bool | getPattern (VPattern &pattern) |
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 137 of file vpatterntool.cc. |
|
Cancels all tool operations. This event is invoked when ESC is pressed. Reimplemented from VTool. Definition at line 437 of file vpatterntool.cc. |
|
The context help of the tool.
Reimplemented from VTool. Definition at line 181 of file vpatterntool.cc. |
|
Deactivates the tool.
Reimplemented from VTool. Definition at line 161 of file vpatterntool.cc. |
|
Draws the actual tool state.
Reimplemented from VTool. Definition at line 251 of file vpatterntool.cc. |
|
Determines the actual pattern to be edited.
Definition at line 224 of file vpatterntool.cc. |
|
Specified key released.
Reimplemented from VTool. Definition at line 478 of file vpatterntool.cc. |
|
Left mouse button press.
Reimplemented from VTool. Definition at line 298 of file vpatterntool.cc. |
|
Left mouse button release. The mouse wasn't moved. Reimplemented from VTool. Definition at line 318 of file vpatterntool.cc. |
|
Mouse drag.
Reimplemented from VTool. Definition at line 285 of file vpatterntool.cc. |
|
Mouse button release. The mouse was moved before. Reimplemented from VTool. Definition at line 381 of file vpatterntool.cc. |
|
This function is called on each mouse event the tool receives.
Reimplemented from VTool. Definition at line 466 of file vpatterntool.cc. |
|
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 452 of file vpatterntool.cc. |
|
Shows the tools option dialog.
Reimplemented from VTool. Definition at line 446 of file vpatterntool.cc. |
|
The name of the tool.
Reimplemented from VTool. Definition at line 72 of file vpatterntool.h. |
The documentation for this class was generated from the following files: