#include <kis_tool_pencil.h>
Definition at line 43 of file kis_tool_pencil.h.
◆ KisToolPencil()
◆ beginPrimaryAction()
◆ continuePrimaryAction()
◆ createOptionWidgets()
| QList< QPointer< QWidget > > KisToolPencil::createOptionWidgets |
( |
| ) |
|
|
override |
◆ endPrimaryAction()
◆ mouseDoubleClickEvent()
◆ mousePressEvent()
◆ resetCursorStyle
| void KisToolPencil::resetCursorStyle |
( |
| ) |
|
|
overrideprotectedslot |
Definition at line 29 of file kis_tool_pencil.cc.
30{
31 if (isEraser() && (nodePaintAbility() == PAINT)) {
33 } else {
34 DelegatedPencilTool::resetCursorStyle();
35 }
36
37 overrideCursorIfNotEditable();
38}
static QCursor eraserCursor()
References KisCursor::eraserCursor().
◆ updatePencilCursor()
| void KisToolPencil::updatePencilCursor |
( |
bool | value | ) |
|
|
private |
Definition at line 40 of file kis_tool_pencil.cc.
41{
42 if (mode() == HOVER_MODE || mode() == PAINT_MODE) {
43 setCursor(
value ? Qt::ArrowCursor : Qt::ForbiddenCursor);
45 }
46}
float value(const T *src, size_t ch)
References resetCursorStyle(), and value().
◆ __KisToolPencilLocalTool
The documentation for this class was generated from the following files: