krita
KisToolPaint Class Reference
Inheritance diagram for KisToolPaint:

Detailed Description
Definition at line 51 of file kis_tool_paint.h.
Public Slots | |
virtual void | activate () |
virtual void | deactivate () |
void | slotSetOpacity (int opacityPerCent) |
void | slotSetCompositeMode (const KisCompositeOp &compositeOp) |
void | slotPopupQuickHelp () |
Public Member Functions | |
KisToolPaint (const QString &UIName) | |
virtual | ~KisToolPaint () |
virtual void | update (KisCanvasSubject *subject) |
virtual void | paint (KisCanvasPainter &gc) |
virtual void | paint (KisCanvasPainter &gc, const QRect &rc) |
virtual void | enter (QEvent *e) |
virtual void | leave (QEvent *e) |
virtual void | buttonPress (KisButtonPressEvent *e) |
virtual void | move (KisMoveEvent *e) |
virtual void | buttonRelease (KisButtonReleaseEvent *e) |
virtual void | doubleClick (KisDoubleClickEvent *e) |
virtual void | keyPress (QKeyEvent *e) |
virtual void | keyRelease (QKeyEvent *e) |
virtual QCursor | cursor () |
virtual void | setCursor (const QCursor &cursor) |
virtual QWidget * | createOptionWidget (QWidget *parent) |
virtual QWidget * | optionWidget () |
virtual void | addOptionWidgetOption (QWidget *control, QWidget *label=0) |
Protected Member Functions | |
void | notifyModified () const |
void | addOptionWidgetLayout (QLayout *layout) |
Protected Attributes | |
KisCanvasSubject * | m_subject |
QRect | m_dirtyRect |
Q_UINT8 | m_opacity |
KisCompositeOp | m_compositeOp |
bool | m_paintOutline |
Member Function Documentation
|
This slot is called when the tool is selected in the toolbox.
Implements KisTool. Definition at line 212 of file kis_tool_paint.cc. |
|
This function is called to create the configuration widget of the tool.
Reimplemented from KisTool. Reimplemented in KisToolShape. Definition at line 117 of file kis_tool_paint.cc. |
|
deactivate is called when the tool gets deactivated because another tool is selected. Tools can then clean up after themselves. Implements KisTool. Definition at line 81 of file kis_tool_paint.cc. |
|
Reimplemented from KisTool. Definition at line 158 of file kis_tool_paint.cc. |
|
Implement this function to query the KisCanvasSubject implementation about state that may be interesting, such as current paint color and so on.
Implements KisCanvasObserver. Reimplemented in KisToolFreehand. Definition at line 67 of file kis_tool_paint.cc. |
The documentation for this class was generated from the following files: