◆ Canvas()
Digikam::Canvas::Canvas |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
References addRubber(), Digikam::SinglePhotoPreviewLayout::fitToWindow(), Digikam::GraphicsDImgView::installPanIcon(), Digikam::GraphicsDImgView::layout(), Digikam::GraphicsDImgView::setItem(), signalLoadingProgress(), signalLoadingStarted(), signalRightButtonClicked(), signalSavingProgress(), signalSavingStarted(), signalSelected(), signalZoomChanged(), and slotSelected().
◆ ~Canvas()
Digikam::Canvas::~Canvas |
( |
| ) |
|
|
override |
◆ abortSaving()
void Digikam::Canvas::abortSaving |
( |
| ) |
|
◆ acceptsMouseClick()
bool Digikam::GraphicsDImgView::acceptsMouseClick |
( |
QMouseEvent * |
e | ) |
|
|
protectedvirtualinherited |
◆ activated
void Digikam::GraphicsDImgView::activated |
( |
| ) |
|
|
signalinherited |
◆ addRubber()
void Digikam::Canvas::addRubber |
( |
| ) |
|
|
protected |
◆ applyTransform()
void Digikam::Canvas::applyTransform |
( |
const IccTransform & |
transform | ) |
|
◆ contentsMoved
void Digikam::GraphicsDImgView::contentsMoved |
( |
bool |
panningFinished | ) |
|
|
signalinherited |
◆ contentsMoving
void Digikam::GraphicsDImgView::contentsMoving |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
signalinherited |
◆ contentsX()
int Digikam::GraphicsDImgView::contentsX |
( |
| ) |
const |
|
inherited |
◆ contentsY()
int Digikam::GraphicsDImgView::contentsY |
( |
| ) |
const |
|
inherited |
◆ continuePanning()
void Digikam::GraphicsDImgView::continuePanning |
( |
const QPoint & |
pos | ) |
|
|
protectedinherited |
◆ currentImage()
DImg Digikam::Canvas::currentImage |
( |
| ) |
const |
◆ currentImageFileFormat()
QString Digikam::Canvas::currentImageFileFormat |
( |
| ) |
const |
◆ currentImageFilePath()
QString Digikam::Canvas::currentImageFilePath |
( |
| ) |
const |
◆ dragEnterEvent()
void Digikam::Canvas::dragEnterEvent |
( |
QDragEnterEvent * |
e | ) |
|
|
overrideprotected |
◆ dragMoveEvent()
void Digikam::Canvas::dragMoveEvent |
( |
QDragMoveEvent * |
e | ) |
|
|
overrideprotected |
◆ drawForeground()
void Digikam::GraphicsDImgView::drawForeground |
( |
QPainter * |
painter, |
|
|
const QRectF & |
rect |
|
) |
| |
|
overrideprotectedinherited |
◆ drawText()
void Digikam::GraphicsDImgView::drawText |
( |
QPainter * |
p, |
|
|
const QRectF & |
rect, |
|
|
const QString & |
text |
|
) |
| |
|
inherited |
◆ dropEvent()
void Digikam::Canvas::dropEvent |
( |
QDropEvent * |
e | ) |
|
|
overrideprotected |
◆ ensureHasCurrentUuid()
QString Digikam::Canvas::ensureHasCurrentUuid |
( |
| ) |
const |
◆ exifRotated()
bool Digikam::Canvas::exifRotated |
( |
| ) |
const |
◆ finishPanning()
void Digikam::GraphicsDImgView::finishPanning |
( |
| ) |
|
|
protectedinherited |
◆ fitToSelect()
void Digikam::Canvas::fitToSelect |
( |
| ) |
|
◆ fitToWindow()
void Digikam::GraphicsDImgView::fitToWindow |
( |
| ) |
|
|
inherited |
◆ getSelectedArea()
QRect Digikam::Canvas::getSelectedArea |
( |
| ) |
const |
◆ imageHeight()
int Digikam::Canvas::imageHeight |
( |
| ) |
const |
Return the height of current image loaded in editor.
◆ imageWidth()
int Digikam::Canvas::imageWidth |
( |
| ) |
const |
Return the width of current image loaded in editor.
◆ installPanIcon()
void Digikam::GraphicsDImgView::installPanIcon |
( |
| ) |
|
|
protectedinherited |
◆ interface()
Return the core interface instance of editor.
Referenced by Digikam::EditorWindow::hasOriginalToRestore(), Digikam::EditorWindow::movingSaveFileFinished(), Digikam::EditorWindow::promptUserDelete(), Digikam::EditorWindow::promptUserSave(), Digikam::EditorWindow::resetOriginSwitchFile(), Digikam::EditorWindow::saveAsVersionFileOperation(), Digikam::EditorWindow::saveInFormatVersionFileOperation(), Digikam::EditorWindow::saveVersionFileOperation(), Digikam::EditorWindow::setupStandardConnections(), Digikam::EditorWindow::slotAboutToShowRedoMenu(), Digikam::EditorWindow::slotAboutToShowUndoMenu(), Digikam::EditorWindow::slotDiscardChanges(), Digikam::EditorWindow::slotLoadingFinished(), Digikam::EditorWindow::startingSave(), and Digikam::EditorWindow::startingSaveAs().
◆ isReadOnly()
bool Digikam::Canvas::isReadOnly |
( |
| ) |
const |
◆ item()
◆ keyPressEvent()
void Digikam::Canvas::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ layout()
Referenced by Canvas(), Digikam::EditorStackView::decreaseZoom(), fitToSelect(), Digikam::GraphicsDImgView::fitToWindow(), Digikam::ImageRegionWidget::getOriginalImageRegionToRender(), Digikam::ImageRegionWidget::ImageRegionWidget(), Digikam::ImportPreviewView::ImportPreviewView(), Digikam::EditorStackView::increaseZoom(), Digikam::ItemPreviewView::ItemPreviewView(), Digikam::EditorToolIface::loadTool(), DigikamRawImportNativePlugin::RawPreview::RawPreview(), Digikam::EditorStackView::setToolView(), Digikam::EditorStackView::setZoomFactor(), Digikam::EditorStackView::slotZoomSliderChanged(), Digikam::EditorStackView::toggleFitToWindow(), Digikam::EditorToolIface::unLoadTool(), Digikam::EditorStackView::zoomMax(), Digikam::EditorStackView::zoomMin(), and Digikam::EditorStackView::zoomTo100Percent().
◆ leftButtonClicked
void Digikam::GraphicsDImgView::leftButtonClicked |
( |
| ) |
|
|
signalinherited |
◆ leftButtonDoubleClicked
void Digikam::GraphicsDImgView::leftButtonDoubleClicked |
( |
| ) |
|
|
signalinherited |
◆ load()
void Digikam::Canvas::load |
( |
const QString & |
filename, |
|
|
IOFileSettings *const |
IOFileSettings |
|
) |
| |
◆ makeDefaultEditingCanvas()
void Digikam::Canvas::makeDefaultEditingCanvas |
( |
| ) |
|
◆ mouseDoubleClickEvent()
void Digikam::GraphicsDImgView::mouseDoubleClickEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ mouseMoveEvent()
void Digikam::GraphicsDImgView::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ mousePressEvent()
void Digikam::Canvas::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void Digikam::GraphicsDImgView::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ preload()
void Digikam::Canvas::preload |
( |
const QString & |
filename | ) |
|
◆ previewItem()
Return a cast of item instance of item set by setItem() as DImgPreviewItem Note: if you store a GraphicsDImgItem object using setItem(), this method will return 0.
References Digikam::GraphicsDImgView::item().
Referenced by Digikam::FaceGroup::addFace(), Digikam::FocusPointGroup::addPoint(), Digikam::FaceGroup::applyItemGeometryChanges(), Digikam::FaceGroup::FaceGroup(), Digikam::FocusPointGroup::FocusPointGroup(), Digikam::FaceGroup::load(), Digikam::FocusPointGroup::load(), Digikam::ImportPreviewView::reload(), Digikam::LightTablePreview::showDragAndDropMessage(), Digikam::FaceGroup::slotAddItemFinished(), Digikam::FocusPointGroup::slotAddItemFinished(), and Digikam::FaceGroup::slotAssigned().
◆ resetImage()
void Digikam::Canvas::resetImage |
( |
| ) |
|
◆ resized
void Digikam::GraphicsDImgView::resized |
( |
| ) |
|
|
signalinherited |
◆ resizeEvent()
void Digikam::GraphicsDImgView::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ rightButtonClicked
void Digikam::GraphicsDImgView::rightButtonClicked |
( |
| ) |
|
|
signalinherited |
◆ scrollContentsBy()
void Digikam::GraphicsDImgView::scrollContentsBy |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
|
overrideprotectedinherited |
◆ scrollPointOnPoint()
void Digikam::GraphicsDImgView::scrollPointOnPoint |
( |
const QPointF & |
scenePos, |
|
|
const QPoint & |
viewportPos |
|
) |
| |
|
inherited |
Scrolls the view such that scenePos (in scene coordinates is displayed on the viewport at viewportPos (in viewport coordinates). E.g., calling scrollPointOnPoint(scenePos, viewport()->rect().center()) is equivalent to calling centerOn(scenePos).
◆ setContentsPos()
void Digikam::GraphicsDImgView::setContentsPos |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inherited |
◆ setExifOrient()
void Digikam::Canvas::setExifOrient |
( |
bool |
exifOrient | ) |
|
◆ setExposureSettings()
Apply under.over exposure indicator settings.
◆ setICCSettings()
◆ setItem()
◆ setModified()
void Digikam::Canvas::setModified |
( |
| ) |
|
◆ setShowText()
void Digikam::GraphicsDImgView::setShowText |
( |
bool |
value | ) |
|
|
protectedinherited |
◆ setSoftProofingEnabled()
void Digikam::Canvas::setSoftProofingEnabled |
( |
bool |
enable | ) |
|
Turn on/off Color Management Soft proofing mode.
◆ signalAddedDropedItems
void Digikam::Canvas::signalAddedDropedItems |
( |
QDropEvent * |
| ) |
|
|
signal |
◆ signalChanged
void Digikam::Canvas::signalChanged |
( |
| ) |
|
|
signal |
◆ signalLoadingFinished
void Digikam::Canvas::signalLoadingFinished |
( |
const QString & |
filename, |
|
|
bool |
success |
|
) |
| |
|
signal |
◆ signalLoadingProgress
void Digikam::Canvas::signalLoadingProgress |
( |
const QString & |
filePath, |
|
|
float |
progress |
|
) |
| |
|
signal |
◆ signalLoadingStarted
void Digikam::Canvas::signalLoadingStarted |
( |
const QString & |
filename | ) |
|
|
signal |
◆ signalPrepareToLoad
void Digikam::Canvas::signalPrepareToLoad |
( |
| ) |
|
|
signal |
◆ signalRedoSteps
void Digikam::Canvas::signalRedoSteps |
( |
int |
| ) |
|
|
signal |
◆ signalRightButtonClicked
void Digikam::Canvas::signalRightButtonClicked |
( |
| ) |
|
|
signal |
◆ signalSavingFinished
void Digikam::Canvas::signalSavingFinished |
( |
const QString & |
filename, |
|
|
bool |
success |
|
) |
| |
|
signal |
◆ signalSavingProgress
void Digikam::Canvas::signalSavingProgress |
( |
const QString & |
filePath, |
|
|
float |
progress |
|
) |
| |
|
signal |
◆ signalSavingStarted
void Digikam::Canvas::signalSavingStarted |
( |
const QString & |
filename | ) |
|
|
signal |
◆ signalSelected
void Digikam::Canvas::signalSelected |
( |
bool |
| ) |
|
|
signal |
◆ signalSelectionChanged
void Digikam::Canvas::signalSelectionChanged |
( |
const QRect & |
| ) |
|
|
signal |
◆ signalSelectionSetText
void Digikam::Canvas::signalSelectionSetText |
( |
const QRect & |
| ) |
|
|
signal |
◆ signalShowNextImage
void Digikam::Canvas::signalShowNextImage |
( |
| ) |
|
|
signal |
◆ signalShowPrevImage
void Digikam::Canvas::signalShowPrevImage |
( |
| ) |
|
|
signal |
◆ signalToggleOffFitToWindow
void Digikam::Canvas::signalToggleOffFitToWindow |
( |
| ) |
|
|
signal |
◆ signalUndoSteps
void Digikam::Canvas::signalUndoSteps |
( |
int |
| ) |
|
|
signal |
◆ signalZoomChanged
void Digikam::Canvas::signalZoomChanged |
( |
double |
| ) |
|
|
signal |
◆ slotContentsMoved
void Digikam::GraphicsDImgView::slotContentsMoved |
( |
| ) |
|
|
protectedslotinherited |
◆ slotCopy
void Digikam::Canvas::slotCopy |
( |
| ) |
|
|
slot |
◆ slotCornerButtonPressed
void Digikam::GraphicsDImgView::slotCornerButtonPressed |
( |
| ) |
|
|
protectedslotinherited |
◆ slotCrop
void Digikam::Canvas::slotCrop |
( |
| ) |
|
|
slot |
◆ slotFlipHoriz
void Digikam::Canvas::slotFlipHoriz |
( |
| ) |
|
|
slot |
◆ slotFlipVert
void Digikam::Canvas::slotFlipVert |
( |
| ) |
|
|
slot |
◆ slotPanIconHidden
void Digikam::GraphicsDImgView::slotPanIconHidden |
( |
| ) |
|
|
protectedslotinherited |
◆ slotPanIconSelectionMoved
void Digikam::GraphicsDImgView::slotPanIconSelectionMoved |
( |
const QRect & |
imageRect, |
|
|
bool |
b |
|
) |
| |
|
protectedvirtualslotinherited |
◆ slotRedo
void Digikam::Canvas::slotRedo |
( |
int |
steps = 1 | ) |
|
|
slot |
◆ slotRestore
void Digikam::Canvas::slotRestore |
( |
| ) |
|
|
slot |
◆ slotRotate180
void Digikam::Canvas::slotRotate180 |
( |
| ) |
|
|
slot |
◆ slotRotate270
void Digikam::Canvas::slotRotate270 |
( |
| ) |
|
|
slot |
◆ slotRotate90
void Digikam::Canvas::slotRotate90 |
( |
| ) |
|
|
slot |
◆ slotSelectAll
void Digikam::Canvas::slotSelectAll |
( |
| ) |
|
|
slot |
◆ slotSelected
void Digikam::Canvas::slotSelected |
( |
| ) |
|
|
slot |
◆ slotSelectionMoved
void Digikam::Canvas::slotSelectionMoved |
( |
| ) |
|
|
slot |
◆ slotSelectNone
void Digikam::Canvas::slotSelectNone |
( |
| ) |
|
|
slot |
◆ slotUndo
void Digikam::Canvas::slotUndo |
( |
int |
steps = 1 | ) |
|
|
slot |
◆ startPanning()
void Digikam::GraphicsDImgView::startPanning |
( |
const QPoint & |
pos | ) |
|
|
protectedinherited |
◆ toggleFullScreen()
void Digikam::GraphicsDImgView::toggleFullScreen |
( |
bool |
set | ) |
|
|
inherited |
◆ toNextImage
void Digikam::GraphicsDImgView::toNextImage |
( |
| ) |
|
|
signalinherited |
◆ toPreviousImage
void Digikam::GraphicsDImgView::toPreviousImage |
( |
| ) |
|
|
signalinherited |
◆ viewportRectChanged
void Digikam::GraphicsDImgView::viewportRectChanged |
( |
const QRectF & |
viewportRect | ) |
|
|
signalinherited |
◆ visibleArea()
QRect Digikam::GraphicsDImgView::visibleArea |
( |
| ) |
const |
|
inherited |
◆ wheelEvent()
void Digikam::GraphicsDImgView::wheelEvent |
( |
QWheelEvent * |
e | ) |
|
|
overrideprotectedinherited |
The documentation for this class was generated from the following files: