digiKam
|
Public Member Functions | |
QModelIndex | index () const |
void | initIcon () |
ItemRotateOverlayButton (ItemRotateOverlayDirection dir, QAbstractItemView *const parentView) | |
void | reset () |
void | setIndex (const QModelIndex &index) |
void | setVisible (bool visible) override |
QSize | sizeHint () const override |
Protected Slots | |
void | refreshIcon () |
void | setFadingValue (int value) |
void | startFading () |
void | stopFading () |
Protected Member Functions | |
void | enterEvent (QEvent *event) |
QIcon | icon () override |
void | leaveEvent (QEvent *event) |
void | paintEvent (QPaintEvent *event) |
void | setup () |
void | updateToolTip () override |
Protected Attributes | |
ItemRotateOverlayDirection const | m_direction |
QTimeLine * | m_fadingTimeLine |
int | m_fadingValue |
QIcon | m_icon |
QPersistentModelIndex | m_index |
bool | m_isHovered |
Digikam::ItemRotateOverlayButton::ItemRotateOverlayButton | ( | ItemRotateOverlayDirection | dir, |
QAbstractItemView *const | parentView | ||
) |
References Digikam::ItemViewHoverButton::setup().
|
protectedinherited |
|
overrideprotectedvirtual |
Return your icon here. Will be queried again on toggle.
Implements Digikam::ItemViewHoverButton.
References Digikam::ItemRotateOverlayLeft, and m_direction.
|
inherited |
References Digikam::ItemViewHoverButton::m_index.
Referenced by Digikam::ItemViewHoverButton::setIndex(), Digikam::FaceRejectionOverlay::slotClicked(), Digikam::ItemSelectionOverlay::slotClicked(), Digikam::ShowHideVersionsOverlay::slotClicked(), and Digikam::ItemSelectionOverlay::slotSelectionChanged().
|
inherited |
References Digikam::ItemViewHoverButton::refreshIcon(), and Digikam::ItemViewHoverButton::sizeHint().
Referenced by Digikam::HoverButtonDelegateOverlay::setActive().
|
protectedinherited |
References Digikam::ItemViewHoverButton::m_isHovered.
|
protectedinherited |
|
protectedslotinherited |
References Digikam::ItemViewHoverButton::icon(), and Digikam::ItemViewHoverButton::m_icon.
Referenced by Digikam::ItemViewHoverButton::initIcon(), and Digikam::ItemViewHoverButton::setup().
|
inherited |
References Digikam::ItemViewHoverButton::m_index.
Referenced by Digikam::HoverButtonDelegateOverlay::slotReset().
|
protectedslotinherited |
References Digikam::ItemViewHoverButton::m_fadingTimeLine, Digikam::ItemViewHoverButton::m_fadingValue, and value.
Referenced by Digikam::ItemViewHoverButton::setup().
|
inherited |
|
protectedinherited |
to call in children class constructors to init signal/slot connections.
References Digikam::ItemViewHoverButton::m_fadingTimeLine, Digikam::ItemViewHoverButton::refreshIcon(), and Digikam::ItemViewHoverButton::setFadingValue().
Referenced by Digikam::FaceRejectionOverlayButton::FaceRejectionOverlayButton(), Digikam::ImportRotateOverlayButton::ImportRotateOverlayButton(), Digikam::ItemFullScreenOverlayButton::ItemFullScreenOverlayButton(), ItemRotateOverlayButton(), and Digikam::ItemSelectionOverlayButton::ItemSelectionOverlayButton().
|
overrideinherited |
|
overridevirtual |
Reimplement to match the size of your icon
Implements Digikam::ItemViewHoverButton.
|
protectedslotinherited |
|
protectedslotinherited |
References Digikam::ItemViewHoverButton::m_fadingTimeLine, and Digikam::ItemViewHoverButton::m_fadingValue.
Referenced by Digikam::ItemViewHoverButton::setVisible().
|
overrideprotectedvirtual |
Optionally update tooltip here. Will be called again on state change.
Reimplemented from Digikam::ItemViewHoverButton.
References Digikam::ItemRotateOverlayLeft, and m_direction.
|
protected |
Referenced by icon(), and updateToolTip().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by Digikam::ItemViewHoverButton::leaveEvent(), and Digikam::ItemViewHoverButton::paintEvent().