24 #ifndef DIGIKAM_CURVES_WIDGET_H
25 #define DIGIKAM_CURVES_WIDGET_H
31 #include <QMouseEvent>
32 #include <QPaintEvent>
54 explicit CurvesWidget(
int w,
int h, QWidget*
const parent,
bool readOnly=
false);
57 void setup(
int w,
int h,
bool readOnly);
66 void saveCurve(KConfigGroup& group,
const QString&
prefix);
75 void restoreCurve(KConfigGroup& group,
const QString&
prefix);
82 void updateData(
const DImg& img);
87 void stopHistogramComputation();
89 void setDataLoading();
90 void setLoadingFailed();
101 void curveTypeChanged();
102 void setCurveGuide(
const DColor& color);
105 bool isSixteenBits()
const;
121 void slotProgressTimerDone();
122 void slotCalculationStarted();
123 void slotCalculationFinished(
bool success);
127 void paintEvent(QPaintEvent*)
override;
128 void mousePressEvent(QMouseEvent*)
override;
129 void mouseReleaseEvent(QMouseEvent*)
override;
130 void mouseMoveEvent(QMouseEvent*)
override;
131 void leaveEvent(QEvent*)
override;
Definition: imagecurves.h:45
QStringView prefix
Definition: itemviewutilities.cpp:593
Definition: datefolderview.cpp:43
ChannelType
Definition: digikam_globals.h:159
HistogramScale
Definition: digikam_globals.h:145