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

Public Types

enum  Mode { IconViewPreview }
 

Signals

void activated ()
 
void contentsMoved (bool panningFinished)
 
void contentsMoving (int, int)
 
void leftButtonClicked ()
 
void leftButtonDoubleClicked ()
 
void resized ()
 
void rightButtonClicked ()
 
void signalAssignColorLabel (int)
 
void signalAssignPickLabel (int)
 
void signalAssignRating (int)
 
void signalDeleteItem ()
 
void signalEscapePreview ()
 
void signalNextItem ()
 
void signalPreviewLoaded (bool success)
 
void signalPrevItem ()
 
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 ()
 
CamItemInfo getCamItemInfo () const
 
 ImportPreviewView (QWidget *const parent, Mode mode=IconViewPreview)
 
GraphicsDImgItemitem () const
 
SinglePhotoPreviewLayoutlayout () const
 
DImgPreviewItempreviewItem () const
 
void reload ()
 
void scrollPointOnPoint (const QPointF &scenePos, const QPoint &viewportPos)
 
void setCamItemInfo (const CamItemInfo &info=CamItemInfo(), const CamItemInfo &previous=CamItemInfo(), const CamItemInfo &next=CamItemInfo())
 
void setCamItemPath (const QString &path=QString())
 
void setContentsPos (int x, int y)
 
void setItem (GraphicsDImgItem *const item)
 
void setPreviousNextPaths (const QString &previous, const QString &next)
 
void showContextMenu (const CamItemInfo &info, QGraphicsSceneContextMenuEvent *event)
 
void toggleFullScreen (bool set)
 
QRect visibleArea () const
 
 ~ImportPreviewView () 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 *) 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 

Constructor & Destructor Documentation

◆ ImportPreviewView()

◆ ~ImportPreviewView()

Digikam::ImportPreviewView::~ImportPreviewView ( )
override

Member Function Documentation

◆ acceptsMouseClick()

bool Digikam::ImportPreviewView::acceptsMouseClick ( QMouseEvent *  e)
overrideprotectedvirtual

◆ activated

void Digikam::GraphicsDImgView::activated ( )
signalinherited

◆ 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::ImportPreviewView::enterEvent ( QEvent *  e)
overrideprotected

◆ finishPanning()

void Digikam::GraphicsDImgView::finishPanning ( )
protectedinherited

◆ fitToWindow()

void Digikam::GraphicsDImgView::fitToWindow ( )
inherited

◆ getCamItemInfo()

CamItemInfo Digikam::ImportPreviewView::getCamItemInfo ( ) const

◆ installPanIcon()

◆ item()

◆ layout()

◆ leaveEvent()

void Digikam::ImportPreviewView::leaveEvent ( QEvent *  e)
overrideprotected

◆ 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()

◆ mouseReleaseEvent()

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

◆ previewItem()

◆ reload()

void Digikam::ImportPreviewView::reload ( )

◆ 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).

◆ setCamItemInfo()

void Digikam::ImportPreviewView::setCamItemInfo ( const CamItemInfo info = CamItemInfo(),
const CamItemInfo previous = CamItemInfo(),
const CamItemInfo next = CamItemInfo() 
)

◆ setCamItemPath()

void Digikam::ImportPreviewView::setCamItemPath ( const QString &  path = QString())

◆ setContentsPos()

void Digikam::GraphicsDImgView::setContentsPos ( int  x,
int  y 
)
inherited

◆ setItem()

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

◆ setPreviousNextPaths()

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

◆ setShowText()

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

◆ showContextMenu()

◆ showEvent()

void Digikam::ImportPreviewView::showEvent ( QShowEvent *  e)
overrideprotected

◆ signalAssignColorLabel

void Digikam::ImportPreviewView::signalAssignColorLabel ( int  )
signal

Referenced by showContextMenu().

◆ signalAssignPickLabel

void Digikam::ImportPreviewView::signalAssignPickLabel ( int  )
signal

Referenced by showContextMenu().

◆ signalAssignRating

void Digikam::ImportPreviewView::signalAssignRating ( int  )
signal

Referenced by showContextMenu().

◆ signalDeleteItem

void Digikam::ImportPreviewView::signalDeleteItem ( )
signal

◆ signalEscapePreview

void Digikam::ImportPreviewView::signalEscapePreview ( )
signal

Referenced by ImportPreviewView().

◆ signalNextItem

void Digikam::ImportPreviewView::signalNextItem ( )
signal

Referenced by ImportPreviewView().

◆ signalPreviewLoaded

void Digikam::ImportPreviewView::signalPreviewLoaded ( bool  success)
signal

◆ signalPrevItem

void Digikam::ImportPreviewView::signalPrevItem ( )
signal

Referenced by ImportPreviewView().

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