24 #ifndef DIGIKAM_TABLE_VIEW_TREEVIEW_DELEGATE_H
25 #define DIGIKAM_TABLE_VIEW_TREEVIEW_DELEGATE_H
29 #include <QItemDelegate>
43 class QContextMenuEvent;
57 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& tableViewModelIndex)
const override;
58 QSize
sizeHint(
const QStyleOptionViewItem& option,
const QModelIndex& tableViewModelIndex)
const override;
Definition: tableview_treeview_delegate.h:49
~TableViewItemDelegate() override
Definition: tableview_treeview_delegate.cpp:58
TableViewItemDelegate(TableViewShared *const tableViewShared, QObject *const parent=nullptr)
Definition: tableview_treeview_delegate.cpp:52
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &tableViewModelIndex) const override
Definition: tableview_treeview_delegate.cpp:88
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &tableViewModelIndex) const override
Definition: tableview_treeview_delegate.cpp:62
Definition: tableview_shared.h:44
Definition: datefolderview.cpp:43