karbon
VGradientTool Class Reference
Inheritance diagram for VGradientTool:

Detailed Description
Definition at line 31 of file vgradienttool.h.
Public Member Functions | |
VGradientTool (KarbonView *view) | |
virtual | ~VGradientTool () |
virtual void | activate () |
virtual void | deactivate () |
virtual void | setup (KActionCollection *collection) |
virtual QString | uiname () |
virtual QString | statusText () |
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 | getGradient (VGradient &gradient) |
bool | getOpacity (double &opacity) |
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 62 of file vgradienttool.cc. |
|
Cancels all tool operations. This event is invoked when ESC is pressed. Reimplemented from VTool. Definition at line 458 of file vgradienttool.cc. |
|
The context help of the tool.
Reimplemented from VTool. Definition at line 111 of file vgradienttool.cc. |
|
Deactivates the tool.
Reimplemented from VTool. Definition at line 86 of file vgradienttool.cc. |
|
Draws the actual tool state.
Reimplemented from VTool. Definition at line 177 of file vgradienttool.cc. |
|
Determines the actual gradient to be edited.
Definition at line 126 of file vgradienttool.cc. |
|
Specified key released.
Reimplemented from VTool. Definition at line 499 of file vgradienttool.cc. |
|
Left mouse button press.
Reimplemented from VTool. Definition at line 287 of file vgradienttool.cc. |
|
Left mouse button release. The mouse wasn't moved. Reimplemented from VTool. Definition at line 311 of file vgradienttool.cc. |
|
Mouse drag.
Reimplemented from VTool. Definition at line 273 of file vgradienttool.cc. |
|
Mouse button release. The mouse was moved before. Reimplemented from VTool. Definition at line 411 of file vgradienttool.cc. |
|
This function is called on each mouse event the tool receives.
Reimplemented from VTool. Definition at line 487 of file vgradienttool.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 473 of file vgradienttool.cc. |
|
Shows the tools option dialog.
Reimplemented from VTool. Definition at line 467 of file vgradienttool.cc. |
|
The tool status text.
Reimplemented from VTool. Definition at line 105 of file vgradienttool.cc. |
|
The name of the tool.
Reimplemented from VTool. Definition at line 43 of file vgradienttool.h. |
The documentation for this class was generated from the following files: