krita
KisToolDummy Class Reference
#include <kis_tool_dummy.h>
Inheritance diagram for KisToolDummy:

Detailed Description
The dummy tool is activated when a layer does not permit painting or any other destructive action.It shows a forbidden cursor, making it clear that you really cannot do anything here.
Furthermore, it implements more or less the same things as the pan tool, so we can at least move the canvas around.
Definition at line 39 of file kis_tool_dummy.h.
Public Member Functions | |
KisToolDummy () | |
virtual | ~KisToolDummy () |
virtual void | update (KisCanvasSubject *subject) |
virtual void | setup (KActionCollection *collection) |
virtual void | buttonPress (KisButtonPressEvent *e) |
virtual void | move (KisMoveEvent *e) |
virtual void | buttonRelease (KisButtonReleaseEvent *e) |
virtual QWidget * | createOptionWidget (QWidget *parent) |
virtual QWidget * | optionWidget () |
Member Function Documentation
|
This function is called to create the configuration widget of the tool.
Reimplemented from KisTool. Definition at line 97 of file kis_tool_dummy.cc. |
|
Reimplemented from KisTool. Definition at line 105 of file kis_tool_dummy.cc. |
|
This function is called after the creation of a tool to create the KAction corresponding to the tool. The code should look like : Implements KisTool. Definition at line 85 of file kis_tool_dummy.cc. |
|
Implement this function to query the KisCanvasSubject implementation about state that may be interesting, such as current paint color and so on.
Reimplemented from KisToolNonPaint. Definition at line 49 of file kis_tool_dummy.cc. |
The documentation for this class was generated from the following files: