25 #ifndef DIGIKAM_THUMB_NAIL_LOAD_THREAD_H
26 #define DIGIKAM_THUMB_NAIL_LOAD_THREAD_H
41 class DbEngineParameters;
42 class ThumbnailCreator;
43 class ThumbnailInfoProvider;
62 static void cleanUp();
76 static void setDisplayingWidget(QWidget*
const widget);
116 bool find(
const ThumbnailIdentifier& identifier,
const QRect& rect, QPixmap& pixmap,
int size);
119 void findGroup(
const QList<QPair<ThumbnailIdentifier, QRect> >& filePathAndRects);
120 void findGroup(
const QList<QPair<ThumbnailIdentifier, QRect> >& filePathsAndRects,
int size);
165 void setThumbnailSize(
int size,
bool forFace =
false);
172 static int maximumThumbnailSize();
173 static int maximumThumbnailPixmapSize(
bool withHighlighting);
184 void setPixmapRequested(
bool wantPixmap);
191 void setHighlightPixmap(
bool highlight);
197 int thumbnailToPixmapSize(
int size)
const;
198 static int thumbnailToPixmapSize(
bool withHighlight,
int size);
203 int pixmapToThumbnailSize(
int size)
const;
213 void setSendSurrogatePixmap(
bool send);
221 void storeDetailThumbnail(
const QString& filePath,
222 const QRect& detailRect,
224 bool isFace =
false);
225 int storedSize()
const;
234 static void deleteThumbnail(
const QString& filePath);
248 void thumbnailLoaded(
const LoadingDescription& loadingDescription,
const QImage& img)
override;
252 bool find(
const ThumbnailIdentifier& identifier,
int size, QPixmap* retPixmap,
bool emitSignal,
const QRect& detailRect);
254 bool checkSize(
int size);
265 void slotThumbnailsAvailable();
300 QObject*
const parent =
nullptr);
326 void setActive(
bool active);
Definition: dbengineparameters.h:49
Definition: loadingdescription.h:45
Definition: managedloadsavethread.h:39
Definition: thumbnailcreator.h:51
Definition: thumbnailinfo.h:40
Definition: thumbnailloadthread_p.h:149
Definition: thumbnailloadthread.h:283
Definition: thumbnailinfo.h:112
Definition: thumbnailloadthread_p.h:105
Definition: thumbnailloadthread.h:46
void thumbnailsAvailable()
NOTE: For internal use only.
void ThumbnailLoaded(const LoadingDescription &, const QImage &)
void signalThumbnailLoaded(const LoadingDescription &loadingDescription, const QPixmap &pix)
NOTE: See LoadSaveThread for a QImage-based thumbnailLoaded() signal.
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43