26 #ifndef DIGIKAM_IMAGE_REGION_WIDGET_H
27 #define DIGIKAM_IMAGE_REGION_WIDGET_H
36 #include <QResizeEvent>
37 #include <QWheelEvent>
55 explicit ImageRegionWidget(QWidget*
const parent =
nullptr,
bool paintExtras =
true);
61 QRect getOriginalImageRegionToRender()
const;
70 DImg getOriginalRegionImage(
bool useDownscaledImage =
false)
const;
72 DImg getOriginalImage()
const;
74 void setPreviewImage(
const DImg& img);
75 void updateImage(
const DImg& img);
77 void setCapturePointMode(
bool b);
80 void setHighLightPoints(
const QPolygon& pointsList);
82 void ICCSettingsChanged();
83 void exposureSettingsChanged();
92 void slotPreviewModeChanged(
int mode);
93 void slotOriginalImageRegionChanged(
bool targetDone=
true);
97 void mousePressEvent(QMouseEvent*)
override;
98 void mouseReleaseEvent(QMouseEvent*)
override;
102 void emitCapturedPointFromOriginal(
const QPointF&);
106 void slotOriginalImageRegionChangedDelayed();
111 Private*
const d_ptr;
Definition: graphicsdimgview.h:44
Definition: datefolderview.cpp:43