24 #ifndef DIGIKAM_DIMG_PREVIEW_ITEM_H
25 #define DIGIKAM_DIMG_PREVIEW_ITEM_H
29 #include <QGraphicsItem>
41 class ICCSettingsContainer;
42 class LoadingDescription;
43 class PreviewSettings;
45 class DIGIKAM_EXPORT DImgPreviewItem :
public GraphicsDImgItem
64 void setDisplayingWidget(QWidget*
const widget);
68 void setPath(
const QString& path,
bool rePreview =
false);
71 bool isLoaded()
const;
74 void setPreloadPaths(
const QStringList& pathsToPreload);
76 QString userLoadingHint()
const override;
88 void slotFileChanged(
const QString& path);
96 class DImgPreviewItemPrivate;
101 explicit DImgPreviewItem(DImgPreviewItemPrivate& dd, QGraphicsItem*
const parent =
nullptr);
Definition: dimgitems_p.h:97
State
Definition: dimgpreviewitem.h:52
@ Loading
Definition: dimgpreviewitem.h:54
@ ImageLoaded
Definition: dimgpreviewitem.h:55
@ NoImage
Definition: dimgpreviewitem.h:53
void stateChanged(int state)
Definition: iccsettingscontainer.h:44
Definition: loadingdescription.h:45
Definition: previewsettings.h:35
Definition: datefolderview.cpp:43