KisPaintDeviceAction Class Referenceabstract
#include <kis_paint_device_action.h>
Public Member Functions | |
| virtual void | act (KisPaintDeviceSP paintDev, TQ_INT32 w=0, TQ_INT32 h=0) const =0 |
| virtual TQString | name () const =0 |
| virtual TQString | description () const =0 |
Detailed Description
Defines an action to do with a paint device.
It can be force used by the gui on creation of a layer, for example. Or just appear in a list of actions to do.
Definition at line 28 of file kis_paint_device_action.h.
Constructor & Destructor Documentation
◆ ~KisPaintDeviceAction()
|
inlinevirtual |
Definition at line 30 of file kis_paint_device_action.h.
Member Function Documentation
◆ act()
|
pure virtual |
Do something with the paint device.
This can be anything, like, for example, popping up a dialog to choose a texture. The width and height are added because these may be needed in some cases.
◆ description()
|
pure virtual |
A description of the action, to be displayed in the GUI.
◆ name()
|
pure virtual |
The name of the action, to be displayed in the GUI.
The documentation for this class was generated from the following file:
