kis_previewwidget.h
A KisFilterConfiguration is the serializable representation of the filter parameters.
Definition kis_filter_configuration.h:38
A widget that can be used by plugins to show a preview of the effect of the plugin to the user.
Definition kis_previewwidget.h:49
void updated()
This is emitted when the position or zoom factor of the widget has changed.
void slotSetDevice(KisPaintDeviceSP dev)
Sets the preview to use the layer specified as argument.
Definition kis_previewwidget.cpp:135
void runFilter(KisFilter *filter, KisFilterConfiguration *config)
Instructs the KisPreviewWidget to eventually update the preview.
Definition kis_previewwidget.cpp:302
bool getAutoUpdate() const
returns if the preview is automatically updated
Definition kis_previewwidget.cpp:228
void setPreviewDisplayed(bool v)
Toggle between display preview and display original.
Definition kis_previewwidget.cpp:207
void needUpdate()
use to indicate that the preview need to be updated.
Definition kis_previewwidget.cpp:222
void slotSetAutoUpdate(bool set)
Enables or disables the automatically updating of the preview.
Definition kis_previewwidget.cpp:193
