![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Inheritance diagram for Digikam::ItemRotateOverlayButton:Public Member Functions | |
| ItemRotateOverlayButton (ItemRotateOverlayDirection dir, QAbstractItemView *const parentView) | |
| QSize | sizeHint () const override |
| Reimplement to match the size of your icon. | |
Public Member Functions inherited from Digikam::ItemViewHoverButton | |
| 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. | |
Protected Member Functions inherited from Digikam::ItemViewHoverButton | |
| 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. | |
Protected Attributes | |
| ItemRotateOverlayDirection const | m_direction |
Protected Attributes inherited from Digikam::ItemViewHoverButton | |
| QTimeLine * | m_fadingTimeLine = nullptr |
| int | m_fadingValue = 0 |
| QIcon | m_icon |
| QPersistentModelIndex | m_index |
| bool | m_isHovered = false |
Additional Inherited Members | |
Protected Slots inherited from Digikam::ItemViewHoverButton | |
| void | refreshIcon () |
| void | setFadingValue (int value) |
| void | startFading () |
| void | stopFading () |
|
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.