19#include <QStyledItemDelegate>
42 QSize
sizeHint(
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
43 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
72 void initStyleOption(QStyleOptionViewItem* option,
const QModelIndex& index)
const override;
87 Private*
const d =
nullptr;
Definition itemdelegateoverlay.h:323
virtual void overlayDestroyed(QObject *o)
Declare as slot in the derived class calling this method.
Definition itemdelegateoverlay.cpp:733
Definition versionsdelegate.h:31
void animationStateChanged()
void requestNotification(const QModelIndex &index, const QString &message)
NOTE: for ItemDelegateOverlayContainer, unimplemented:
void overlayDestroyed(QObject *o) override
Definition versionsdelegate.h:65
void setAnimationState(int animationState)
Definition versionsdelegate.cpp:105
void setThumbnailSize(int size) const
Definition versionsdelegate.cpp:116
void beginPainting()
Definition versionsdelegate.cpp:126
int thumbnailSize() const
Definition versionsdelegate.cpp:121
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition versionsdelegate.cpp:146
~VersionsDelegate() override
Definition versionsdelegate.cpp:94
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition versionsdelegate.cpp:184
QAbstractItemDelegate * asDelegate() override
Returns the delegate, typically, the derived class.
Definition versionsdelegate.h:75
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const override
Definition versionsdelegate.cpp:217
int animationState
Definition versionsdelegate.h:35
void finishPainting()
Definition versionsdelegate.cpp:131
Definition datefolderview.cpp:34