25 #ifndef DIGIKAM_VERSIONS_TREEVIEW_H
26 #define DIGIKAM_VERSIONS_TREEVIEW_H
40 class VersionsDelegate;
41 class ItemDelegateOverlay;
65 QModelIndex
moveCursor(CursorAction cursorAction,
66 Qt::KeyboardModifiers modifiers)
override;
Definition: abstractitemdragdrophandler.h:42
Definition: dragdropimplementations.h:113
Definition: itemdelegateoverlay.h:41
Definition: versionsdelegate.h:41
Definition: versionstreeview.h:45
void setToolTipEnabled(bool on)
Definition: versionstreeview.cpp:147
VersionsDelegate * m_delegate
Definition: versionstreeview.h:76
void paintEvent(QPaintEvent *e) override
Definition: versionstreeview.cpp:162
ToolTip * m_toolTip
Definition: versionstreeview.h:81
AbstractItemDragDropHandler * m_dragDropHandler
Definition: versionstreeview.h:79
void addOverlay(ItemDelegateOverlay *overlay)
Definition: versionstreeview.cpp:134
~VersionsTreeView() override
NOTE: All overlay management code in a sophisticated form can be studied in ItemCategorizedView.
Definition: versionstreeview.cpp:124
bool m_showToolTip
Definition: versionstreeview.h:80
VersionsDelegate * delegate() const
Definition: versionstreeview.cpp:129
VersionsTreeView(QWidget *const parent=nullptr)
Definition: versionstreeview.cpp:110
void mouseMoveEvent(QMouseEvent *event) override
Definition: versionstreeview.cpp:176
QPixmap pixmapForDrag(const QList< QModelIndex > &indexes) const override
Definition: versionstreeview.cpp:206
void removeOverlay(ItemDelegateOverlay *overlay)
Definition: versionstreeview.cpp:141
QModelIndex mapIndexForDragDrop(const QModelIndex &index) const override
Definition: versionstreeview.cpp:201
bool viewportEvent(QEvent *event) override
Definition: versionstreeview.cpp:225
QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override
Definition: versionstreeview.cpp:169
AbstractItemDragDropHandler * dragDropHandler() const override
Definition: versionstreeview.cpp:196
virtual void setDragDropHandler(AbstractItemDragDropHandler *handler)
Definition: versionstreeview.cpp:191
#define DECLARE_VIEW_DRAG_DROP_METHODS(ParentViewClass)
Definition: dragdropimplementations.h:155
Definition: datefolderview.cpp:43