56 void showOrHideCachedProperties();
61 void setCurrentURL(
const QUrl& url = QUrl());
63 void setPhotoInfoDisable(
const bool b);
64 void setVideoInfoDisable(
const bool b);
66 void setFileName(
const QString& str);
67 void setFileFolder(
const QString& str);
68 void setFileModifiedDate(
const QString& str);
69 void setFileSize(
const QString& str);
70 void setFileOwner(
const QString& str);
71 void setFilePermissions(
const QString& str);
73 void setItemDimensions(
const QString& str);
74 void setImageRatio(
const QString& str);
75 void setImageMime(
const QString& str);
76 void setImageBitDepth(
const QString& str);
77 void setImageColorMode(
const QString& str);
78 void setHasSidecar(
const QString& str);
79 void setHasGPSInfo(
const QString& str);
80 void setVersionnedInfo(
const QString& str);
81 void setGroupedInfo(
const QString& str);
83 void setPhotoMake(
const QString& str);
84 void setPhotoModel(
const QString& str);
85 void setPhotoDateTime(
const QString& str);
86 void setPhotoLens(
const QString& str);
87 void setPhotoAperture(
const QString& str);
88 void setPhotoFocalLength(
const QString& str);
89 void setPhotoExposureTime(
const QString& str);
90 void setPhotoSensitivity(
const QString& str);
91 void setPhotoExposureMode(
const QString& str);
92 void setPhotoFlash(
const QString& str);
93 void setPhotoWhiteBalance(
const QString& str);
95 void setVideoAspectRatio(
const QString& str);
96 void setVideoAudioBitRate(
const QString& str);
97 void setVideoAudioChannelType(
const QString& str);
98 void setVideoAudioCodec(
const QString& str);
99 void setVideoDuration(
const QString& str);
100 void setVideoFrameRate(
const QString& str);
101 void setVideoVideoCodec(
const QString& str);
103 void setTitle(
const QString& str);
104 void setCaption(
const QString& str);
105 void setPickLabel(
int pickId);
106 void setColorLabel(
int colorId);
107 void setRating(
int rating);
108 void setTags(
const QStringList& tagPaths,
109 const QStringList& tagNames = QStringList(),
110 const QStringList& peopleTagPaths = QStringList(),
111 const QStringList& peopleTagNames = QStringList());
112 void setTemplate(
const Template& t);
126 static QStringList shortenedTagPaths(
const QStringList& tagPaths, QList<QVariant>* identifiers =
nullptr);
132 static void shortenedMakeInfo(QString& make);
133 static void shortenedModelInfo(QString& model);
138 static bool aspectRatioToString(
int width,
int height, QString& arString);
143 static QString permissionsString(
const QFileInfo& fi);
149 static QString humanReadableBytesCount(qint64 bytes,
bool si =
false);
153 static double doubleToHumanReadableFraction(
double val,
long* num,
long* den,
long maxden = 2);
160 Private*
const d =
nullptr;