digikam
#include <importoverlays.h>

Signals | |
void | ratingEdited (const QList< QModelIndex > &indexes, int rating) |
![]() | |
void | hideNotification () |
void | requestNotification (const QModelIndex &index, const QString &message) |
void | update (const QModelIndex &index) |
Protected Slots | |
void | slotDataChanged (const QModelIndex &, const QModelIndex &) |
void | slotRatingChanged (int) |
![]() | |
virtual void | slotLayoutChanged () |
virtual void | slotReset () |
virtual void | slotRowsRemoved (const QModelIndex &parent, int start, int end) |
virtual void | slotViewportEntered () |
![]() |
Protected Attributes | |
QPersistentModelIndex | m_index |
![]() | |
bool | m_mouseButtonPressedOnWidget |
QWidget * | m_widget |
![]() | |
QAbstractItemDelegate * | m_delegate |
QAbstractItemView * | m_view |
Additional Inherited Members | |
![]() | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
objectName | |
Detailed Description
Definition at line 139 of file importoverlays.h.
Constructor & Destructor Documentation
Definition at line 270 of file importoverlays.cpp.
Member Function Documentation
|
overrideprotectedvirtual |
Create your widget here.
When creating the object, pass parentWidget() as parent widget. Ownership of the object is passed. It will be deleted in setActive(false).
Implements Digikam::AbstractWidgetDelegateOverlay.
Definition at line 280 of file importoverlays.cpp.
|
overrideprotectedvirtual |
Called when the widget shall be hidden (mouse cursor left index, viewport, uninstalled etc.).
Default implementation hide()s m_widget.
Reimplemented from Digikam::AbstractWidgetDelegateOverlay.
Definition at line 332 of file importoverlays.cpp.
|
signal |
RatingWidget * Digikam::ImportRatingOverlay::ratingWidget | ( | ) | const |
Definition at line 275 of file importoverlays.cpp.
|
overrideprotectedvirtual |
If active is true, this will call createWidget(), initialize the widget for use, and setup connections for the virtual slots.
If active is false, this will delete the widget and disconnect all signal from model and view to this object (!)
Reimplemented from Digikam::AbstractWidgetDelegateOverlay.
Definition at line 288 of file importoverlays.cpp.
|
protectedslot |
Definition at line 398 of file importoverlays.cpp.
|
overrideprotectedvirtual |
Default implementation shows the widget iff the index is valid and checkIndex returns true.
Reimplemented from Digikam::AbstractWidgetDelegateOverlay.
Definition at line 379 of file importoverlays.cpp.
|
protectedslot |
Definition at line 371 of file importoverlays.cpp.
|
protected |
Definition at line 338 of file importoverlays.cpp.
|
protected |
Definition at line 360 of file importoverlays.cpp.
|
overrideprotectedvirtual |
Called when any change from the delegate occurs - when the overlay is installed, when size hints, styles or fonts change.
Reimplemented from Digikam::ItemDelegateOverlay.
Definition at line 314 of file importoverlays.cpp.
|
overrideprotectedvirtual |
Called when a QEvent::Enter resp.
QEvent::Leave event for the widget is received. The default implementation does nothing.
Reimplemented from Digikam::AbstractWidgetDelegateOverlay.
Definition at line 322 of file importoverlays.cpp.
|
overrideprotectedvirtual |
Reimplemented from Digikam::AbstractWidgetDelegateOverlay.
Definition at line 327 of file importoverlays.cpp.
Member Data Documentation
|
protected |
Definition at line 171 of file importoverlays.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 02:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.