![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Signals | |
void | animationStateChanged () |
void | hideNotification () |
void | requestNotification (const QModelIndex &index, const QString &message) |
void | visualChange () |
Public Member Functions | |
VersionsDelegate (QObject *const parent) | |
int | animationState () const |
void | beginPainting () |
void | finishPainting () |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
void | setAnimationState (int animationState) |
void | setThumbnailSize (int size) const |
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
int | thumbnailSize () const |
![]() | |
ItemDelegateOverlayContainer ()=default | |
This is a sample implementation for delegate management methods, to be inherited by a delegate. | |
void | installOverlay (ItemDelegateOverlay *overlay) |
void | mouseMoved (QMouseEvent *e, const QRect &visualRect, const QModelIndex &index) |
QList< ItemDelegateOverlay * > | overlays () const |
void | removeAllOverlays () |
void | removeOverlay (ItemDelegateOverlay *overlay) |
void | setAllOverlaysActive (bool active) |
void | setViewOnAllOverlays (QAbstractItemView *view) |
Protected Slots | |
void | overlayDestroyed (QObject *o) override |
Protected Member Functions | |
QAbstractItemDelegate * | asDelegate () override |
Returns the delegate, typically, the derived class. | |
void | initStyleOption (QStyleOptionViewItem *option, const QModelIndex &index) const override |
![]() | |
virtual void | drawOverlays (QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const |
virtual void | overlayDestroyed (QObject *o) |
Declare as slot in the derived class calling this method. | |
Properties | |
int | animationState |
Additional Inherited Members | |
![]() | |
QList< ItemDelegateOverlay * > | m_overlays |
|
inlineoverrideprotectedvirtual |
Implements Digikam::ItemDelegateOverlayContainer.
|
signal |