|
| DPluginDImg (QObject *const parent=nullptr) |
| Constructor with optional parent object.
|
|
| ~DPluginDImg () override=default |
| Destructor.
|
|
virtual int | canRead (const QFileInfo &fileInfo, bool magic) const =0 |
| Return > 0 if source file path is supported by the loader and contents can be loaded.
|
|
virtual int | canWrite (const QString &format) const =0 |
| Return > 0 if target file format is supported by the loader and contents can be written.
|
|
QStringList | categories () const override |
| This kind of plugin do not use a category.
|
|
int | count () const override |
| This kind of plugin only provide one tool.
|
|
virtual DImgLoaderSettings * | exportWidget (const QString &format) const =0 |
| Return a new widget instance to show settings while exporting image to specified format.
|
|
QMap< QString, QStringList > | extraAboutData () const override |
| With this kind of plugin, we will display the type-mimes list on about dialog.
|
|
QStringList | extraAboutDataRowTitles () const override |
| Returns a list of extra data row titles to show in tab of plugin about dialog.
|
|
QString | extraAboutDataTitle () const override |
| Returns the tab title of data returned by extraAboutData().
|
|
bool | hasVisibilityProperty () const override |
| This kind of plugin do not need to be configurable.
|
|
QString | ifaceIid () const override |
| Return the plugin interface identifier.
|
|
virtual DImgLoader * | loader (DImg *const image, const DRawDecoding &rawSettings=DRawDecoding()) const =0 |
| Return the image loader instance for the DImg instance.
|
|
virtual QString | loaderName () const =0 |
| Return a single capitalized word to identify the format supported by the loader.
|
|
virtual bool | previewSupported () const |
| Return true if the loader can read a preview image.
|
|
void | setVisible (bool) override |
| This kind of plugin do not have GUI visibility attribute.
|
|
virtual QString | typeMimes () const =0 |
| Return the list of white-listed type-mimes supported by the loader, as a string of file-name suffix separated by spaces.
|
|
| DPlugin (QObject *const parent=nullptr) |
| Constructor with optional parent object.
|
|
| ~DPlugin () override |
| Destructor.
|
|
virtual QList< DPluginAuthor > | authors () const =0 |
| Returns authors list for the plugin.
|
|
virtual void | cleanUp () |
| Plugin method to clean up internal created objects.
|
|
virtual QString | description () const =0 |
| Returns a short description about the plugin.
|
|
virtual QString | details () const =0 |
| Returns a long description about the plugin.
|
|
virtual QString | handbookChapter () const |
| Return the online handbook chapter from an handbook section corresponding to this plugin.
|
|
virtual QString | handbookReference () const |
| Return the online handbook reference from an handbook chapter corresponding to this plugin.
|
|
virtual QString | handbookSection () const |
| Return the online handbook section corresponding to this plugin.
|
|
virtual QIcon | icon () const |
| Returns an icon for the plugin.
|
|
virtual QString | iid () const =0 |
| Returns the unique internal identification property of the plugin.
|
|
QString | libraryFileName () const |
| Returns the file name of the library for this plugin.
|
|
virtual QString | name () const =0 |
| Returns the user-visible name of the plugin.
|
|
QStringList | pluginAuthors () const |
| Return a list of authors as strings registered in this plugin.
|
|
void | setLibraryFileName (const QString &) |
| Sets the file name of the library for this plugin.
|
|
void | setShouldLoaded (bool b) |
| Accessor to adjust the should loaded plugin property.
|
|
virtual void | setup (QObject *const parent)=0 |
| Plugin factory method to create all internal object instances for a given parent.
|
|
bool | shouldLoaded () const |
| Return the should loaded property.
|
|
QString | version () const |
| Return the internal version used to check the binary compatibility at run-time.
|
|