#include <kis_paintop.h>
Public Member Functions | |
| virtual KisPaintOp * | createOp (const KisPaintOpSettings *settings, KisPainter *painter)=0 |
| virtual KisID | id () |
| virtual TQString | pixmap () |
| virtual bool | userVisible (KisColorSpace *cs=0) |
| virtual KisPaintOpSettings * | settings (TQWidget *parent, const KisInputDevice &inputDevice) |
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 111 of file kis_paintop.h.
Constructor & Destructor Documentation
◆ KisPaintOpFactory()
|
inline |
Definition at line 115 of file kis_paintop.h.
◆ ~KisPaintOpFactory()
|
inlinevirtual |
Definition at line 116 of file kis_paintop.h.
Member Function Documentation
◆ id()
|
inlinevirtual |
Definition at line 119 of file kis_paintop.h.
◆ pixmap()
|
inlinevirtual |
The filename of the pixmap we can use to represent this paintop in the ui.
Definition at line 124 of file kis_paintop.h.
◆ settings()
|
virtual |
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 113 of file kis_paintop.cpp.
◆ userVisible()
|
inlinevirtual |
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 131 of file kis_paintop.h.
The documentation for this class was generated from the following files:
