digiKam
DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin Class Reference
+ Inheritance diagram for DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin:

Public Member Functions

QList< DPluginAction * > actions (QObject *const parent) const
 
QList< DPluginAuthorauthors () const override
 Returns authors list for the plugin. More...
 
QStringList categories () const override
 
virtual void cleanUp ()
 
int count () const override
 
QString description () const override
 Returns a short description about the plugin. More...
 
QString details () const override
 Returns a long description about the plugin. More...
 
virtual QMap< QString, QString > extraAboutData () const
 Returns a list of extra data to show in plugin about dialog. More...
 
virtual QString extraAboutDataTitle () const
 Returns the title of data returned by extraAboiutData(). More...
 
DPluginAction * findActionByName (const QString &name, QObject *const parent) const
 
virtual bool hasVisibilityProperty () const
 
QIcon icon () const override
 Returns an icon for the plugin. Default implementation return the system plugin icon. More...
 
QString ifaceIid () const override
 
QString iid () const override
 Returns the unique internal identification property of the plugin. Must be formatted as "org.kde.digikam.plugin._PLUGIN_TYPE_._NAME_OF_PLUGIN_". Examples: "org.kde.digikam.plugin.generic.Calendar" "org.kde.digikam.plugin.editor.AdjustCurvesTool" "org.kde.digikam.plugin.bqm.NoiseReduction". More...
 
QString libraryFileName () const
 Returns the file name of the library for this plugin. This string is filled at run-time by plugin loader. More...
 
QString name () const override
 Returns the user-visible name of the plugin. More...
 
QStringList pluginAuthors () const
 
 RatioCropToolPlugin (QObject *const parent=nullptr)
 
void setLibraryFileName (const QString &)
 Sets the file name of the library for this plugin. This string is filled at run-time by plugin loader. More...
 
void setShouldLoaded (bool b)
 
void setup (QObject *const) override
 
void setVisible (bool b) override
 
bool shouldLoaded () const
 
QString version () const
 
 ~RatioCropToolPlugin () override
 

Protected Member Functions

void addAction (DPluginAction *const ac)
 
DInfoInterface * infoIface (QObject *const ac) const
 

Constructor & Destructor Documentation

◆ RatioCropToolPlugin()

DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::RatioCropToolPlugin ( QObject *const  parent = nullptr)
explicit

◆ ~RatioCropToolPlugin()

DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::~RatioCropToolPlugin ( )
override

Member Function Documentation

◆ actions()

QList< DPluginAction * > Digikam::DPluginEditor::actions ( QObject *const  parent) const
inherited

◆ addAction()

void Digikam::DPluginEditor::addAction ( DPluginAction *const  ac)
protectedinherited

References Digikam::DPluginEditor::ifaceIid(), and Digikam::DPlugin::iid().

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesToolPlugin::setup(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsToolPlugin::setup(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionToolPlugin::setup(), DigikamEditorBCGToolPlugin::BCGToolPlugin::setup(), DigikamEditorBWSepiaToolPlugin::BWSepiaToolPlugin::setup(), DigikamEditorChannelMixerToolPlugin::ChannelMixerToolPlugin::setup(), DigikamEditorColorBalanceToolPlugin::CBToolPlugin::setup(), DigikamEditorConvert16To8ToolPlugin::Convert16To8ToolPlugin::setup(), DigikamEditorConvert8To16ToolPlugin::Convert8To16ToolPlugin::setup(), DigikamEditorFilmToolPlugin::FilmToolPlugin::setup(), DigikamEditorHSLToolPlugin::HSLToolPlugin::setup(), DigikamEditorInvertToolPlugin::InvertToolPlugin::setup(), DigikamEditorProfileConversionToolPlugin::ProfileConversionToolPlugin::setup(), DigikamEditorWhiteBalanceToolPlugin::WhiteBalanceToolPlugin::setup(), DigikamEditorBorderToolPlugin::BorderToolPlugin::setup(), DigikamEditorInsertTextToolPlugin::InsertTextToolPlugin::setup(), DigikamEditorTextureToolPlugin::TextureToolPlugin::setup(), DigikamEditorAntivignettingToolPlugin::AntiVignettingToolPlugin::setup(), DigikamEditorBlurToolPlugin::BlurToolPlugin::setup(), DigikamEditorHealingCloneToolPlugin::HealingCloneToolPlugin::setup(), DigikamEditorHotPixelsToolPlugin::HotPixelsToolPlugin::setup(), DigikamEditorLensAutoFixToolPlugin::LensAutoFixToolPlugin::setup(), DigikamEditorLensDistortionToolPlugin::LensDistortionToolPlugin::setup(), DigikamEditorLocalContrastToolPlugin::LocalContrastToolPlugin::setup(), DigikamEditorNoiseReductionToolPlugin::LocalContrastToolPlugin::setup(), DigikamEditorRedEyeToolPlugin::RedEyeToolPlugin::setup(), DigikamEditorRestorationToolPlugin::RestoreToolPlugin::setup(), DigikamEditorSharpenToolPlugin::SharpenToolPlugin::setup(), DigikamEditorPrintToolPlugin::PrintToolPlugin::setup(), DigikamEditorBlurFxToolPlugin::BlurFXToolPlugin::setup(), DigikamEditorCharcoalToolPlugin::CharcoalToolPlugin::setup(), DigikamEditorColorFxToolPlugin::ColorFXToolPlugin::setup(), DigikamEditorDistortionFxToolPlugin::DistortionFXToolPlugin::setup(), DigikamEditorEmbossToolPlugin::EmbossToolPlugin::setup(), DigikamEditorFilmGrainToolPlugin::FilmGrainToolPlugin::setup(), DigikamEditorOilPaintToolPlugin::OilPaintToolPlugin::setup(), DigikamEditorRainDropToolPlugin::RainDropToolPlugin::setup(), DigikamEditorAutoCropToolPlugin::AutoCropToolPlugin::setup(), DigikamEditorContentAwareResizeToolPlugin::ContentAwareResizeToolPlugin::setup(), DigikamEditorFreeRotationToolPlugin::FreeRotationToolPlugin::setup(), DigikamEditorPerspectiveToolPlugin::PerspectiveToolPlugin::setup(), setup(), DigikamEditorResizeToolPlugin::ResizeToolPlugin::setup(), and DigikamEditorShearToolPlugin::ShearToolPlugin::setup().

◆ authors()

QList< DPluginAuthor > DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::authors ( ) const
overridevirtual

Returns authors list for the plugin.

Implements Digikam::DPlugin.

◆ categories()

QStringList Digikam::DPluginEditor::categories ( ) const
overridevirtualinherited

Return a list of categories as strings registered in this plugin.

Implements Digikam::DPlugin.

References Digikam::DPluginAction::actionCategoryToString().

◆ cleanUp()

◆ count()

int Digikam::DPluginEditor::count ( ) const
overridevirtualinherited

Return the amount of tools registered to all parents.

Implements Digikam::DPlugin.

◆ description()

QString DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::description ( ) const
overridevirtual

Returns a short description about the plugin.

Implements Digikam::DPlugin.

◆ details()

QString DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::details ( ) const
overridevirtual

Returns a long description about the plugin.

Implements Digikam::DPlugin.

◆ extraAboutData()

virtual QMap<QString, QString> Digikam::DPlugin::extraAboutData ( ) const
inlinevirtualinherited

◆ extraAboutDataTitle()

virtual QString Digikam::DPlugin::extraAboutDataTitle ( ) const
inlinevirtualinherited

Returns the title of data returned by extraAboiutData().

Reimplemented in Digikam::DPluginDImg.

Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().

◆ findActionByName()

DPluginAction * Digikam::DPluginEditor::findActionByName ( const QString &  name,
QObject *const  parent 
) const
inherited

Return a plugin action instance found by name in plugin action list for a given parent.

References Digikam::DPluginEditor::actions(), and Digikam::DPlugin::name().

◆ hasVisibilityProperty()

bool Digikam::DPlugin::hasVisibilityProperty ( ) const
virtualinherited

Return true if plugin can be configured in setup dialog about the visibility property. Default implementation return true.

Reimplemented in Digikam::DPluginBqm, and Digikam::DPluginDImg.

◆ icon()

QIcon DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::icon ( ) const
overridevirtual

Returns an icon for the plugin. Default implementation return the system plugin icon.

Reimplemented from Digikam::DPlugin.

Referenced by setup().

◆ ifaceIid()

QString Digikam::DPluginEditor::ifaceIid ( ) const
inlineoverridevirtualinherited

Return the plugin interface identifier.

Implements Digikam::DPlugin.

References DIGIKAM_DPLUGIN_EDITOR_IID.

Referenced by Digikam::DPluginEditor::addAction().

◆ iid()

QString DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::iid ( ) const
overridevirtual

Returns the unique internal identification property of the plugin. Must be formatted as "org.kde.digikam.plugin._PLUGIN_TYPE_._NAME_OF_PLUGIN_". Examples: "org.kde.digikam.plugin.generic.Calendar" "org.kde.digikam.plugin.editor.AdjustCurvesTool" "org.kde.digikam.plugin.bqm.NoiseReduction".

Implements Digikam::DPlugin.

References DPLUGIN_IID.

◆ infoIface()

DInfoInterface * Digikam::DPluginEditor::infoIface ( QObject *const  ac) const
protectedinherited

Return the info interface instance for the given action.

References Digikam::DXmlGuiWindow::infoIface().

◆ libraryFileName()

QString Digikam::DPlugin::libraryFileName ( ) const
inherited

Returns the file name of the library for this plugin. This string is filled at run-time by plugin loader.

Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().

◆ name()

QString DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::name ( ) const
overridevirtual

Returns the user-visible name of the plugin.

The user-visible name should be context free, i.e. the name should provide enough information as to what the plugin is about in the context of digiKam.

Implements Digikam::DPlugin.

◆ pluginAuthors()

QStringList Digikam::DPlugin::pluginAuthors ( ) const
inherited

Return a list of authors as strings registered in this plugin.

References Digikam::DPlugin::authors(), and Digikam::DPluginAuthor::name.

◆ setLibraryFileName()

void Digikam::DPlugin::setLibraryFileName ( const QString &  name)
inherited

Sets the file name of the library for this plugin. This string is filled at run-time by plugin loader.

References Digikam::DPlugin::name().

Referenced by Digikam::DPluginLoader::Private::appendPlugin().

◆ setShouldLoaded()

void Digikam::DPlugin::setShouldLoaded ( bool  b)
inherited

Accessor to adjust the should loaded plugin property. This property is adjusted by plugin loader at start-up.

Referenced by Digikam::DPluginLoader::Private::appendPlugin().

◆ setup()

void DigikamEditorRatioCropToolPlugin::RatioCropToolPlugin::setup ( QObject * const  parent)
overridevirtual

Plugin factory method to create all internal object instances for a given parent.

Implements Digikam::DPlugin.

References Digikam::DPluginEditor::addAction(), icon(), and Digikam::DPluginAction::setActionCategory().

◆ setVisible()

void Digikam::DPluginEditor::setVisible ( bool  b)
overridevirtualinherited

Holds whether the plugin can be seen in parent view.

Implements Digikam::DPlugin.

Referenced by Digikam::DPluginLoader::registerEditorPlugins().

◆ shouldLoaded()

bool Digikam::DPlugin::shouldLoaded ( ) const
inherited

Return the should loaded property. If it's true, the plugin must be loaded in application GUI at startup by plugin loader.

Referenced by Digikam::ToolsListView::addTool(), Digikam::DPluginLoader::registerEditorPlugins(), and Digikam::DPluginLoader::registerGenericPlugins().

◆ version()

QString Digikam::DPlugin::version ( ) const
inherited

Return the internal version used to check the binary compatibility at run-time. This is typically the same version of digiKam core used at compilation time.

Referenced by Digikam::DPluginLoader::Private::appendPlugin(), and Digikam::DPluginAboutDlg::DPluginAboutDlg().


The documentation for this class was generated from the following files: