24 #ifndef DIGIKAM_IMAGE_DIALOG_H
25 #define DIGIKAM_IMAGE_DIALOG_H
30 #include <QScrollArea>
31 #include <QFileIconProvider>
34 #include <QModelIndex>
36 #include <QAbstractItemView>
46 class LoadingDescription;
47 class ThumbnailImageCatcher;
58 QSize sizeHint()
const override;
60 static QString identifyItem(
const QUrl& url,
const QImage& preview = QImage());
64 void slotShowPreview(
const QUrl& url);
69 void slotClearPreview();
74 void resizeEvent(QResizeEvent* e)
override;
93 void setData(QAbstractItemView*
const view,
94 const QModelIndex& index,
99 QRect repositionRect()
override;
100 QString tipContents()
override;
118 #if (QT_VERSION > QT_VERSION_CHECK(5, 99, 0))
119 QIcon icon(QAbstractFileIconProvider::IconType type)
const override;
121 QIcon
icon(QFileIconProvider::IconType type)
const override;
124 QIcon icon(
const QFileInfo& info)
const override;
142 bool singleSelect =
false,
143 const QString& caption = QString());
148 QStringList fileFormats()
const;
150 void setEnableToolTips(
bool val);
152 static QUrl getImageURL(QWidget*
const parent,
154 const QString& caption = QString());
156 static QList<QUrl> getImageURLs(QWidget*
const parent,
158 const QString& caption = QString());
162 bool eventFilter(QObject* obj, QEvent* ev);
165 bool acceptToolTip(
const QUrl& url)
const;
Definition: imagedialog.h:111
QIcon icon(QFileIconProvider::IconType type) const override
Definition: imagedialog.h:50
Definition: imagedialog.h:135
Definition: loadingdescription.h:45
Definition: datefolderview.cpp:43