digiKam
ShowFoto::ShowfotoCategorizedView Class Referenceabstract
+ Inheritance diagram for ShowFoto::ShowfotoCategorizedView:

Public Slots

void copy () override
 
void cut () override
 
void hideIndexNotification ()
 
void hintAt (const ShowfotoItemInfo &info)
 
void paste () override
 
void setCurrentInfo (const ShowfotoItemInfo &info)
 
void setCurrentUrl (const QUrl &url)
 
void setCurrentWhenAvailable (qlonglong ShowfotoItemId)
 
void setSelectedShowfotoItemInfos (const QList< ShowfotoItemInfo > &infos)
 
void setSelectedUrls (const QList< QUrl > &urlList)
 
void setThumbnailSize (int size)
 
void showIndexNotification (const QModelIndex &index, const QString &message)
 

Signals

void clicked (const QMouseEvent *e, const QModelIndex &index)
 
void currentChanged (const ShowfotoItemInfo &info)
 
void deselected (const QList< ShowfotoItemInfo > &nowDeselectedInfos)
 
void entered (const QMouseEvent *e, const QModelIndex &index)
 
void keyPressed (QKeyEvent *e)
 
void modelChanged ()
 
void selected (const QList< ShowfotoItemInfo > &newSelectedInfos)
 
void selectionChanged ()
 
void selectionCleared ()
 
void showfotoItemInfoActivated (const ShowfotoItemInfo &info)
 
void viewportClicked (const QMouseEvent *e)
 
void zoomInStep ()
 
void zoomOutStep ()
 

Public Member Functions

void addOverlay (ItemDelegateOverlay *overlay, ShowfotoDelegate *delegate=nullptr)
 
void awayFromSelection ()
 
virtual QModelIndexList categorizedIndexesIn (const QRect &rect) const
 
virtual QModelIndex categoryAt (const QPoint &point) const
 
DCategoryDrawer * categoryDrawer () const
 
virtual QItemSelectionRange categoryRange (const QModelIndex &index) const
 
virtual QRect categoryVisualRect (const QModelIndex &index) const
 
ShowfotoItemInfo currentInfo () const
 
QUrl currentUrl () const
 
ShowfotoDelegatedelegate () const
 
QItemSelectionModel * getSelectionModel () const
 
QModelIndex indexAt (const QPoint &point) const override
 
void invertSelection ()
 
bool isToolTipEnabled () const
 
ShowfotoItemInfo nextInfo (const ShowfotoItemInfo &info)
 
ShowfotoItemInfo nextInOrder (const ShowfotoItemInfo &startingPoint, int nth)
 
int numberOfSelectedIndexes () const
 
ShowfotoItemInfo previousInfo (const ShowfotoItemInfo &info)
 
void removeOverlay (ItemDelegateOverlay *overlay)
 
void scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible) override
 
void scrollToRelaxed (const QModelIndex &index, ScrollHint hint=EnsureVisible)
 
QList< ShowfotoItemInfoselectedShowfotoItemInfos () const
 
QList< ShowfotoItemInfoselectedShowfotoItemInfosCurrentFirst () const
 
QList< QUrl > selectedUrls () const
 
void setCategoryDrawer (DCategoryDrawer *categoryDrawer)
 
void setDrawDraggedItems (bool drawDraggedItems)
 
void setGridSize (const QSize &size)
 
void setModel (QAbstractItemModel *model) override
 
void setModels (ShowfotoItemModel *model, ShowfotoSortFilterModel *filterModel)
 
void setScrollCurrentToCenter (bool enabled)
 
void setScrollStepGranularity (int factor)
 
void setSelectedIndexes (const QList< QModelIndex > &indexes)
 
void setSpacing (int spacing)
 
virtual void setThumbnailSize (const ThumbnailSize &size)
 
void setToolTipEnabled (bool enabled)
 
void setUsePointingHandCursor (bool useCursor)
 
 ShowfotoCategorizedView (QWidget *const parent=nullptr)
 
ShowfotoFilterModelshowfotoFilterModel () const
 Returns any ShowfotoFilterModel in chain. May not be sourceModel() More...
 
QList< ShowfotoItemInfoshowfotoItemInfos () const
 
ShowfotoItemModelshowfotoItemModel () const
 
ShowfotoSortFilterModelshowfotoSortFilterModel () const
 
ShowfotoThumbnailModelshowfotoThumbnailModel () const
 Returns 0 if the ShowfotoItemModel is not an ShowfotoThumbnailModel. More...
 
ThumbnailSize thumbnailSize () const
 
void toFirstIndex ()
 
void toIndex (const QModelIndex &index)
 
void toIndex (const QUrl &url)
 
void toLastIndex ()
 
void toNextIndex ()
 
void toPreviousIndex ()
 
QList< QUrl > urls () const
 
QRect visualRect (const QModelIndex &index) const override
 
 ~ShowfotoCategorizedView () override
 

Protected Slots

void layoutAboutToBeChanged ()
 
void layoutWasChanged ()
 
virtual void rowsInsertedArtifficial (const QModelIndex &parent, int start, int end)
 
void slotActivated (const QModelIndex &index)
 
void slotClicked (const QModelIndex &index)
 
void slotEntered (const QModelIndex &index)
 
virtual void slotLayoutChanged ()
 
virtual void slotSetupChanged ()
 
virtual void slotThemeChanged ()
 

Protected Member Functions

virtual void activated (const ShowfotoItemInfo &info, Qt::KeyboardModifiers modifiers)
 Reimplement these in a subclass. More...
 
virtual QAbstractItemView * asView ()=0
 
void contextMenuEvent (QContextMenuEvent *event) override
 reimplemented from parent class More...
 
void currentChanged (const QModelIndex &index, const QModelIndex &previous) override
 
bool decodeIsCutSelection (const QMimeData *mimeData)
 
AbstractItemDragDropHandlerdragDropHandler () const override
 
void dragEnterEvent (QDragEnterEvent *event)
 
void dragLeaveEvent (QDragLeaveEvent *event) override
 
void dragMoveEvent (QDragMoveEvent *e)
 
void dragMoveEvent (QDragMoveEvent *event) override
 
void dropEvent (QDropEvent *e)
 
void dropEvent (QDropEvent *event) override
 
void encodeIsCutSelection (QMimeData *mime, bool isCutSelection)
 
QSortFilterProxyModel * filterModel () const override
 reimplemented from parent class More...
 
void indexActivated (const QModelIndex &index, Qt::KeyboardModifiers modifiers) override
 
QModelIndex indexForCategoryAt (const QPoint &pos) const
 
void keyPressEvent (QKeyEvent *event) override
 
void leaveEvent (QEvent *event) override
 
QModelIndex mapIndexForDragDrop (const QModelIndex &index) const override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
QModelIndex moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override
 
QModelIndex nextIndexHint (const QModelIndex &indexToAnchor, const QItemSelectionRange &removed) const override
 
void paintEvent (QPaintEvent *e) override
 
QPixmap pixmapForDrag (const QList< QModelIndex > &indexes) const override
 
void reset () override
 
void resizeEvent (QResizeEvent *e) override
 
void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) override
 
void rowsInserted (const QModelIndex &parent, int start, int end) override
 
void rowsRemoved (const QModelIndex &parent, int start, int end) override
 
void selectionChanged (const QItemSelection &, const QItemSelection &) override
 
void setItemDelegate (DItemDelegate *delegate)
 
void setItemDelegate (ShowfotoDelegate *delegate)
 
void setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags flags) override
 
void setToolTip (ItemViewToolTip *tip)
 
virtual void showContextMenu (QContextMenuEvent *event)
 
void showContextMenuOnIndex (QContextMenuEvent *event, const QModelIndex &index) override
 Reimplement these in a subclass. More...
 
virtual void showContextMenuOnInfo (QContextMenuEvent *event, const ShowfotoItemInfo &info)
 
virtual bool showToolTip (const QModelIndex &index, QStyleOptionViewItem &option, QHelpEvent *e=nullptr)
 
void startDrag (Qt::DropActions supportedActions)
 
void startDrag (Qt::DropActions supportedActions) override
 
void updateDelegateSizes ()
 
void updateGeometries () override
 
void userInteraction ()
 
bool viewportEvent (QEvent *event) override
 
void wheelEvent (QWheelEvent *event) override
 

Constructor & Destructor Documentation

◆ ShowfotoCategorizedView()

ShowFoto::ShowfotoCategorizedView::ShowfotoCategorizedView ( QWidget *const  parent = nullptr)
explicit

◆ ~ShowfotoCategorizedView()

ShowFoto::ShowfotoCategorizedView::~ShowfotoCategorizedView ( )
override

Member Function Documentation

◆ activated()

void ShowFoto::ShowfotoCategorizedView::activated ( const ShowfotoItemInfo info,
Qt::KeyboardModifiers  modifiers 
)
protectedvirtual

Reimplement these in a subclass.

Referenced by indexActivated().

◆ addOverlay()

void ShowFoto::ShowfotoCategorizedView::addOverlay ( ItemDelegateOverlay overlay,
ShowfotoDelegate delegate = nullptr 
)

Add and remove an overlay. It will as well be removed automatically when destroyed. Unless you pass a different delegate, the current delegate will be used.

References delegate(), Digikam::ItemDelegateOverlayContainer::installOverlay(), Digikam::ItemDelegateOverlay::setActive(), and Digikam::ItemDelegateOverlay::setView().

Referenced by ShowFoto::ShowfotoThumbnailBar::installOverlays().

◆ asView()

virtual QAbstractItemView* Digikam::DragDropViewImplementation::asView ( )
protectedpure virtualinherited

◆ awayFromSelection()

◆ categorizedIndexesIn()

QModelIndexList Digikam::DCategorizedView::categorizedIndexesIn ( const QRect &  rect) const
virtualinherited

This method will return all indexes whose visual rect intersects rect.

Parameters
rectrectangle to test intersection with
Note
Returns an empty list if the view is not categorized.

References Digikam::DCategorizedView::Private::categoryDrawer, Digikam::DCategorizedView::Private::intersectionSet(), Digikam::DCategorizedSortFilterProxyModel::isCategorizedModel(), and Digikam::DCategorizedView::Private::proxyModel.

◆ categoryAt()

QModelIndex Digikam::DCategorizedView::categoryAt ( const QPoint &  point) const
virtualinherited

◆ categoryDrawer()

◆ categoryRange()

QItemSelectionRange Digikam::DCategorizedView::categoryRange ( const QModelIndex &  index) const
virtualinherited

◆ categoryVisualRect()

QRect Digikam::DCategorizedView::categoryVisualRect ( const QModelIndex &  index) const
virtualinherited

◆ clicked

void Digikam::ItemViewCategorized::clicked ( const QMouseEvent *  e,
const QModelIndex &  index 
)
signalinherited

For overlays: Like the respective parent class signals, but with additional info. Do not change the mouse events.

Referenced by Digikam::ItemViewCategorized::ItemViewCategorized(), and Digikam::ItemViewCategorized::slotClicked().

◆ contextMenuEvent()

void Digikam::ItemViewCategorized::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotectedinherited

◆ copy

void Digikam::ItemViewCategorized::copy ( )
inlineoverrideslotinherited

◆ currentChanged() [1/2]

void ShowFoto::ShowfotoCategorizedView::currentChanged ( const QModelIndex &  index,
const QModelIndex &  previous 
)
overrideprotected

References currentChanged().

◆ currentChanged [2/2]

void ShowFoto::ShowfotoCategorizedView::currentChanged ( const ShowfotoItemInfo info)
signal

Referenced by currentChanged().

◆ currentInfo()

ShowfotoItemInfo ShowFoto::ShowfotoCategorizedView::currentInfo ( ) const

Referenced by currentUrl().

◆ currentUrl()

QUrl ShowFoto::ShowfotoCategorizedView::currentUrl ( ) const

◆ cut

void Digikam::ItemViewCategorized::cut ( )
inlineoverrideslotinherited

◆ decodeIsCutSelection()

bool Digikam::ItemViewCategorized::decodeIsCutSelection ( const QMimeData *  mimeData)
protectedinherited

◆ delegate()

ShowfotoDelegate * ShowFoto::ShowfotoCategorizedView::delegate ( ) const

◆ deselected

void ShowFoto::ShowfotoCategorizedView::deselected ( const QList< ShowfotoItemInfo > &  nowDeselectedInfos)
signal

Emitted when items are deselected. There may be other selected infos left. This signal is not emitted when the model is reset; then only selectionCleared is emitted.

Referenced by selectionChanged().

◆ dragDropHandler()

AbstractItemDragDropHandler * ShowFoto::ShowfotoCategorizedView::dragDropHandler ( ) const
overrideprotectedvirtual

You need to implement these three methods Returns the drag drop handler.

Implements Digikam::DragDropViewImplementation.

◆ dragEnterEvent()

void Digikam::DragDropViewImplementation::dragEnterEvent ( QDragEnterEvent *  event)
protectedinherited

Implements the relevant QAbstractItemView methods for drag and drop.

References Digikam::AbstractItemDragDropHandler::acceptsMimeData(), and Digikam::DragDropViewImplementation::dragDropHandler().

◆ dragLeaveEvent()

void Digikam::DCategorizedView::dragLeaveEvent ( QDragLeaveEvent *  event)
overrideprotectedinherited

◆ dragMoveEvent() [1/2]

◆ dragMoveEvent() [2/2]

◆ dropEvent() [1/2]

◆ dropEvent() [2/2]

void Digikam::DCategorizedView::dropEvent ( QDropEvent *  event)
overrideprotectedinherited

◆ encodeIsCutSelection()

void Digikam::ItemViewCategorized::encodeIsCutSelection ( QMimeData *  mime,
bool  isCutSelection 
)
protectedinherited

◆ entered

void Digikam::ItemViewCategorized::entered ( const QMouseEvent *  e,
const QModelIndex &  index 
)
signalinherited

◆ filterModel()

QSortFilterProxyModel * ShowFoto::ShowfotoCategorizedView::filterModel ( ) const
overrideprotectedvirtual

reimplemented from parent class

Implements Digikam::ItemViewCategorized.

Referenced by setModels().

◆ getSelectionModel()

QItemSelectionModel * ShowFoto::ShowfotoCategorizedView::getSelectionModel ( ) const

◆ hideIndexNotification

◆ hintAt

void ShowFoto::ShowfotoCategorizedView::hintAt ( const ShowfotoItemInfo info)
slot

Does something to gain attention for info, but not changing current selection

References ShowFoto::ShowfotoItemInfo::isNull(), and Digikam::ItemViewCategorized::scrollTo().

◆ indexActivated()

void ShowFoto::ShowfotoCategorizedView::indexActivated ( const QModelIndex &  index,
Qt::KeyboardModifiers  modifiers 
)
overrideprotectedvirtual

◆ indexAt()

◆ indexForCategoryAt()

QModelIndex Digikam::ItemViewCategorized::indexForCategoryAt ( const QPoint &  pos) const
protectedinherited

Returns an index that is representative for the category at position pos

References Digikam::DCategorizedView::categoryAt().

Referenced by Digikam::ItemCategorizedView::albumAt().

◆ invertSelection()

void Digikam::ItemViewCategorized::invertSelection ( )
inherited

◆ isToolTipEnabled()

bool Digikam::ItemViewCategorized::isToolTipEnabled ( ) const
inherited

◆ keyPressed

void Digikam::ItemViewCategorized::keyPressed ( QKeyEvent *  e)
signalinherited

Remember you may want to check if the event is accepted or ignored. This signal is emitted after being handled by this widget. You can accept it if ignored.

Referenced by Digikam::ItemViewCategorized::keyPressEvent().

◆ keyPressEvent()

void Digikam::ItemViewCategorized::keyPressEvent ( QKeyEvent *  event)
overrideprotectedinherited

◆ layoutAboutToBeChanged

◆ layoutWasChanged

◆ leaveEvent()

void Digikam::ItemViewCategorized::leaveEvent ( QEvent *  event)
overrideprotectedinherited

◆ mapIndexForDragDrop()

QModelIndex Digikam::ItemViewCategorized::mapIndexForDragDrop ( const QModelIndex &  index) const
overrideprotectedvirtualinherited

Note: pure virtual dragDropHandler() still open from DragDropViewImplementation

cut(), copy(), paste(), dragEnterEvent(), dragMoveEvent(), dropEvent(), startDrag() are implemented by DragDropViewImplementation

Implements Digikam::DragDropViewImplementation.

References Digikam::ItemViewCategorized::filterModel().

◆ modelChanged

void ShowFoto::ShowfotoCategorizedView::modelChanged ( )
signal

Emitted when a new model is set.

Referenced by setModels().

◆ mouseMoveEvent()

void Digikam::ItemViewCategorized::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedinherited

◆ mousePressEvent()

void Digikam::ItemViewCategorized::mousePressEvent ( QMouseEvent *  event)
overrideprotectedinherited

◆ mouseReleaseEvent()

void Digikam::ItemViewCategorized::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotectedinherited

◆ moveCursor()

QModelIndex Digikam::ItemViewCategorized::moveCursor ( CursorAction  cursorAction,
Qt::KeyboardModifiers  modifiers 
)
overrideprotectedinherited

◆ nextIndexHint()

QModelIndex ShowFoto::ShowfotoCategorizedView::nextIndexHint ( const QModelIndex &  indexToAnchor,
const QItemSelectionRange &  removed 
) const
overrideprotectedvirtual

Assuming the given indexes would be removed (hypothetically!), return the index to be selected instead, starting from anchor. The default implementation returns the next remaining sibling.

Reimplemented from Digikam::ItemViewCategorized.

◆ nextInfo()

ShowfotoItemInfo ShowFoto::ShowfotoCategorizedView::nextInfo ( const ShowfotoItemInfo info)

References nextInOrder().

◆ nextInOrder()

ShowfotoItemInfo ShowFoto::ShowfotoCategorizedView::nextInOrder ( const ShowfotoItemInfo startingPoint,
int  nth 
)

Returns the n-th info after the given one. Specifically, return the previous info for nth = -1 and the next info for n = 1. Returns a null info if either startingPoint or the nth info are not contained in the model

Referenced by nextInfo(), and previousInfo().

◆ numberOfSelectedIndexes()

int Digikam::ItemViewCategorized::numberOfSelectedIndexes ( ) const
inherited

◆ paintEvent()

void ShowFoto::ShowfotoCategorizedView::paintEvent ( QPaintEvent *  e)
overrideprotected

◆ paste

void Digikam::ItemViewCategorized::paste ( )
inlineoverrideslotinherited

◆ pixmapForDrag()

QPixmap Digikam::ItemViewCategorized::pixmapForDrag ( const QList< QModelIndex > &  indexes) const
overrideprotectedvirtualinherited

Creates a pixmap for dragging the given indexes.

Implements Digikam::DragDropViewImplementation.

◆ previousInfo()

ShowfotoItemInfo ShowFoto::ShowfotoCategorizedView::previousInfo ( const ShowfotoItemInfo info)

References nextInOrder().

◆ removeOverlay()

◆ reset()

void Digikam::ItemViewCategorized::reset ( )
overrideprotectedinherited

◆ resizeEvent()

void Digikam::ItemViewCategorized::resizeEvent ( QResizeEvent *  e)
overrideprotectedinherited

◆ rowsAboutToBeRemoved()

void Digikam::ItemViewCategorized::rowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
overrideprotectedinherited

◆ rowsInserted()

void Digikam::ItemViewCategorized::rowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
overrideprotectedinherited

◆ rowsInsertedArtifficial

◆ rowsRemoved()

void Digikam::ItemViewCategorized::rowsRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
overrideprotectedvirtualinherited

◆ scrollTo()

◆ scrollToRelaxed()

void Digikam::ItemViewCategorized::scrollToRelaxed ( const QModelIndex &  index,
ScrollHint  hint = EnsureVisible 
)
inherited

Like scrollTo, but only scrolls if the index is not visible, regardless of hint.

References Digikam::ItemViewCategorized::scrollTo(), and Digikam::DCategorizedView::visualRect().

Referenced by Digikam::ItemViewCategorized::layoutWasChanged(), and Digikam::ItemViewCategorized::resizeEvent().

◆ selected

void ShowFoto::ShowfotoCategorizedView::selected ( const QList< ShowfotoItemInfo > &  newSelectedInfos)
signal

Emitted when new items are selected. The parameter includes only the newly selected infos, there may be other already selected infos.

Referenced by selectionChanged().

◆ selectedShowfotoItemInfos()

QList< ShowfotoItemInfo > ShowFoto::ShowfotoCategorizedView::selectedShowfotoItemInfos ( ) const

Referenced by selectedUrls().

◆ selectedShowfotoItemInfosCurrentFirst()

QList< ShowfotoItemInfo > ShowFoto::ShowfotoCategorizedView::selectedShowfotoItemInfosCurrentFirst ( ) const

◆ selectedUrls()

QList< QUrl > ShowFoto::ShowfotoCategorizedView::selectedUrls ( ) const

◆ selectionChanged [1/2]

void Digikam::ItemViewCategorized::selectionChanged ( )
signalinherited

◆ selectionChanged() [2/2]

void ShowFoto::ShowfotoCategorizedView::selectionChanged ( const QItemSelection &  selectedItems,
const QItemSelection &  deselectedItems 
)
overrideprotected

References deselected(), and selected().

◆ selectionCleared

void Digikam::ItemViewCategorized::selectionCleared ( )
signalinherited

Emitted when the selection is completely cleared.

Referenced by Digikam::ItemViewCategorized::reset(), and Digikam::ItemViewCategorized::selectionChanged().

◆ setCategoryDrawer()

◆ setCurrentInfo

void ShowFoto::ShowfotoCategorizedView::setCurrentInfo ( const ShowfotoItemInfo info)
slot

Set as current item the item identified by the ShowfotoItemInfo

◆ setCurrentUrl

void ShowFoto::ShowfotoCategorizedView::setCurrentUrl ( const QUrl &  url)
slot

Set as current item the item identified by its file url

◆ setCurrentWhenAvailable

void ShowFoto::ShowfotoCategorizedView::setCurrentWhenAvailable ( qlonglong  ShowfotoItemId)
slot

Scroll the view to the given item when it becomes available

◆ setDrawDraggedItems()

void Digikam::DCategorizedView::setDrawDraggedItems ( bool  drawDraggedItems)
inherited

Switch on drawing of dragged items. Default: on. While dragging over the view, dragged items will be drawn transparently following the mouse cursor.

Parameters
drawDraggedItemsif true, dragged items will be drawn

References Digikam::DCategorizedView::Private::drawItemsWhileDragging.

Referenced by Digikam::ItemViewCategorized::ItemViewCategorized().

◆ setGridSize()

void Digikam::DCategorizedView::setGridSize ( const QSize &  size)
inherited

◆ setItemDelegate() [1/2]

void Digikam::ItemViewCategorized::setItemDelegate ( DItemDelegate delegate)
protectedinherited

◆ setItemDelegate() [2/2]

◆ setModel()

◆ setModels()

◆ setScrollCurrentToCenter()

void Digikam::ItemViewCategorized::setScrollCurrentToCenter ( bool  enabled)
inherited

◆ setScrollStepGranularity()

void Digikam::ItemViewCategorized::setScrollStepGranularity ( int  factor)
inherited

Determine a step size for scrolling: The larger this number, the smaller and more precise is the scrolling. Default is 10.

Referenced by Digikam::ImportThumbnailBar::ImportThumbnailBar(), Digikam::ItemThumbnailBar::ItemThumbnailBar(), and ShowFoto::ShowfotoThumbnailBar::ShowfotoThumbnailBar().

◆ setSelectedIndexes()

void Digikam::ItemViewCategorized::setSelectedIndexes ( const QList< QModelIndex > &  indexes)
inherited

◆ setSelectedShowfotoItemInfos

void ShowFoto::ShowfotoCategorizedView::setSelectedShowfotoItemInfos ( const QList< ShowfotoItemInfo > &  infos)
slot

Set selected items

◆ setSelectedUrls

void ShowFoto::ShowfotoCategorizedView::setSelectedUrls ( const QList< QUrl > &  urlList)
slot

Set selected items identified by their file urls

◆ setSelection()

◆ setSpacing()

◆ setThumbnailSize() [1/2]

void ShowFoto::ShowfotoCategorizedView::setThumbnailSize ( const ThumbnailSize size)
virtual

◆ setThumbnailSize [2/2]

void ShowFoto::ShowfotoCategorizedView::setThumbnailSize ( int  size)
slot

References setThumbnailSize().

◆ setToolTip()

void Digikam::ItemViewCategorized::setToolTip ( ItemViewToolTip tip)
protectedinherited

◆ setToolTipEnabled()

◆ setUsePointingHandCursor()

void Digikam::ItemViewCategorized::setUsePointingHandCursor ( bool  useCursor)
inherited

◆ showContextMenu()

void Digikam::ItemViewCategorized::showContextMenu ( QContextMenuEvent *  event)
protectedvirtualinherited

◆ showContextMenuOnIndex()

void ShowFoto::ShowfotoCategorizedView::showContextMenuOnIndex ( QContextMenuEvent *  event,
const QModelIndex &  index 
)
overrideprotectedvirtual

Reimplement these in a subclass.

Reimplemented from Digikam::ItemViewCategorized.

References showContextMenuOnInfo().

◆ showContextMenuOnInfo()

void ShowFoto::ShowfotoCategorizedView::showContextMenuOnInfo ( QContextMenuEvent *  event,
const ShowfotoItemInfo info 
)
protectedvirtual

Referenced by showContextMenuOnIndex().

◆ showfotoFilterModel()

◆ showfotoItemInfoActivated

void ShowFoto::ShowfotoCategorizedView::showfotoItemInfoActivated ( const ShowfotoItemInfo info)
signal

Emitted when the given ShowfotoItemInfo is activated. Info is never null.

Referenced by indexActivated().

◆ showfotoItemInfos()

QList< ShowfotoItemInfo > ShowFoto::ShowfotoCategorizedView::showfotoItemInfos ( ) const

◆ showfotoItemModel()

ShowfotoItemModel * ShowFoto::ShowfotoCategorizedView::showfotoItemModel ( ) const

◆ showfotoSortFilterModel()

ShowfotoSortFilterModel * ShowFoto::ShowfotoCategorizedView::showfotoSortFilterModel ( ) const

◆ showfotoThumbnailModel()

ShowfotoThumbnailModel * ShowFoto::ShowfotoCategorizedView::showfotoThumbnailModel ( ) const

Returns 0 if the ShowfotoItemModel is not an ShowfotoThumbnailModel.

◆ showIndexNotification

void Digikam::ItemViewCategorized::showIndexNotification ( const QModelIndex &  index,
const QString &  message 
)
slotinherited

◆ showToolTip()

bool Digikam::ItemViewCategorized::showToolTip ( const QModelIndex &  index,
QStyleOptionViewItem &  option,
QHelpEvent *  e = nullptr 
)
protectedvirtualinherited

Provides default behavior, can reimplement in a subclass. Returns true if a tooltip was shown. The help event is optional.

Referenced by Digikam::ItemViewCategorized::viewportEvent().

◆ slotActivated

void Digikam::ItemViewCategorized::slotActivated ( const QModelIndex &  index)
protectedslotinherited

◆ slotClicked

void Digikam::ItemViewCategorized::slotClicked ( const QModelIndex &  index)
protectedslotinherited

◆ slotEntered

void Digikam::ItemViewCategorized::slotEntered ( const QModelIndex &  index)
protectedslotinherited

◆ slotLayoutChanged

◆ slotSetupChanged

◆ slotThemeChanged

void Digikam::ItemViewCategorized::slotThemeChanged ( )
protectedvirtualslotinherited

◆ startDrag() [1/2]

void Digikam::DragDropViewImplementation::startDrag ( Qt::DropActions  supportedActions)
protectedinherited

◆ startDrag() [2/2]

void Digikam::DCategorizedView::startDrag ( Qt::DropActions  supportedActions)
overrideprotectedinherited

◆ thumbnailSize()

ThumbnailSize ShowFoto::ShowfotoCategorizedView::thumbnailSize ( ) const

Referenced by setItemDelegate().

◆ toFirstIndex()

void Digikam::ItemViewCategorized::toFirstIndex ( )
inherited

Selects the index as current and scrolls to it

References Digikam::ItemViewCategorized::moveCursor().

◆ toIndex() [1/2]

◆ toIndex() [2/2]

void ShowFoto::ShowfotoCategorizedView::toIndex ( const QUrl &  url)

Selects the index as current and scrolls to it

◆ toLastIndex()

void Digikam::ItemViewCategorized::toLastIndex ( )
inherited

◆ toNextIndex()

void Digikam::ItemViewCategorized::toNextIndex ( )
inherited

◆ toPreviousIndex()

void Digikam::ItemViewCategorized::toPreviousIndex ( )
inherited

◆ updateDelegateSizes()

◆ updateGeometries()

void ShowFoto::ShowfotoCategorizedView::updateGeometries ( )
overrideprotected

◆ urls()

QList< QUrl > ShowFoto::ShowfotoCategorizedView::urls ( ) const

◆ userInteraction()

◆ viewportClicked

void Digikam::ItemViewCategorized::viewportClicked ( const QMouseEvent *  e)
signalinherited

While clicked() is emitted with a valid index, this corresponds to clicking on empty space

Referenced by Digikam::ItemViewCategorized::mousePressEvent().

◆ viewportEvent()

bool Digikam::ItemViewCategorized::viewportEvent ( QEvent *  event)
overrideprotectedinherited

◆ visualRect()

◆ wheelEvent()

void Digikam::ItemViewCategorized::wheelEvent ( QWheelEvent *  event)
overrideprotectedinherited

◆ zoomInStep

void Digikam::ItemViewCategorized::zoomInStep ( )
signalinherited

◆ zoomOutStep

void Digikam::ItemViewCategorized::zoomOutStep ( )
signalinherited

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