25 #ifndef DIGIKAM_IMPORT_OVERLAYS_H
26 #define DIGIKAM_IMPORT_OVERLAYS_H
30 #include <QAbstractButton>
31 #include <QAbstractItemView>
75 bool checkIndex(
const QModelIndex& index)
const override;
76 void slotEntered(
const QModelIndex& index)
override;
102 bool checkIndex(
const QModelIndex& index)
const override;
103 void slotEntered(
const QModelIndex& index)
override;
129 bool checkIndex(
const QModelIndex& index)
const override;
130 void slotEntered(
const QModelIndex& index)
override;
163 void hide()
override;
164 void slotEntered(
const QModelIndex& index)
override;
195 QIcon
icon()
override;
229 bool checkIndex(
const QModelIndex& index)
const override;
Definition: importoverlays.h:59
QWidget * createWidget() override
Definition: importoverlays.cpp:62
void updatePosition()
Definition: importoverlays.cpp:84
void setActive(bool active) override
Definition: importoverlays.cpp:71
bool checkIndex(const QModelIndex &index) const override
Definition: importoverlays.cpp:99
ImportOverlayWidget * buttonWidget() const
Definition: importoverlays.cpp:57
void slotEntered(const QModelIndex &index) override
Definition: importoverlays.cpp:115
void visualChange() override
Definition: importoverlays.cpp:76
QPersistentModelIndex m_index
Definition: importoverlays.h:80
ImportCoordinatesOverlay(QObject *const parent)
Definition: importoverlays.cpp:52
Definition: importoverlays.h:113
void updatePosition()
Definition: importoverlays.cpp:227
void setActive(bool active) override
Definition: importoverlays.cpp:214
void visualChange() override
Definition: importoverlays.cpp:219
void slotEntered(const QModelIndex &index) override
Definition: importoverlays.cpp:267
QWidget * createWidget() override
Definition: importoverlays.cpp:205
bool checkIndex(const QModelIndex &index) const override
Definition: importoverlays.cpp:242
ImportOverlayWidget * buttonWidget() const
Definition: importoverlays.cpp:200
QPersistentModelIndex m_index
Definition: importoverlays.h:134
ImportDownloadOverlay(QObject *const parent)
Definition: importoverlays.cpp:195
Definition: importoverlays.h:86
void visualChange() override
Definition: importoverlays.cpp:148
void setActive(bool active) override
Definition: importoverlays.cpp:143
void updatePosition()
Definition: importoverlays.cpp:156
bool checkIndex(const QModelIndex &index) const override
Definition: importoverlays.cpp:171
QWidget * createWidget() override
Definition: importoverlays.cpp:134
QPersistentModelIndex m_index
Definition: importoverlays.h:107
ImportLockOverlay(QObject *const parent)
Definition: importoverlays.cpp:124
ImportOverlayWidget * buttonWidget() const
Definition: importoverlays.cpp:129
void slotEntered(const QModelIndex &index) override
Definition: importoverlays.cpp:186
Definition: importoverlays.h:140
void updateRating()
Definition: importoverlays.cpp:367
QPersistentModelIndex m_index
Definition: importoverlays.h:173
void slotEntered(const QModelIndex &index) override
Definition: importoverlays.cpp:386
void setActive(bool) override
Definition: importoverlays.cpp:295
void slotRatingChanged(int)
Definition: importoverlays.cpp:378
void hide() override
Definition: importoverlays.cpp:339
RatingWidget * ratingWidget() const
Definition: importoverlays.cpp:281
void slotDataChanged(const QModelIndex &, const QModelIndex &)
Definition: importoverlays.cpp:406
void ratingEdited(const QList< QModelIndex > &indexes, int rating)
void updatePosition()
Definition: importoverlays.cpp:345
void widgetLeaveEvent() override
Definition: importoverlays.cpp:334
void visualChange() override
Definition: importoverlays.cpp:321
ImportRatingOverlay(QObject *const parent)
Definition: importoverlays.cpp:276
QWidget * createWidget() override
Definition: importoverlays.cpp:286
void widgetEnterEvent() override
Definition: importoverlays.cpp:329
Definition: importoverlays.h:206
static ImportRotateOverlay * left(QObject *const parent)
Definition: importoverlays.h:218
void updateButton(const QModelIndex &index) override
Definition: importoverlays.cpp:476
bool checkIndex(const QModelIndex &index) const override
Definition: importoverlays.cpp:497
static ImportRotateOverlay * right(QObject *const parent)
Definition: importoverlays.h:219
bool isRight() const
Definition: importoverlays.h:216
void widgetLeaveEvent() override
Definition: importoverlays.cpp:508
ImportRotateOverlay(ImportRotateOverlayDirection dir, QObject *const parent)
Definition: importoverlays.cpp:454
void widgetEnterEvent() override
Definition: importoverlays.cpp:503
bool isLeft() const
Definition: importoverlays.h:215
ItemViewHoverButton * createButton() override
Definition: importoverlays.cpp:471
void signalRotate(const QList< QModelIndex > &indexes)
void setActive(bool active) override
Definition: importoverlays.cpp:460
ImportRotateOverlayDirection direction() const
Definition: importoverlays.h:214
NOTE: Some reuse of the existing model-view classes.
Definition: itemviewimportdelegate.h:46
#define REQUIRE_DELEGATE(Delegate)
Definition: itemdelegateoverlay.h:112
Definition: datefolderview.cpp:43
ImportRotateOverlayDirection
Definition: importoverlays.h:179
@ ImportRotateOverlayLeft
Definition: importoverlays.h:180
@ ImportRotateOverlayRight
Definition: importoverlays.h:181