|
| | BatchTool (const QString &name, BatchToolGroup group, QObject *const parent=nullptr) |
| | Tool data and properties management.
|
| |
| bool | apply () |
| | Apply all change to perform by this tool.
|
| |
| virtual void | cancel () |
| | Re-implement this method is you want customize cancellation of tool, for ex.
|
| |
| virtual BatchTool * | clone (QObject *const parent=nullptr) const =0 |
| | Clone this tool without to create settings widget.
|
| |
|
virtual BatchToolSettings | defaultSettings ()=0 |
| | Re-implement this method to initialize Settings Widget value with default settings.
|
| |
|
void | deleteSettingsWidget () |
| | Delete dedicated settings widget registered with registerSettingsWidget().
|
| |
|
QString | errorDescription () const |
| | Get description of an error which appear during apply() method.
|
| |
|
bool | getBranchHistory () const |
| |
|
bool | getNeedResetExifOrientation () const |
| | Returns true if the Exif orientation tag should be reset after tool operation.
|
| |
|
bool | getResetExifOrientationAllowed () const |
| | Returns true if the Exif orientation tag is allowed to be reset after tool operation.
|
| |
|
DImg | imageData () const |
| |
|
ItemInfo | imageInfo () const |
| |
|
QUrl | inputUrl () const |
| |
|
IOFileSettings | ioFileSettings () const |
| | Return IOFile settings used during tool operations.
|
| |
|
bool | isLastChainedTool () const |
| |
|
bool | loadToDImg () const |
| | Load image data using input Url set by setInputUrl() to instance of internal DImg container.
|
| |
| virtual QString | outputSuffix () const |
| | Re-implement this method if tool change file extension during batch process (ex: "png").
|
| |
|
QUrl | outputUrl () const |
| |
|
DPluginBqm * | plugin () const |
| |
|
DRawDecoderSettings | rawDecodingSettings () const |
| | Return RAW decoding settings used during tool operations.
|
| |
| virtual void | registerSettingsWidget () |
| | Setup dedicated settings widget.
|
| |
| bool | savefromDImg () const |
| | Save image data from instance of internal DImg container using :
|
| |
|
void | setBranchHistory (bool branch=true) |
| | Applies only when the file is actually saved on disk, and takes the history since the loading from disk to set the first added step as creating a branch.
|
| |
|
void | setDRawDecoderSettings (const DRawDecoderSettings &settings) |
| | Set-up RAW decoding settings no use during tool operations.
|
| |
|
void | setImageData (const DImg &img) |
| | Manage instance of current image data container loaded by this tool.
|
| |
|
void | setInputUrl (const QUrl &inputUrl) |
| | Manage current input url processed by this tool.
|
| |
|
void | setIOFileSettings (const IOFileSettings &settings) |
| | Set-up IOFile settings no use during tool operations.
|
| |
|
void | setItemInfo (const ItemInfo &info) |
| | Manage instance of current image info loaded by this tool.
|
| |
|
void | setLastChainedTool (bool last) |
| | Manage flag properties to indicate if this tool is last one to process on current item.
|
| |
|
void | setNeedResetExifOrientation (bool reset) |
| | Set that the Exif orientation flag should be reset to NORMAL after tool operation.
|
| |
|
void | setOutputUrl (const QUrl &outputUrl) |
| | Manage current output url processed by this tool.
|
| |
| void | setOutputUrlFromInputUrl () |
| | Set output url using input url content + annotation based on time stamp + file extension defined by outputSuffix().
|
| |
|
void | setPlugin (DPluginBqm *const plugin) |
| |
|
void | setRawLoadingRules (QueueSettings::RawLoadingRule rule) |
| | Set that RAW files loading rule to use (demosaicing or JPEG embedded).
|
| |
|
void | setResetExifOrientationAllowed (bool reset) |
| | Set that the Exif orientation flag is allowed be reset to NORMAL after tool operation.
|
| |
|
void | setSaveAsNewVersion (bool fork=true) |
| | Sets if the history added by tools shall be made a branch (new version).
|
| |
| void | setSettings (const BatchToolSettings &settings) |
| | Manage settings values to tool.
|
| |
|
BatchToolSettings | settings () const |
| |
| QWidget * | settingsWidget () const |
| | Settings widget management. NOTE: do not use these methods in multi-threading part (ActionThread), only in main thread (GUI)
|
| |
|
void | setToolDescription (const QString &toolDescription) |
| | Manage Tool description.
|
| |
|
void | setToolIcon (const QIcon &icon) |
| |
|
void | setToolIconName (const QString &iconName) |
| | Manage Tool icon name.
|
| |
|
void | setToolTitle (const QString &toolTitle) |
| | Manage Tool title.
|
| |
|
void | setWorkingUrl (const QUrl &workingUrl) |
| | Manage current working url used by this tool to process items.
|
| |
|
QString | toolDescription () const |
| |
| BatchToolGroup | toolGroup () const |
| | Return group of tool.
|
| |
|
QString | toolGroupToString () const |
| | Return group of tool name as string.
|
| |
|
QIcon | toolIcon () const |
| |
|
QString | toolTitle () const |
| |
| virtual int | toolVersion () const |
| | Return version of tool.
|
| |
|
QUrl | workingUrl () const |
| |