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

Public Types

enum  Mode { IconViewPreview , LightTablePreview }
 

Signals

void activated ()
 
void contentsMoved (bool panningFinished)
 
void contentsMoving (int, int)
 
void leftButtonClicked ()
 
void leftButtonDoubleClicked ()
 
void resized ()
 
void rightButtonClicked ()
 
void signalAddToExistingQueue (int)
 
void signalDeleteItem ()
 
void signalDroppedItems (const ItemInfoList &)
 
void signalEscapePreview ()
 
void signalGotoAlbumAndItem (const ItemInfo &)
 
void signalGotoDateAndItem (const ItemInfo &)
 
void signalGotoTagAndItem (int)
 
void signalNextItem ()
 
void signalPopupTagsView ()
 
void signalPreviewLoaded (bool success)
 
void signalPrevItem ()
 
void signalSlideShowCurrent ()
 
void toNextImage ()
 
void toPreviousImage ()
 
void viewportRectChanged (const QRectF &viewportRect)
 

Public Member Functions

int contentsX () const
 
int contentsY () const
 
void drawText (QPainter *p, const QRectF &rect, const QString &text)
 
void fitToWindow ()
 
ItemInfo getItemInfo () const
 
GraphicsDImgItemitem () const
 
SinglePhotoPreviewLayoutlayout () const
 
 LightTablePreview (QWidget *const parent=nullptr)
 
DImgPreviewItempreviewItem () const
 
void reload ()
 
void scrollPointOnPoint (const QPointF &scenePos, const QPoint &viewportPos)
 
void setContentsPos (int x, int y)
 
void setDragAndDropEnabled (bool b)
 
void setImagePath (const QString &path=QString())
 
void setItem (GraphicsDImgItem *const item)
 
void setItemInfo (const ItemInfo &info=ItemInfo(), const ItemInfo &previous=ItemInfo(), const ItemInfo &next=ItemInfo())
 
void setPreviousNextPaths (const QString &previous, const QString &next)
 
void showDragAndDropMessage ()
 
void toggleFullScreen (bool set)
 
QRect visibleArea () const
 
 ~LightTablePreview () override
 

Protected Slots

void slotContentsMoved ()
 
void slotCornerButtonPressed ()
 
void slotPanIconHidden ()
 
virtual void slotPanIconSelectionMoved (const QRect &, bool)
 

Protected Member Functions

bool acceptsMouseClick (QMouseEvent *e) override
 
void continuePanning (const QPoint &pos)
 
void drawForeground (QPainter *painter, const QRectF &rect) override
 
void enterEvent (QEvent *) override
 
void finishPanning ()
 
void installPanIcon ()
 
void leaveEvent (QEvent *e) override
 
void mouseDoubleClickEvent (QMouseEvent *) override
 
void mouseMoveEvent (QMouseEvent *) override
 
void mousePressEvent (QMouseEvent *e) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void resizeEvent (QResizeEvent *) override
 
void scrollContentsBy (int dx, int dy) override
 
void setShowText (bool value)
 
void showEvent (QShowEvent *e) override
 
void startPanning (const QPoint &pos)
 
void wheelEvent (QWheelEvent *) override
 

Member Enumeration Documentation

◆ Mode

Enumerator
IconViewPreview 
LightTablePreview 

Constructor & Destructor Documentation

◆ LightTablePreview()

Digikam::LightTablePreview::LightTablePreview ( QWidget *const  parent = nullptr)
explicit

◆ ~LightTablePreview()

Digikam::LightTablePreview::~LightTablePreview ( )
override

Member Function Documentation

◆ acceptsMouseClick()

bool Digikam::ItemPreviewView::acceptsMouseClick ( QMouseEvent *  e)
overrideprotectedvirtualinherited

Reimplemented from Digikam::GraphicsDImgView.

◆ activated

◆ 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

◆ 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

◆ enterEvent()

void Digikam::ItemPreviewView::enterEvent ( QEvent *  e)
overrideprotectedinherited

◆ finishPanning()

void Digikam::GraphicsDImgView::finishPanning ( )
protectedinherited

◆ fitToWindow()

void Digikam::GraphicsDImgView::fitToWindow ( )
inherited

◆ getItemInfo()

ItemInfo Digikam::ItemPreviewView::getItemInfo ( ) const
inherited

◆ installPanIcon()

◆ item()

◆ layout()

◆ leaveEvent()

void Digikam::ItemPreviewView::leaveEvent ( QEvent *  e)
overrideprotectedinherited

◆ leftButtonClicked

void Digikam::GraphicsDImgView::leftButtonClicked ( )
signalinherited

◆ leftButtonDoubleClicked

void Digikam::GraphicsDImgView::leftButtonDoubleClicked ( )
signalinherited

◆ mouseDoubleClickEvent()

void Digikam::GraphicsDImgView::mouseDoubleClickEvent ( QMouseEvent *  e)
overrideprotectedinherited

◆ mouseMoveEvent()

void Digikam::GraphicsDImgView::mouseMoveEvent ( QMouseEvent *  e)
overrideprotectedinherited

◆ mousePressEvent()

void Digikam::ItemPreviewView::mousePressEvent ( QMouseEvent *  e)
overrideprotectedinherited

◆ mouseReleaseEvent()

void Digikam::GraphicsDImgView::mouseReleaseEvent ( QMouseEvent *  e)
overrideprotectedinherited

◆ previewItem()

◆ reload()

void Digikam::ItemPreviewView::reload ( )
inherited

◆ 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

◆ setDragAndDropEnabled()

void Digikam::LightTablePreview::setDragAndDropEnabled ( bool  b)

Referenced by LightTablePreview().

◆ setImagePath()

void Digikam::ItemPreviewView::setImagePath ( const QString &  path = QString())
inherited

◆ setItem()

void Digikam::GraphicsDImgView::setItem ( GraphicsDImgItem *const  item)
inherited

◆ setItemInfo()

void Digikam::ItemPreviewView::setItemInfo ( const ItemInfo info = ItemInfo(),
const ItemInfo previous = ItemInfo(),
const ItemInfo next = ItemInfo() 
)
inherited

◆ setPreviousNextPaths()

void Digikam::ItemPreviewView::setPreviousNextPaths ( const QString &  previous,
const QString &  next 
)
inherited

◆ setShowText()

void Digikam::GraphicsDImgView::setShowText ( bool  value)
protectedinherited

◆ showDragAndDropMessage()

void Digikam::LightTablePreview::showDragAndDropMessage ( )

◆ showEvent()

void Digikam::ItemPreviewView::showEvent ( QShowEvent *  e)
overrideprotectedinherited

◆ signalAddToExistingQueue

void Digikam::ItemPreviewView::signalAddToExistingQueue ( int  )
signalinherited

◆ signalDeleteItem

void Digikam::ItemPreviewView::signalDeleteItem ( )
signalinherited

◆ signalDroppedItems

void Digikam::LightTablePreview::signalDroppedItems ( const ItemInfoList )
signal

◆ signalEscapePreview

void Digikam::ItemPreviewView::signalEscapePreview ( )
signalinherited

◆ signalGotoAlbumAndItem

void Digikam::ItemPreviewView::signalGotoAlbumAndItem ( const ItemInfo )
signalinherited

◆ signalGotoDateAndItem

void Digikam::ItemPreviewView::signalGotoDateAndItem ( const ItemInfo )
signalinherited

◆ signalGotoTagAndItem

void Digikam::ItemPreviewView::signalGotoTagAndItem ( int  )
signalinherited

◆ signalNextItem

void Digikam::ItemPreviewView::signalNextItem ( )
signalinherited

◆ signalPopupTagsView

void Digikam::ItemPreviewView::signalPopupTagsView ( )
signalinherited

◆ signalPreviewLoaded

void Digikam::ItemPreviewView::signalPreviewLoaded ( bool  success)
signalinherited

◆ signalPrevItem

void Digikam::ItemPreviewView::signalPrevItem ( )
signalinherited

◆ signalSlideShowCurrent

void Digikam::ItemPreviewView::signalSlideShowCurrent ( )
signalinherited

◆ slotContentsMoved

void Digikam::GraphicsDImgView::slotContentsMoved ( )
protectedslotinherited

◆ slotCornerButtonPressed

◆ slotPanIconHidden

void Digikam::GraphicsDImgView::slotPanIconHidden ( )
protectedslotinherited

◆ slotPanIconSelectionMoved

void Digikam::GraphicsDImgView::slotPanIconSelectionMoved ( const QRect &  imageRect,
bool  b 
)
protectedvirtualslotinherited

◆ 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

◆ 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: