24 #ifndef DIGIKAM_VERSIONS_DELEGATE_H
25 #define DIGIKAM_VERSIONS_DELEGATE_H
29 #include <QStyledItemDelegate>
52 QSize
sizeHint(
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
53 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
82 void initStyleOption(QStyleOptionViewItem* option,
const QModelIndex& index)
const override;
Definition: itemdelegateoverlay.h:333
virtual void overlayDestroyed(QObject *o)
Declare as slot in the derived class calling this method.
Definition: itemdelegateoverlay.cpp:753
Definition: versionsdelegate.h:41
void animationStateChanged()
void requestNotification(const QModelIndex &index, const QString &message)
NOTE: for ItemDelegateOverlayContainer, unimplemented:
void overlayDestroyed(QObject *o) override
Definition: versionsdelegate.h:75
void setAnimationState(int animationState)
Definition: versionsdelegate.cpp:125
QAbstractItemDelegate * asDelegate() override
Returns the delegate, typically, the derived class.
Definition: versionsdelegate.h:85
void setThumbnailSize(int size) const
Definition: versionsdelegate.cpp:136
void beginPainting()
Definition: versionsdelegate.cpp:146
int thumbnailSize() const
Definition: versionsdelegate.cpp:141
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: versionsdelegate.cpp:166
~VersionsDelegate() override
Definition: versionsdelegate.cpp:114
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: versionsdelegate.cpp:204
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const override
Definition: versionsdelegate.cpp:237
int animationState
Definition: versionsdelegate.h:45
void finishPainting()
Definition: versionsdelegate.cpp:151
Definition: datefolderview.cpp:43