digiKam
Digikam::ImagePreviewItem Class Reference
+ Inheritance diagram for Digikam::ImagePreviewItem:

Signals

void imageChanged ()
 
void imageSizeChanged (const QSizeF &size)
 
void showContextMenu (QGraphicsSceneContextMenuEvent *e)
 

Public Member Functions

QRectF boundingRect () const override
 
void clearCache ()
 
 GraphicsDImgItemPrivate ()
 
DImg image () const
 
 ImagePreviewItem ()
 
void init (GraphicsDImgItem *const q)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
void setImage (const DImg &img)
 
void sizeHasChanged ()
 
virtual QString userLoadingHint () const
 
ImageZoomSettingszoomSettings ()
 
const ImageZoomSettingszoomSettings () const
 
 ~ImagePreviewItem () override
 

Public Attributes

CachedPixmaps cachedPixmaps
 
DImg image
 
ImageZoomSettings zoomSettings
 

Protected Member Functions

void contextMenuEvent (QGraphicsSceneContextMenuEvent *e) override
 

Protected Attributes

GraphicsDImgItemPrivate *const d_ptr
 

Constructor & Destructor Documentation

◆ ImagePreviewItem()

Digikam::ImagePreviewItem::ImagePreviewItem ( )
explicit

◆ ~ImagePreviewItem()

Digikam::ImagePreviewItem::~ImagePreviewItem ( )
override

Member Function Documentation

◆ boundingRect()

◆ clearCache()

void Digikam::GraphicsDImgItem::clearCache ( )
inherited

◆ contextMenuEvent()

void Digikam::GraphicsDImgItem::contextMenuEvent ( QGraphicsSceneContextMenuEvent *  e)
overrideprotectedinherited

◆ GraphicsDImgItemPrivate()

Digikam::GraphicsDImgItem::GraphicsDImgItemPrivate ( )
inlineexplicitinherited

◆ image()

DImg Digikam::GraphicsDImgItem::image ( ) const
inherited

◆ imageChanged

void Digikam::GraphicsDImgItem::imageChanged ( )
signalinherited

◆ imageSizeChanged

void Digikam::GraphicsDImgItem::imageSizeChanged ( const QSizeF &  size)
signalinherited

◆ init()

void Digikam::GraphicsDImgItem::init ( GraphicsDImgItem *const  q)
inherited

◆ paint()

◆ setImage()

void Digikam::GraphicsDImgItem::setImage ( const DImg img)
inherited

◆ showContextMenu

void Digikam::GraphicsDImgItem::showContextMenu ( QGraphicsSceneContextMenuEvent *  e)
signalinherited

◆ sizeHasChanged()

void Digikam::GraphicsDImgItem::sizeHasChanged ( )
inherited

◆ userLoadingHint()

virtual QString Digikam::GraphicsDImgItem::userLoadingHint ( ) const
inlinevirtualinherited

Reimplemented in Digikam::DImgPreviewItem.

◆ zoomSettings() [1/2]

ImageZoomSettings* Digikam::GraphicsDImgItem::zoomSettings ( )
inherited

◆ zoomSettings() [2/2]

const ImageZoomSettings* Digikam::GraphicsDImgItem::zoomSettings ( ) const
inherited

Member Data Documentation

◆ cachedPixmaps

CachedPixmaps Digikam::GraphicsDImgItem::cachedPixmaps
mutableinherited

◆ d_ptr

GraphicsDImgItemPrivate* const Digikam::GraphicsDImgItem::d_ptr
protectedinherited

◆ image

◆ zoomSettings


The documentation for this class was generated from the following files: