![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Public Member Functions | |
ItemSelectionOverlayButton (QAbstractItemView *const parentView) | |
QSize | sizeHint () const override |
Reimplement to match the size of your icon. | |
![]() | |
ItemViewHoverButton (QAbstractItemView *const parentView) | |
QModelIndex | index () const |
void | initIcon () |
void | reset () |
void | setIndex (const QModelIndex &index) |
void | setVisible (bool visible) override |
Protected Member Functions | |
QIcon | icon () override |
Return your icon here. | |
void | updateToolTip () override |
Optionally update tooltip here. | |
![]() | |
void | enterEvent (QEnterEvent *event) |
void | leaveEvent (QEvent *event) |
void | paintEvent (QPaintEvent *event) |
void | setup () |
to call in children class constructors to init signal/slot connections. | |
Additional Inherited Members | |
![]() | |
void | refreshIcon () |
void | setFadingValue (int value) |
void | startFading () |
void | stopFading () |
![]() | |
QTimeLine * | m_fadingTimeLine = nullptr |
int | m_fadingValue = 0 |
QIcon | m_icon |
QPersistentModelIndex | m_index |
bool | m_isHovered = false |
|
overrideprotectedvirtual |
Will be queried again on toggle.
Implements Digikam::ItemViewHoverButton.
|
overridevirtual |
Implements Digikam::ItemViewHoverButton.
|
overrideprotectedvirtual |
Will be called again on state change.
Reimplemented from Digikam::ItemViewHoverButton.