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

Public Slots

void slotDeleteSelected ()
 slotDeleteSelected - delete selected item from Quick Access List More...
 

Public Member Functions

QModelIndexList mySelectedIndexes ()
 
 TagMngrListView (QWidget *const parent=nullptr)
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event) override
 contextMenuEvent - reimplemented method from QListView to handle custom context menu More...
 
void dropEvent (QDropEvent *e) override
 
QModelIndex indexVisuallyAt (const QPoint &p)
 
void startDrag (Qt::DropActions supportedActions) override
 

Constructor & Destructor Documentation

◆ TagMngrListView()

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

Member Function Documentation

◆ contextMenuEvent()

void Digikam::TagMngrListView::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotected

contextMenuEvent - reimplemented method from QListView to handle custom context menu

References Digikam::ContextMenuHelper::addAction(), Digikam::ContextMenuHelper::exec(), and slotDeleteSelected().

◆ dropEvent()

void Digikam::TagMngrListView::dropEvent ( QDropEvent *  e)
overrideprotected

◆ indexVisuallyAt()

QModelIndex Digikam::TagMngrListView::indexVisuallyAt ( const QPoint &  p)
protected

Referenced by dropEvent().

◆ mySelectedIndexes()

QModelIndexList Digikam::TagMngrListView::mySelectedIndexes ( )

◆ slotDeleteSelected

void Digikam::TagMngrListView::slotDeleteSelected ( )
slot

slotDeleteSelected - delete selected item from Quick Access List

References Digikam::TagMngrListModel::deleteItem().

Referenced by contextMenuEvent().

◆ startDrag()

void Digikam::TagMngrListView::startDrag ( Qt::DropActions  supportedActions)
overrideprotected

Reimplemented methods to enable custom drag-n-drop in QListView

References Digikam::TagMngrListModel::mimeData().


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