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

Signals

void selectionChanged ()
 

Public Member Functions

ThumbnailSize getThumbnailSize () const
 
QUrl lastSelectedItemUrl () const
 
DTrashItemModelmodel () const
 
void selectLastSelected ()
 Highlights the last selected item when the view gets focus. More...
 
void setThumbnailSize (const ThumbnailSize &thumbSize)
 set thumbnail size to give to model More...
 
QString statusBarText () const
 
 TrashView (QWidget *const parent=nullptr)
 
 ~TrashView () override
 

Constructor & Destructor Documentation

◆ TrashView()

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

◆ ~TrashView()

Digikam::TrashView::~TrashView ( )
override

Member Function Documentation

◆ getThumbnailSize()

ThumbnailSize Digikam::TrashView::getThumbnailSize ( ) const
Returns
current thumbnail size

◆ lastSelectedItemUrl()

QUrl Digikam::TrashView::lastSelectedItemUrl ( ) const
Returns
QUrl to the last selected item in view

◆ model()

DTrashItemModel * Digikam::TrashView::model ( ) const
Returns
model used for the view

Referenced by Digikam::ItemIconView::slotAlbumSelected().

◆ selectionChanged

void Digikam::TrashView::selectionChanged ( )
signal

Referenced by selectLastSelected(), and TrashView().

◆ selectLastSelected()

void Digikam::TrashView::selectLastSelected ( )

Highlights the last selected item when the view gets focus.

References selectionChanged().

◆ setThumbnailSize()

void Digikam::TrashView::setThumbnailSize ( const ThumbnailSize thumbSize)

set thumbnail size to give to model

Parameters
thumbSizesize to set

References Digikam::ThumbnailSize::size().

◆ statusBarText()

QString Digikam::TrashView::statusBarText ( ) const
Returns
text for the main status bar

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