24 #ifndef DIGIKAM_IMAGE_EDITOR_TOOL_H
25 #define DIGIKAM_IMAGE_EDITOR_TOOL_H
45 class DImgThreadedFilter;
46 class DImgThreadedAnalyser;
47 class EditorToolSettings;
58 void setPlugin(
DPlugin*
const plugin);
69 void setInitPreview(
bool b);
71 QString toolHelp()
const;
72 QString toolName()
const;
73 int toolVersion()
const;
74 QIcon toolIcon()
const;
75 QWidget* toolView()
const;
79 virtual void setBackgroundColor(
const QColor& bg);
80 virtual void ICCSettingsChanged();
81 virtual void exposureSettingsChanged();
85 void slotUpdateSpotInfo(
const Digikam::DColor& col,
const QPoint& point);
86 void slotPreviewModeChanged();
88 virtual void slotCloseTool();
89 virtual void slotApplyTool();
98 void setToolInfoMessage(
const QString& txt);
99 void setToolHelp(
const QString& anchor);
100 void setToolName(
const QString& name);
101 void setToolVersion(
const int version);
102 void setToolIcon(
const QIcon& icon);
103 void setPreviewModeMask(
int mask);
106 virtual void setToolView(QWidget*
const view);
108 virtual void setBusy(
bool);
109 virtual void readSettings();
110 virtual void writeSettings();
117 virtual void slotOk();
118 virtual void slotCancel();
119 virtual void slotInit();
120 virtual void slotResetSettings();
157 void setProgressMessage(
const QString& mess);
162 RenderingMode renderingMode()
const;
166 virtual void slotAbort();
186 void deleteFilterInstance(
bool b =
true);
200 void slotFilterStarted();
201 void slotFilterFinished(
bool success);
206 void slotAnalyserStarted();
207 void slotAnalyserFinished(
bool success);
212 void slotProgress(
int progress);
214 void slotInit()
override;
215 void slotOk()
override;
216 void slotCancel()
override;
217 void slotPreview()
override;
Definition: dimgthreadedanalyser.h:38
Definition: dimgthreadedfilter.h:41
Category
Definition: filteraction.h:47
Definition: datefolderview.cpp:43