◆ ColorPointSrc
Enumerator |
---|
OriginalImage | |
PreviewImage | |
TargetPreviewImage | |
◆ GuideToolMode
Enumerator |
---|
HVGuideMode | |
PickColorMode | |
◆ ImageGuideWidget()
◆ ~ImageGuideWidget()
Digikam::ImageGuideWidget::~ImageGuideWidget |
( |
| ) |
|
|
override |
◆ drawLineTo() [1/2]
void Digikam::ImageGuideWidget::drawLineTo |
( |
const QPoint & |
endPoint | ) |
|
|
protected |
◆ drawLineTo() [2/2]
void Digikam::ImageGuideWidget::drawLineTo |
( |
int |
width, |
|
|
bool |
erase, |
|
|
const QColor & |
color, |
|
|
const QPoint & |
start, |
|
|
const QPoint & |
end |
|
) |
| |
|
protected |
◆ drawText()
void Digikam::ImageGuideWidget::drawText |
( |
QPainter *const |
p, |
|
|
const QPoint & |
corner, |
|
|
const QString & |
text |
|
) |
| |
|
protected |
◆ enterEvent()
void Digikam::ImageGuideWidget::enterEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ exposureSettingsChanged()
void Digikam::ImageGuideWidget::exposureSettingsChanged |
( |
| ) |
|
◆ getMask()
QImage Digikam::ImageGuideWidget::getMask |
( |
| ) |
const |
◆ getSpotColor()
DColor Digikam::ImageGuideWidget::getSpotColor |
( |
int |
getColorFrom | ) |
const |
◆ getSpotPosition()
QPoint Digikam::ImageGuideWidget::getSpotPosition |
( |
| ) |
const |
◆ ICCSettingsChanged()
void Digikam::ImageGuideWidget::ICCSettingsChanged |
( |
| ) |
|
◆ imageIface()
ImageIface * Digikam::ImageGuideWidget::imageIface |
( |
| ) |
const |
◆ leaveEvent()
void Digikam::ImageGuideWidget::leaveEvent |
( |
QEvent * |
| ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void Digikam::ImageGuideWidget::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void Digikam::ImageGuideWidget::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void Digikam::ImageGuideWidget::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotected |
References getSpotColor(), Digikam::PreviewToolBar::NoPreviewMode, OriginalImage, Digikam::PreviewToolBar::PreviewBothImagesHorz, Digikam::PreviewToolBar::PreviewBothImagesHorzCont, Digikam::PreviewToolBar::PreviewBothImagesVert, Digikam::PreviewToolBar::PreviewBothImagesVertCont, Digikam::PreviewToolBar::PreviewOriginalImage, Digikam::PreviewToolBar::PreviewTargetImage, spotPositionChangedFromOriginal(), spotPositionChangedFromTarget(), TargetPreviewImage, and updatePreview().
◆ paintEvent()
void Digikam::ImageGuideWidget::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
overrideprotected |
◆ previewMode()
int Digikam::ImageGuideWidget::previewMode |
( |
| ) |
const |
◆ resetPoints()
void Digikam::ImageGuideWidget::resetPoints |
( |
| ) |
|
◆ resetSpotPosition()
void Digikam::ImageGuideWidget::resetSpotPosition |
( |
| ) |
|
◆ resizeEvent()
void Digikam::ImageGuideWidget::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
overrideprotected |
◆ setBackgroundColor()
void Digikam::ImageGuideWidget::setBackgroundColor |
( |
const QColor & |
bg | ) |
|
◆ setEraseMode()
void Digikam::ImageGuideWidget::setEraseMode |
( |
bool |
erase | ) |
|
◆ setMaskCursor()
void Digikam::ImageGuideWidget::setMaskCursor |
( |
| ) |
|
◆ setMaskEnabled()
void Digikam::ImageGuideWidget::setMaskEnabled |
( |
bool |
enabled | ) |
|
◆ setMaskPenSize()
void Digikam::ImageGuideWidget::setMaskPenSize |
( |
int |
size | ) |
|
◆ setPaintColor()
void Digikam::ImageGuideWidget::setPaintColor |
( |
const QColor & |
color | ) |
|
◆ setPoints()
void Digikam::ImageGuideWidget::setPoints |
( |
const QPolygon & |
p, |
|
|
bool |
drawLine = false |
|
) |
| |
◆ setSpotPosition()
void Digikam::ImageGuideWidget::setSpotPosition |
( |
const QPoint & |
point | ) |
|
|
protected |
◆ setSpotVisible()
void Digikam::ImageGuideWidget::setSpotVisible |
( |
bool |
spotVisible, |
|
|
bool |
blink = false |
|
) |
| |
◆ setSpotVisibleNoUpdate()
void Digikam::ImageGuideWidget::setSpotVisibleNoUpdate |
( |
bool |
spotVisible | ) |
|
◆ signalResized
void Digikam::ImageGuideWidget::signalResized |
( |
| ) |
|
|
signal |
◆ slotChangeGuideColor
void Digikam::ImageGuideWidget::slotChangeGuideColor |
( |
const QColor & |
color | ) |
|
|
slot |
◆ slotChangeGuideSize
void Digikam::ImageGuideWidget::slotChangeGuideSize |
( |
int |
size | ) |
|
|
slot |
◆ slotPreviewModeChanged
void Digikam::ImageGuideWidget::slotPreviewModeChanged |
( |
int |
mode | ) |
|
|
slot |
◆ spotPositionChangedFromOriginal
void Digikam::ImageGuideWidget::spotPositionChangedFromOriginal |
( |
const Digikam::DColor & |
color, |
|
|
const QPoint & |
position |
|
) |
| |
|
signal |
◆ spotPositionChangedFromTarget
void Digikam::ImageGuideWidget::spotPositionChangedFromTarget |
( |
const Digikam::DColor & |
color, |
|
|
const QPoint & |
position |
|
) |
| |
|
signal |
◆ timerEvent()
void Digikam::ImageGuideWidget::timerEvent |
( |
QTimerEvent * |
e | ) |
|
|
overrideprotected |
◆ translateItemPosition()
QPoint Digikam::ImageGuideWidget::translateItemPosition |
( |
const QPoint & |
point, |
|
|
bool |
src |
|
) |
| const |
|
protected |
◆ translatePointPosition()
QPoint Digikam::ImageGuideWidget::translatePointPosition |
( |
const QPoint & |
point | ) |
const |
|
protected |
◆ updateMaskCursor()
void Digikam::ImageGuideWidget::updateMaskCursor |
( |
| ) |
|
|
protected |
◆ updatePixmap()
void Digikam::ImageGuideWidget::updatePixmap |
( |
| ) |
|
|
protected |
References drawText(), HVGuideMode, Digikam::PreviewToolBar::NoPreviewMode, PickColorMode, Digikam::PreviewToolBar::PreviewBothImagesHorz, Digikam::PreviewToolBar::PreviewBothImagesHorzCont, Digikam::PreviewToolBar::PreviewBothImagesVert, Digikam::PreviewToolBar::PreviewBothImagesVertCont, Digikam::PreviewToolBar::PreviewOriginalImage, Digikam::PreviewToolBar::PreviewTargetImage, Digikam::PreviewToolBar::PreviewToggleOnMouseOver, and translatePointPosition().
Referenced by leaveEvent(), resizeEvent(), and updatePreview().
◆ updatePreview()
void Digikam::ImageGuideWidget::updatePreview |
( |
| ) |
|
References updatePixmap().
Referenced by exposureSettingsChanged(), ICCSettingsChanged(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), resetSpotPosition(), setBackgroundColor(), setMaskCursor(), setMaskEnabled(), setPoints(), setSpotPosition(), setSpotVisible(), slotChangeGuideColor(), slotChangeGuideSize(), slotPreviewModeChanged(), timerEvent(), and updateSpotPosition().
◆ updateSpotPosition()
void Digikam::ImageGuideWidget::updateSpotPosition |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files: