26 #ifndef DIGIKAM_DW_ITEM_DELEGATE_H
27 #define DIGIKAM_DW_ITEM_DELEGATE_H
33 #include <QPersistentModelIndex>
34 #include <QAbstractItemDelegate>
44 class QStyleOptionViewItem;
45 class QAbstractItemView;
51 class DWItemDelegatePool;
52 class DWItemDelegatePrivate;
71 explicit DWItemDelegate(QAbstractItemView*
const itemView, QObject*
const parent =
nullptr);
79 QAbstractItemView* itemView()
const;
86 QPersistentModelIndex focusedIndex()
const;
125 const QStyleOptionViewItem& option,
126 const QPersistentModelIndex& index)
const = 0;
151 friend class DWItemDelegateEventListener;
155 Q_PRIVATE_SLOT(d,
void slotDWRowsInserted(
const QModelIndex&,
int,
int))
156 Q_PRIVATE_SLOT(d,
void slotDWRowsAboutToBeRemoved(
const QModelIndex&,
int,
int))
157 Q_PRIVATE_SLOT(d,
void slotDWRowsRemoved(
const QModelIndex&,
int,
int))
158 Q_PRIVATE_SLOT(d,
void slotDWDataChanged(
const QModelIndex&,
const QModelIndex&))
159 Q_PRIVATE_SLOT(d,
void slotDWLayoutChanged())
160 Q_PRIVATE_SLOT(d,
void slotDWModelReset())
161 Q_PRIVATE_SLOT(d,
void slotDWSelectionChanged(const QItemSelection&, const QItemSelection&))
Definition: dwitemdelegatepool.h:49
Definition: dwitemdelegate_p.h:43
Definition: dwitemdelegate.h:60
virtual void updateItemWidgets(const QList< QWidget * > &widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const =0
virtual QList< QWidget * > createItemWidgets(const QModelIndex &index) const =0
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43
Type
Definition: gpsitemcontainer.h:45