digiKam
Digikam::EditorTool Class Reference
+ Inheritance diagram for Digikam::EditorTool:

Public Slots

virtual void slotApplyTool ()
 
virtual void slotCloseTool ()
 
void slotPreviewModeChanged ()
 
void slotUpdateSpotInfo (const Digikam::DColor &col, const QPoint &point)
 

Signals

void cancelClicked ()
 
void okClicked ()
 

Public Member Functions

 EditorTool (QObject *const parent)
 
virtual void exposureSettingsChanged ()
 
virtual void ICCSettingsChanged ()
 
void init ()
 
DPluginplugin () const
 
virtual void setBackgroundColor (const QColor &bg)
 
void setInitPreview (bool b)
 
void setPlugin (DPlugin *const plugin)
 
FilterAction::Category toolCategory () const
 
QString toolHelp () const
 
QIcon toolIcon () const
 
QString toolName () const
 
EditorToolSettingstoolSettings () const
 
int toolVersion () const
 
QWidget * toolView () const
 
 ~EditorTool () override
 

Protected Slots

virtual void slotCancel ()
 
virtual void slotInit ()
 
virtual void slotLoadSettings ()
 
virtual void slotOk ()
 
virtual void slotResetSettings ()
 
void slotTimer ()
 

Protected Member Functions

virtual void finalRendering ()
 
virtual void readSettings ()
 
virtual void setBusy (bool)
 
void setPreviewModeMask (int mask)
 
void setToolCategory (const FilterAction::Category category)
 
void setToolHelp (const QString &anchor)
 
void setToolIcon (const QIcon &icon)
 
void setToolInfoMessage (const QString &txt)
 
void setToolName (const QString &name)
 
virtual void setToolSettings (EditorToolSettings *const settings)
 
void setToolVersion (const int version)
 
virtual void setToolView (QWidget *const view)
 
virtual void slotChannelChanged ()
 
virtual void slotPreview ()
 
virtual void slotSaveAsSettings ()
 
virtual void slotScaleChanged ()
 
virtual void writeSettings ()
 

Constructor & Destructor Documentation

◆ EditorTool()

Digikam::EditorTool::EditorTool ( QObject *const  parent)
explicit

References slotPreview().

◆ ~EditorTool()

Digikam::EditorTool::~EditorTool ( )
override

Member Function Documentation

◆ cancelClicked

void Digikam::EditorTool::cancelClicked ( )
signal

◆ exposureSettingsChanged()

◆ finalRendering()

virtual void Digikam::EditorTool::finalRendering ( )
inlineprotectedvirtual

Referenced by slotOk().

◆ ICCSettingsChanged()

◆ init()

void Digikam::EditorTool::init ( )

Called by editor tool interface to initialized tool when all is ready, through slotInit().

References slotInit().

◆ okClicked

void Digikam::EditorTool::okClicked ( )
signal

◆ plugin()

DPlugin * Digikam::EditorTool::plugin ( ) const

Referenced by setPlugin().

◆ readSettings()

void Digikam::EditorTool::readSettings ( )
protectedvirtual

Referenced by slotInit().

◆ setBackgroundColor()

void Digikam::EditorTool::setBackgroundColor ( const QColor &  bg)
virtual

◆ setBusy()

void Digikam::EditorTool::setBusy ( bool  state)
protectedvirtual

◆ setInitPreview()

◆ setPlugin()

void Digikam::EditorTool::setPlugin ( DPlugin *const  plugin)

◆ setPreviewModeMask()

void Digikam::EditorTool::setPreviewModeMask ( int  mask)
protected

References Digikam::EditorToolIface::editorToolIface(), and Digikam::EditorToolIface::setPreviewModeMask().

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesTool::AdjustCurvesTool(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsTool::AdjustLevelsTool(), DigikamEditorAntivignettingToolPlugin::AntiVignettingTool::AntiVignettingTool(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionTool::AutoCorrectionTool(), DigikamEditorBCGToolPlugin::BCGTool::BCGTool(), DigikamEditorBlurFxToolPlugin::BlurFXTool::BlurFXTool(), DigikamEditorBlurToolPlugin::BlurTool::BlurTool(), DigikamEditorBorderToolPlugin::BorderTool::BorderTool(), DigikamEditorBWSepiaToolPlugin::BWSepiaTool::BWSepiaTool(), DigikamEditorColorBalanceToolPlugin::CBTool::CBTool(), DigikamEditorChannelMixerToolPlugin::ChannelMixerTool::ChannelMixerTool(), DigikamEditorCharcoalToolPlugin::CharcoalTool::CharcoalTool(), DigikamEditorColorFxToolPlugin::ColorFxTool::ColorFxTool(), DigikamEditorContentAwareResizeToolPlugin::ContentAwareResizeTool::ContentAwareResizeTool(), DigikamEditorDistortionFxToolPlugin::DistortionFXTool::DistortionFXTool(), DigikamEditorEmbossToolPlugin::EmbossTool::EmbossTool(), DigikamEditorFilmGrainToolPlugin::FilmGrainTool::FilmGrainTool(), DigikamEditorFilmToolPlugin::FilmTool::FilmTool(), DigikamEditorFreeRotationToolPlugin::FreeRotationTool::FreeRotationTool(), DigikamEditorHealingCloneToolPlugin::HealingCloneTool::HealingCloneTool(), DigikamEditorHotPixelsToolPlugin::HotPixelsTool::HotPixelsTool(), DigikamEditorHSLToolPlugin::HSLTool::HSLTool(), DigikamEditorLensAutoFixToolPlugin::LensAutoFixTool::LensAutoFixTool(), DigikamEditorLocalContrastToolPlugin::LocalContrastTool::LocalContrastTool(), DigikamEditorNoiseReductionToolPlugin::NoiseReductionTool::NoiseReductionTool(), DigikamEditorOilPaintToolPlugin::OilPaintTool::OilPaintTool(), DigikamEditorProfileConversionToolPlugin::ProfileConversionTool::ProfileConversionTool(), DigikamEditorRainDropToolPlugin::RainDropTool::RainDropTool(), DigikamEditorRedEyeToolPlugin::RedEyeTool::RedEyeTool(), DigikamEditorResizeToolPlugin::ResizeTool::ResizeTool(), DigikamEditorRestorationToolPlugin::RestorationTool::RestorationTool(), DigikamEditorSharpenToolPlugin::SharpenTool::SharpenTool(), DigikamEditorShearToolPlugin::ShearTool::ShearTool(), DigikamEditorTextureToolPlugin::TextureTool::TextureTool(), and DigikamEditorWhiteBalanceToolPlugin::WhiteBalanceTool::WhiteBalanceTool().

◆ setToolCategory()

◆ setToolHelp()

◆ setToolIcon()

◆ setToolInfoMessage()

void Digikam::EditorTool::setToolInfoMessage ( const QString &  txt)
protected

◆ setToolName()

◆ setToolSettings()

void Digikam::EditorTool::setToolSettings ( EditorToolSettings *const  settings)
protectedvirtual

References slotCancel(), slotChannelChanged(), slotLoadSettings(), slotOk(), slotPreview(), slotResetSettings(), slotSaveAsSettings(), and slotScaleChanged().

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesTool::AdjustCurvesTool(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsTool::AdjustLevelsTool(), DigikamEditorAntivignettingToolPlugin::AntiVignettingTool::AntiVignettingTool(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionTool::AutoCorrectionTool(), DigikamEditorBCGToolPlugin::BCGTool::BCGTool(), DigikamEditorBlurFxToolPlugin::BlurFXTool::BlurFXTool(), DigikamEditorBlurToolPlugin::BlurTool::BlurTool(), DigikamEditorBorderToolPlugin::BorderTool::BorderTool(), DigikamEditorBWSepiaToolPlugin::BWSepiaTool::BWSepiaTool(), DigikamEditorColorBalanceToolPlugin::CBTool::CBTool(), DigikamEditorChannelMixerToolPlugin::ChannelMixerTool::ChannelMixerTool(), DigikamEditorCharcoalToolPlugin::CharcoalTool::CharcoalTool(), DigikamEditorColorFxToolPlugin::ColorFxTool::ColorFxTool(), DigikamEditorContentAwareResizeToolPlugin::ContentAwareResizeTool::ContentAwareResizeTool(), DigikamEditorDistortionFxToolPlugin::DistortionFXTool::DistortionFXTool(), DigikamEditorEmbossToolPlugin::EmbossTool::EmbossTool(), DigikamEditorFilmGrainToolPlugin::FilmGrainTool::FilmGrainTool(), DigikamEditorFilmToolPlugin::FilmTool::FilmTool(), DigikamEditorFreeRotationToolPlugin::FreeRotationTool::FreeRotationTool(), DigikamEditorHealingCloneToolPlugin::HealingCloneTool::HealingCloneTool(), DigikamEditorHotPixelsToolPlugin::HotPixelsTool::HotPixelsTool(), DigikamEditorHSLToolPlugin::HSLTool::HSLTool(), DigikamEditorInsertTextToolPlugin::InsertTextTool::InsertTextTool(), DigikamEditorLensAutoFixToolPlugin::LensAutoFixTool::LensAutoFixTool(), DigikamEditorLensDistortionToolPlugin::LensDistortionTool::LensDistortionTool(), DigikamEditorLocalContrastToolPlugin::LocalContrastTool::LocalContrastTool(), DigikamEditorNoiseReductionToolPlugin::NoiseReductionTool::NoiseReductionTool(), DigikamEditorOilPaintToolPlugin::OilPaintTool::OilPaintTool(), DigikamEditorPerspectiveToolPlugin::PerspectiveTool::PerspectiveTool(), DigikamEditorProfileConversionToolPlugin::ProfileConversionTool::ProfileConversionTool(), DigikamEditorRainDropToolPlugin::RainDropTool::RainDropTool(), DigikamEditorRatioCropToolPlugin::RatioCropTool::RatioCropTool(), DigikamRawImportNativePlugin::RawImport::RawImport(), DigikamEditorRedEyeToolPlugin::RedEyeTool::RedEyeTool(), DigikamEditorResizeToolPlugin::ResizeTool::ResizeTool(), DigikamEditorRestorationToolPlugin::RestorationTool::RestorationTool(), DigikamEditorSharpenToolPlugin::SharpenTool::SharpenTool(), DigikamEditorShearToolPlugin::ShearTool::ShearTool(), DigikamEditorTextureToolPlugin::TextureTool::TextureTool(), and DigikamEditorWhiteBalanceToolPlugin::WhiteBalanceTool::WhiteBalanceTool().

◆ setToolVersion()

void Digikam::EditorTool::setToolVersion ( const int  version)
protected

◆ setToolView()

void Digikam::EditorTool::setToolView ( QWidget *const  view)
protectedvirtual

References slotUpdateSpotInfo().

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesTool::AdjustCurvesTool(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsTool::AdjustLevelsTool(), DigikamEditorAntivignettingToolPlugin::AntiVignettingTool::AntiVignettingTool(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionTool::AutoCorrectionTool(), DigikamEditorBCGToolPlugin::BCGTool::BCGTool(), DigikamEditorBlurFxToolPlugin::BlurFXTool::BlurFXTool(), DigikamEditorBlurToolPlugin::BlurTool::BlurTool(), DigikamEditorBorderToolPlugin::BorderTool::BorderTool(), DigikamEditorBWSepiaToolPlugin::BWSepiaTool::BWSepiaTool(), DigikamEditorColorBalanceToolPlugin::CBTool::CBTool(), DigikamEditorChannelMixerToolPlugin::ChannelMixerTool::ChannelMixerTool(), DigikamEditorCharcoalToolPlugin::CharcoalTool::CharcoalTool(), DigikamEditorColorFxToolPlugin::ColorFxTool::ColorFxTool(), DigikamEditorContentAwareResizeToolPlugin::ContentAwareResizeTool::ContentAwareResizeTool(), DigikamEditorDistortionFxToolPlugin::DistortionFXTool::DistortionFXTool(), DigikamEditorEmbossToolPlugin::EmbossTool::EmbossTool(), DigikamEditorFilmGrainToolPlugin::FilmGrainTool::FilmGrainTool(), DigikamEditorFilmToolPlugin::FilmTool::FilmTool(), DigikamEditorFreeRotationToolPlugin::FreeRotationTool::FreeRotationTool(), DigikamEditorHealingCloneToolPlugin::HealingCloneTool::HealingCloneTool(), DigikamEditorHotPixelsToolPlugin::HotPixelsTool::HotPixelsTool(), DigikamEditorHSLToolPlugin::HSLTool::HSLTool(), DigikamEditorInsertTextToolPlugin::InsertTextTool::InsertTextTool(), DigikamEditorLensAutoFixToolPlugin::LensAutoFixTool::LensAutoFixTool(), DigikamEditorLensDistortionToolPlugin::LensDistortionTool::LensDistortionTool(), DigikamEditorLocalContrastToolPlugin::LocalContrastTool::LocalContrastTool(), DigikamEditorNoiseReductionToolPlugin::NoiseReductionTool::NoiseReductionTool(), DigikamEditorOilPaintToolPlugin::OilPaintTool::OilPaintTool(), DigikamEditorPerspectiveToolPlugin::PerspectiveTool::PerspectiveTool(), DigikamEditorProfileConversionToolPlugin::ProfileConversionTool::ProfileConversionTool(), DigikamEditorRainDropToolPlugin::RainDropTool::RainDropTool(), DigikamEditorRatioCropToolPlugin::RatioCropTool::RatioCropTool(), DigikamRawImportNativePlugin::RawImport::RawImport(), DigikamEditorRedEyeToolPlugin::RedEyeTool::RedEyeTool(), DigikamEditorResizeToolPlugin::ResizeTool::ResizeTool(), DigikamEditorRestorationToolPlugin::RestorationTool::RestorationTool(), DigikamEditorSharpenToolPlugin::SharpenTool::SharpenTool(), DigikamEditorShearToolPlugin::ShearTool::ShearTool(), DigikamEditorTextureToolPlugin::TextureTool::TextureTool(), and DigikamEditorWhiteBalanceToolPlugin::WhiteBalanceTool::WhiteBalanceTool().

◆ slotApplyTool

void Digikam::EditorTool::slotApplyTool ( )
virtualslot

◆ slotCancel

void Digikam::EditorTool::slotCancel ( )
protectedvirtualslot

References cancelClicked(), and writeSettings().

Referenced by setToolSettings(), and slotCloseTool().

◆ slotChannelChanged()

virtual void Digikam::EditorTool::slotChannelChanged ( )
inlineprotectedvirtual

Referenced by setToolSettings().

◆ slotCloseTool

void Digikam::EditorTool::slotCloseTool ( )
virtualslot

◆ slotInit

void Digikam::EditorTool::slotInit ( )
protectedvirtualslot

◆ slotLoadSettings

virtual void Digikam::EditorTool::slotLoadSettings ( )
inlineprotectedvirtualslot

Referenced by setToolSettings().

◆ slotOk

void Digikam::EditorTool::slotOk ( )
protectedvirtualslot

◆ slotPreview()

virtual void Digikam::EditorTool::slotPreview ( )
inlineprotectedvirtual

◆ slotPreviewModeChanged

void Digikam::EditorTool::slotPreviewModeChanged ( )
slot

References slotPreview().

◆ slotResetSettings

void Digikam::EditorTool::slotResetSettings ( )
protectedvirtualslot

Referenced by setToolSettings(), and slotInit().

◆ slotSaveAsSettings()

virtual void Digikam::EditorTool::slotSaveAsSettings ( )
inlineprotectedvirtual

Referenced by setToolSettings().

◆ slotScaleChanged()

virtual void Digikam::EditorTool::slotScaleChanged ( )
inlineprotectedvirtual

Referenced by setToolSettings().

◆ slotTimer

◆ slotUpdateSpotInfo

void Digikam::EditorTool::slotUpdateSpotInfo ( const Digikam::DColor col,
const QPoint &  point 
)
slot

◆ toolCategory()

FilterAction::Category Digikam::EditorTool::toolCategory ( ) const

◆ toolHelp()

QString Digikam::EditorTool::toolHelp ( ) const

◆ toolIcon()

QIcon Digikam::EditorTool::toolIcon ( ) const

◆ toolName()

◆ toolSettings()

◆ toolVersion()

int Digikam::EditorTool::toolVersion ( ) const

◆ toolView()

◆ writeSettings()

void Digikam::EditorTool::writeSettings ( )
protectedvirtual

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