digiKam
DigikamEditorBCGToolPlugin::BCGTool Class Reference
+ Inheritance diagram for DigikamEditorBCGToolPlugin::BCGTool:

Public Types

enum  RenderingMode { NoneRendering = 0 , PreviewRendering , FinalRendering }
 

Public Slots

virtual void slotAbort ()
 
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

 BCGTool (QObject *const parent)
 
virtual void exposureSettingsChanged ()
 
virtual void ICCSettingsChanged ()
 
void init ()
 
DPlugin * plugin () const
 
RenderingMode renderingMode () const
 
virtual void setBackgroundColor (const QColor &bg)
 
void setInitPreview (bool b)
 
void setPlugin (DPlugin *const plugin)
 
void setProgressMessage (const QString &mess)
 
FilterAction::Category toolCategory () const
 
QString toolHelp () const
 
QIcon toolIcon () const
 
QString toolName () const
 
EditorToolSettings * toolSettings () const
 
int toolVersion () const
 
QWidget * toolView () const
 
 ~BCGTool () override
 

Protected Slots

void slotAnalyserFinished (bool success)
 
void slotAnalyserStarted ()
 
void slotCancel () override
 
void slotFilterFinished (bool success)
 
void slotFilterStarted ()
 
void slotInit () override
 
virtual void slotLoadSettings ()
 
void slotOk () override
 
void slotPreview () override
 
void slotProgress (int progress)
 
void slotTimer ()
 

Protected Member Functions

DImgThreadedAnalyser * analyser () const
 
virtual void analyserCompleted ()
 
void deleteFilterInstance (bool b=true)
 
DImgThreadedFilter * filter () const
 
virtual void finalRendering ()
 
virtual void renderingFinished ()
 
void setAnalyser (DImgThreadedAnalyser *const analyser)
 
virtual void setBusy (bool)
 
void setFilter (DImgThreadedFilter *const filter)
 
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 slotSaveAsSettings ()
 
virtual void slotScaleChanged ()
 

Member Enumeration Documentation

◆ RenderingMode

Enumerator
NoneRendering 
PreviewRendering 
FinalRendering 

Constructor & Destructor Documentation

◆ BCGTool()

◆ ~BCGTool()

DigikamEditorBCGToolPlugin::BCGTool::~BCGTool ( )
override

Member Function Documentation

◆ analyser()

DImgThreadedAnalyser * Digikam::EditorToolThreaded::analyser ( ) const
protectedinherited

Manage analyser instance plugged in tool interface

Referenced by Digikam::EditorToolThreaded::setAnalyser(), and Digikam::EditorToolThreaded::slotAbort().

◆ analyserCompleted()

virtual void Digikam::EditorToolThreaded::analyserCompleted ( )
inlineprotectedvirtualinherited

◆ cancelClicked

void Digikam::EditorTool::cancelClicked ( )
signalinherited

◆ deleteFilterInstance()

void Digikam::EditorToolThreaded::deleteFilterInstance ( bool  b = true)
protectedinherited

If true, delete filter instance when preview or final rendering is processed. If false, filter instance will be managed outside for ex. with ContentAwareResizing tool.

◆ exposureSettingsChanged()

void Digikam::EditorTool::exposureSettingsChanged ( )
virtualinherited

◆ filter()

DImgThreadedFilter * Digikam::EditorToolThreaded::filter ( ) const
protectedinherited

◆ finalRendering()

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

◆ ICCSettingsChanged()

void Digikam::EditorTool::ICCSettingsChanged ( )
virtualinherited

◆ init()

void Digikam::EditorTool::init ( )
inherited

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

References Digikam::EditorTool::slotInit().

◆ okClicked

void Digikam::EditorTool::okClicked ( )
signalinherited

◆ plugin()

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

◆ renderingFinished()

virtual void Digikam::EditorToolThreaded::renderingFinished ( )
inlineprotectedvirtualinherited

◆ renderingMode()

EditorToolThreaded::RenderingMode Digikam::EditorToolThreaded::renderingMode ( ) const
inherited

return the current tool rendering mode.

◆ setAnalyser()

◆ setBackgroundColor()

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

◆ setBusy()

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

◆ setFilter()

◆ setInitPreview()

◆ setPlugin()

◆ setPreviewModeMask()

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

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

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesTool::AdjustCurvesTool(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsTool::AdjustLevelsTool(), DigikamEditorAntivignettingToolPlugin::AntiVignettingTool::AntiVignettingTool(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionTool::AutoCorrectionTool(), 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().

◆ setProgressMessage()

void Digikam::EditorToolThreaded::setProgressMessage ( const QString &  mess)
inherited

Set the small text to show in editor status progress bar during tool computation. If it's not set, tool name is used instead.

Referenced by DigikamRawImportNativePlugin::RawImport::RawImport().

◆ setToolCategory()

void Digikam::EditorTool::setToolCategory ( const FilterAction::Category  category)
protectedinherited

◆ setToolHelp()

◆ setToolIcon()

◆ setToolInfoMessage()

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

◆ setToolName()

◆ setToolSettings()

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

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

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesTool::AdjustCurvesTool(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsTool::AdjustLevelsTool(), DigikamEditorAntivignettingToolPlugin::AntiVignettingTool::AntiVignettingTool(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionTool::AutoCorrectionTool(), 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)
protectedinherited

◆ setToolView()

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

References Digikam::EditorTool::slotUpdateSpotInfo().

Referenced by DigikamEditorAdjustCurvesToolPlugin::AdjustCurvesTool::AdjustCurvesTool(), DigikamEditorAdjustLevelsToolPlugin::AdjustLevelsTool::AdjustLevelsTool(), DigikamEditorAntivignettingToolPlugin::AntiVignettingTool::AntiVignettingTool(), DigikamEditorAutoCorrectionToolPlugin::AutoCorrectionTool::AutoCorrectionTool(), 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().

◆ slotAbort

◆ slotAnalyserFinished

void Digikam::EditorToolThreaded::slotAnalyserFinished ( bool  success)
protectedslotinherited

◆ slotAnalyserStarted

void Digikam::EditorToolThreaded::slotAnalyserStarted ( )
protectedslotinherited

Manage start and end events from analyser

Referenced by Digikam::EditorToolThreaded::setAnalyser().

◆ slotApplyTool

void Digikam::EditorTool::slotApplyTool ( )
virtualslotinherited

◆ slotCancel

void Digikam::EditorToolThreaded::slotCancel ( )
overrideprotectedslotinherited

◆ slotChannelChanged()

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

◆ slotCloseTool

void Digikam::EditorTool::slotCloseTool ( )
virtualslotinherited

◆ slotFilterFinished

◆ slotFilterStarted

void Digikam::EditorToolThreaded::slotFilterStarted ( )
protectedslotinherited

Manage start and end events from filter

Referenced by Digikam::EditorToolThreaded::setFilter().

◆ slotInit

void Digikam::EditorToolThreaded::slotInit ( )
overrideprotectedslotinherited

◆ slotLoadSettings

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

◆ slotOk

◆ slotPreview

◆ slotPreviewModeChanged

void Digikam::EditorTool::slotPreviewModeChanged ( )
slotinherited

◆ slotProgress

void Digikam::EditorToolThreaded::slotProgress ( int  progress)
protectedslotinherited

◆ slotSaveAsSettings()

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

◆ slotScaleChanged()

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

◆ slotTimer

◆ slotUpdateSpotInfo

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

◆ toolCategory()

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

◆ toolHelp()

QString Digikam::EditorTool::toolHelp ( ) const
inherited

◆ toolIcon()

QIcon Digikam::EditorTool::toolIcon ( ) const
inherited

◆ toolName()

◆ toolSettings()

◆ toolVersion()

int Digikam::EditorTool::toolVersion ( ) const
inherited

◆ toolView()


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