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

Public Types

enum  ColumnType {
  Thumbnail = 0 , Filename , User1 , User2 ,
  User3 , User4 , User5 , User6
}
 

Signals

void signalAddedDropedItems (const QList< QUrl > &)
 
void signalContextMenuRequested ()
 
void signalItemClicked (QTreeWidgetItem *)
 

Public Member Functions

 DItemsListView (DItemsList *const parent)
 
void enableDragAndDrop (const bool enable=true)
 
DItemsListViewItemfindItem (const QUrl &url)
 
DItemsListViewItemgetCurrentItem () const
 
DInfoInterfaceiface () const
 
QModelIndex indexFromItem (DItemsListViewItem *item, int column=0) const
 
DItemsListIsLessThanHandler isLessThanHandler () const
 
void setColumn (ColumnType column, const QString &label, bool enable)
 
void setColumnEnabled (ColumnType column, bool enable)
 
void setColumnLabel (ColumnType column, const QString &label)
 
 ~DItemsListView () override
 

Member Enumeration Documentation

◆ ColumnType

Enumerator
Thumbnail 
Filename 
User1 
User2 
User3 
User4 
User5 
User6 

Constructor & Destructor Documentation

◆ DItemsListView()

Digikam::DItemsListView::DItemsListView ( DItemsList *const  parent)
explicit

◆ ~DItemsListView()

Digikam::DItemsListView::~DItemsListView ( )
override

Member Function Documentation

◆ enableDragAndDrop()

void Digikam::DItemsListView::enableDragAndDrop ( const bool  enable = true)

Referenced by DItemsListView().

◆ findItem()

◆ getCurrentItem()

DItemsListViewItem * Digikam::DItemsListView::getCurrentItem ( ) const

◆ iface()

DInfoInterface * Digikam::DItemsListView::iface ( ) const

◆ indexFromItem()

QModelIndex Digikam::DItemsListView::indexFromItem ( DItemsListViewItem item,
int  column = 0 
) const

◆ isLessThanHandler()

DItemsListIsLessThanHandler Digikam::DItemsListView::isLessThanHandler ( ) const

◆ setColumn()

◆ setColumnEnabled()

void Digikam::DItemsListView::setColumnEnabled ( ColumnType  column,
bool  enable 
)

Referenced by setColumn().

◆ setColumnLabel()

void Digikam::DItemsListView::setColumnLabel ( ColumnType  column,
const QString &  label 
)

◆ signalAddedDropedItems

void Digikam::DItemsListView::signalAddedDropedItems ( const QList< QUrl > &  )
signal

◆ signalContextMenuRequested

void Digikam::DItemsListView::signalContextMenuRequested ( )
signal

◆ signalItemClicked

void Digikam::DItemsListView::signalItemClicked ( QTreeWidgetItem *  )
signal

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