#include <kis_tool_dummy.h>
Public Member Functions | |
| virtual void | update (KisCanvasSubject *subject) |
| virtual void | setup (TDEActionCollection *collection) |
| virtual void | buttonPress (KisButtonPressEvent *e) |
| virtual void | move (KisMoveEvent *e) |
| virtual void | buttonRelease (KisButtonReleaseEvent *e) |
| virtual TQWidget * | createOptionWidget (TQWidget *parent) |
| virtual TQWidget * | optionWidget () |
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.
Constructor & Destructor Documentation
◆ KisToolDummy()
| KisToolDummy::KisToolDummy | ( | ) |
Definition at line 35 of file kis_tool_dummy.cpp.
◆ ~KisToolDummy()
|
virtual |
Definition at line 45 of file kis_tool_dummy.cpp.
Member Function Documentation
◆ buttonPress()
|
virtual |
Definition at line 55 of file kis_tool_dummy.cpp.
◆ buttonRelease()
|
virtual |
Definition at line 78 of file kis_tool_dummy.cpp.
◆ createOptionWidget()
|
virtual |
Definition at line 97 of file kis_tool_dummy.cpp.
◆ move()
|
virtual |
Definition at line 67 of file kis_tool_dummy.cpp.
◆ optionWidget()
|
virtual |
Definition at line 105 of file kis_tool_dummy.cpp.
◆ setup()
|
virtual |
Definition at line 85 of file kis_tool_dummy.cpp.
◆ update()
|
virtual |
Implement this function to query the KisCanvasSubject implementation about state that may be interesting, such as current paint color and so on.
- Parameters
-
subject the KisCanvasSubject that may know something that's interesting for us.
Implements KisCanvasObserver.
Definition at line 49 of file kis_tool_dummy.cpp.
The documentation for this class was generated from the following files:
