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

Public Slots

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

Signals

void signalItemsChanged ()
 contextMenuEvent - reimplemented method from QListView to handle custom context menu More...
 

Public Member Functions

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

Protected Member Functions

void dropEvent (QDropEvent *e) override
 
QModelIndex indexVisuallyAt (const QPoint &p)
 
void startDrag (Qt::DropActions supportedActions) override
 

Constructor & Destructor Documentation

◆ NamespaceListView()

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

Member Function Documentation

◆ dropEvent()

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

References signalItemsChanged().

◆ indexVisuallyAt()

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

◆ mySelectedIndexes()

QModelIndexList Digikam::NamespaceListView::mySelectedIndexes ( )

◆ signalItemsChanged

void Digikam::NamespaceListView::signalItemsChanged ( )
signal

contextMenuEvent - reimplemented method from QListView to handle custom context menu

Referenced by dropEvent(), slotDeleteSelected(), slotMoveItemDown(), and slotMoveItemUp().

◆ slotDeleteSelected

void Digikam::NamespaceListView::slotDeleteSelected ( )
slot

slotDeleteSelected - delete selected item from Quick Access List

References signalItemsChanged().

◆ slotMoveItemDown

void Digikam::NamespaceListView::slotMoveItemDown ( )
slot

References signalItemsChanged().

◆ slotMoveItemUp

void Digikam::NamespaceListView::slotMoveItemUp ( )
slot

References signalItemsChanged().

◆ startDrag()

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

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


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