36class DImgBuiltinFilter;
37class DImgThreadedFilter;
64 Q_ENUM(BatchToolGroup)
71 explicit BatchTool(
const QString& name, BatchToolGroup group, QObject*
const parent =
nullptr);
80 QString errorDescription()
const;
85 BatchToolGroup toolGroup()
const;
90 QString toolGroupToString()
const;
95 void setToolTitle(
const QString& toolTitle);
96 QString toolTitle()
const;
101 void setToolDescription(
const QString& toolDescription);
102 QString toolDescription()
const;
107 void setToolIconName(
const QString& iconName);
108 void setToolIcon(
const QIcon& icon);
109 QIcon toolIcon()
const;
120 void setInputUrl(
const QUrl& inputUrl);
121 QUrl inputUrl()
const;
126 void setOutputUrl(
const QUrl& outputUrl);
127 QUrl outputUrl()
const;
132 void setWorkingUrl(
const QUrl& workingUrl);
133 QUrl workingUrl()
const;
138 void setImageData(
const DImg& img);
139 DImg imageData()
const;
144 void setItemInfo(
const ItemInfo& info);
150 void setLastChainedTool(
bool last);
151 bool isLastChainedTool()
const;
158 void setOutputUrlFromInputUrl();
164 bool loadToDImg()
const;
172 bool savefromDImg()
const;
177 void setResetExifOrientationAllowed(
bool reset);
182 bool getResetExifOrientationAllowed()
const;
187 void setNeedResetExifOrientation(
bool reset);
192 bool getNeedResetExifOrientation()
const;
202 void setSaveAsNewVersion(
bool fork =
true);
208 void setBranchHistory(
bool branch =
true);
209 bool getBranchHistory()
const;
249 virtual void cancel();
256 virtual QString outputSuffix()
const;
276 void slotResetSettingsToDefault();
284 bool isRawFile(
const QUrl& url)
const;
289 void setErrorDescription(
const QString& errmsg);
299 bool isCancelled()
const;
326 QWidget* settingsWidget()
const;
331 void deleteSettingsWidget();
338 virtual void registerSettingsWidget();
352 QWidget* m_settingsWidget =
nullptr;
371 Private*
const d =
nullptr;
Definition dimgbuiltinfilter.h:34
Definition dimgthreadedfilter.h:31
Definition dpluginbqm.h:33
Definition drawdecodersettings.h:33
Definition iofilesettings.h:26
RawLoadingRule
Definition queuesettings.h:45
Definition datefolderview.cpp:34
QMap< QString, QVariant > BatchToolSettings
Definition batchtool.h:43