26 #ifndef DIGIKAM_DCATEGORY_DRAWER_H
27 #define DIGIKAM_DCATEGORY_DRAWER_H
32 #include <QMouseEvent>
45 class DCategorizedView;
78 virtual void drawCategory(
const QModelIndex& index,
80 const QStyleOption& option,
81 QPainter* painter)
const;
87 virtual int categoryHeight(
const QModelIndex& index,
88 const QStyleOption& option)
const;
93 virtual int leftMargin()
const;
98 virtual int rightMargin()
const;
129 virtual void mouseButtonPressed(
const QModelIndex& index,
const QRect& blockRect, QMouseEvent* event);
142 virtual void mouseButtonReleased(
const QModelIndex& index,
const QRect& blockRect, QMouseEvent* event);
151 virtual void mouseMoved(
const QModelIndex& index,
const QRect& blockRect, QMouseEvent* event);
164 virtual void mouseButtonDoubleClicked(
const QModelIndex& index,
const QRect& blockRect, QMouseEvent* event);
172 virtual void mouseLeft(
const QModelIndex& index,
const QRect& blockRect);
Item view for listing items.
Definition: dcategorizedview.h:49
Definition: dcategorydrawer.h:52
void collapseOrExpandClicked(const QModelIndex &index)
void actionRequested(int action, const QModelIndex &index)
Definition: datefolderview.cpp:43