https://bugs.kde.org/show_bug.cgi?id=412083

caulier.gil...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caulier.gil...@gmail.com

--- Comment #5 from caulier.gil...@gmail.com ---
You use the white balance plugin where the code is located here and it use
ImageRegionWidget to render the canvas :

https://invent.kde.org/kde/digikam/blob/master/core/dplugins/editor/colors/whitebalance/whitebalancetool.cpp#L93

Code from this widget is common to plenty of Editor tools. Code is here :

https://invent.kde.org/kde/digikam/blob/master/core/utilities/imageeditor/widgets/imageregionwidget.cpp#L82

It's based on Qt GraphicView and use this item implementation to render
contents on the canvas with paint() and paintExtraData() :

https://invent.kde.org/kde/digikam/blob/master/core/utilities/imageeditor/widgets/imageregionitem.cpp#L111

https://invent.kde.org/kde/digikam/blob/master/core/utilities/imageeditor/widgets/imageregionitem.cpp#L188

This last method draw the preview modes "before/after/mouse-over"...

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to