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

--- Comment #8 from caulier.gil...@gmail.com ---
Maik,

The color spot to histogram feature have been broken since a while when the
canvas of editor have been port to model/view/controler (i think in version 4
or 5).

Few tools used this feature through the signal
"spotPositionChangedFromTarget(Digikam::DColor,QPoint)" emitted from the image
editor preview widget (connexion is commented in plugins as the signal do not
exists for the moment).

illes@U22:/mnt/data/Devel/8.x/core$ grep "spotPositionChangedFromTarget" -R 
dplugins/editor/colors/whitebalance/whitebalancetool.cpp:   
connect(d->previewWidget,
SIGNAL(spotPositionChangedFromTarget(Digikam::DColor,QPoint)),
dplugins/editor/colors/adjustcurves/adjustcurvestool.cpp:   
connect(d->previewWidget,
SIGNAL(spotPositionChangedFromTarget(Digikam::DColor,QPoint)),
dplugins/editor/colors/adjustlevels/adjustlevelstool.cpp:   
connect(d->previewWidget,
SIGNAL(spotPositionChangedFromTarget(Digikam::DColor,QPoint)),
dplugins/editor/filters/colorfx/colorfxtool.cpp:    connect(d->previewWidget,
SIGNAL(spotPositionChangedFromTarget(Digikam::DColor,QPoint)),
utilities/imageeditor/widgets/imageguidewidget.cpp:                Q_EMIT
spotPositionChangedFromTarget(color, d->spot);
utilities/imageeditor/widgets/imageguidewidget.cpp:                    Q_EMIT
spotPositionChangedFromTarget(color, QPoint(d->spot.x() - d->rect.width() / 2,
utilities/imageeditor/widgets/imageguidewidget.cpp:                    Q_EMIT
spotPositionChangedFromTarget(color, d->spot);
utilities/imageeditor/widgets/imageguidewidget.cpp:                    Q_EMIT
spotPositionChangedFromTarget(color, QPoint(d->spot.x(),
utilities/imageeditor/widgets/imageguidewidget.cpp:                    Q_EMIT
spotPositionChangedFromTarget(color, d->spot);
utilities/imageeditor/widgets/imageguidewidget.h:    void
spotPositionChangedFromTarget(const Digikam::DColor& color, const QPoint&
position);
utilities/imageeditor/editor/editortool.cpp:        connect(d->view,
SIGNAL(spotPositionChangedFromTarget(Digikam::DColor,QPoint)),
gilles@U22:/mnt/data/Devel/8.x/core$ 

Typically, a button were available in the plugin to capture preview point color
and push the RGB value to the histogram to display a vertical bar. The goal is
to visualize quickly if a region of image is over or under exposed.

The code activate the feature in the preview widget and to fire the signal
is... missing as it never been ported.

Gilles
Gilles

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

Reply via email to