krita
KisPaintOpFactory Class Reference
#include <kis_paintop.h>
Detailed Description
The paintop factory is responsible for creating paintops of the specified class.If there is an optionWidget, the derived paintop itself must support settings, and it's up to the factory to do that.
Definition at line 108 of file kis_paintop.h.
Public Member Functions | |
KisPaintOpFactory () | |
virtual | ~KisPaintOpFactory () |
virtual KisPaintOp * | createOp (const KisPaintOpSettings *settings, KisPainter *painter)=0 |
virtual KisID | id () |
virtual QString | pixmap () |
virtual bool | userVisible (KisColorSpace *cs=0) |
virtual KisPaintOpSettings * | settings (QWidget *parent, const KisInputDevice &inputDevice) |
Member Function Documentation
|
The filename of the pixmap we can use to represent this paintop in the ui.
Definition at line 121 of file kis_paintop.h. |
|
Create and return an (abstracted) widget with options for this paintop when used with the specified input device. Return 0 if there are no settings available for the given device. Definition at line 110 of file kis_paintop.cc. |
|
Whether this paintop is internal to a certain tool or can be used in various tools. If false, it won't show up in the toolchest. The KisColorSpace argument can be used when certain paintops only support a specific cs Definition at line 128 of file kis_paintop.h. |
The documentation for this class was generated from the following files: