KFileMetaData
formatstrings.cpp
65 KFormat::Unit::Bit, threeSignificantDigits(value.toInt()), KFormat::UnitPrefix::AutoAdjust, KFormat::MetricBinaryDialect));
71 return form.formatValue(value.toInt(), KFormat::Unit::Hertz, threeSignificantDigits(value.toInt()), KFormat::UnitPrefix::AutoAdjust, KFormat::MetricBinaryDialect);
83 case 6: string = i18nc("Description of image orientation, counter clock-wise rotated", "90° rotated CCW "); break;
85 case 8: string = i18nc("Description of image orientation, counter clock-wise rotated", "270° rotated CCW"); break;
113 { 0x45, i18nc("Description of photo flash", "Yes, red-eye reduction, return light not detected") },
116 { 0x4d, i18nc("Description of photo flash", "Yes, compulsory, red-eye reduction, return light not detected") },
117 { 0x4f, i18nc("Description of photo flash", "Yes, compulsory, red-eye reduction, return light detected") },
121 { 0x5d, i18nc("Description of photo flash", "Yes, auto, red-eye reduction, return light not detected") },
122 { 0x5f, i18nc("Description of photo flash", "Yes, auto, red-eye reduction, return light detected") }
140 return form.formatValue(value.toDouble(), KFormat::Unit::Meter, 1, KFormat::UnitPrefix::AutoAdjust, KFormat::MetricBinaryDialect);
145 return i18nc("Focal length given in mm", "%1 mm", QLocale().toString(value.toDouble(), 'g', 3));
150 return i18nc("Symbol of frames per second, with space", "%1 fps", QLocale().toString(round(value.toDouble() * 100) / 100));
160 return i18nc("Time period given in seconds as rational number, denominator is given", "1/%1 s", roundedReciprocal);
163 return i18nc("Time period given in seconds", "%1 s", QLocale().toString(value.toDouble(), 'g', 3));
179 return i18nc("Exposure bias/compensation in exposure value (EV)", "%1 EV", locale.toString(val, 'g', 3));
193 "%1 %2/%3 EV", locale.toString(integral), locale.toString(abs(nominator)), locale.toString(denominator));
bool contains(const Key &key) const const
@ Bit
const T value(const Key &key, const T &defaultValue) const const
QString formatRelativeDateTime(const QDateTime &dateTime, QLocale::FormatType format) const
QString formatDuration(quint64 msecs, KFormat::DurationFormatOptions options=KFormat::DefaultDuration) const
MetricBinaryDialect
@ Hertz
double toDouble(bool *ok) const const
QString i18n(const char *text, const TYPE &arg...)
QVariant::Type type() const const
char * toString(const T &value)
@ AutoAdjust
QString toString(qlonglong i) const const
int toInt(bool *ok) const const
QDateTime fromString(const QString &string, Qt::DateFormat format)
LocaleWrapper locale()
QString formatValue(double value, const QString &unit, int precision, KFormat::UnitPrefix prefix, KFormat::BinaryUnitDialect dialect) const
QDateTime toDateTime() const const
LongFormat
bool isValid() const const
QString i18nc(const char *context, const char *text, const TYPE &arg...)
DateTime
@ Meter
ISODate
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 03:46:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 03:46:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.