digiKam
|
Public Types | |
enum | RotationBehaviorFlag { NoRotation = 0 , RotateByInternalFlag = 1 << 0 , RotateByMetadataFlag = 1 << 1 , RotateByLosslessRotation = 1 << 2 , RotateByLossyRotation = 1 << 3 , RotatingFlags = RotateByInternalFlag | RotateByMetadataFlag , RotatingPixels = RotateByLosslessRotation | RotateByLossyRotation } |
Public Member Functions | |
QStringList | defaultExifToolSearchPaths () const |
MetaEngineSettingsContainer () | |
void | readFromConfig (KConfigGroup &group) |
void | writeToConfig (KConfigGroup &group) const |
~MetaEngineSettingsContainer () | |
Public Attributes | |
bool | clearMetadataIfRescan |
bool | exifRotate |
bool | exifSetOrientation |
QString | exifToolPath |
MetaEngine::MetadataWritingMode | metadataWritingMode |
bool | rescanImageIfModified |
RotationBehaviorFlags | rotationBehavior |
bool | saveColorLabel |
bool | saveComments |
bool | saveDateTime |
bool | saveFaceTags |
bool | savePickLabel |
bool | savePosition |
bool | saveRating |
bool | saveTags |
bool | saveTemplate |
QStringList | sidecarExtensions |
bool | updateFileTimeStamp |
bool | useCompatibleFileName |
bool | useFastScan |
bool | useLazySync |
bool | useXMPSidecar4Reading |
bool | writeDngFiles |
bool | writeRawFiles |
The class MetaEngineSettingsContainer encapsulates all metadata related settings. NOTE: this allows supply changed arguments to MetadataHub without changing the global settings.
Describes the allowed and desired operation when rotating a picture. The modes are in escalating order and describe if an operation is allowed. What is actually done will be governed by what is possible: 1) RAW files cannot by rotated by content, setting the metadata may be problematic 2) Read-Only files cannot edited, neither content nor metadata 3) Writable files will have lossy compression 4) Only JPEG and PGF offer lossless rotation Using a contents-based rotation always implies resetting the flag.
Enumerator | |
---|---|
NoRotation | |
RotateByInternalFlag | |
RotateByMetadataFlag | |
RotateByLosslessRotation | |
RotateByLossyRotation | |
RotatingFlags | |
RotatingPixels |
|
explicit |
Digikam::MetaEngineSettingsContainer::~MetaEngineSettingsContainer | ( | ) |
QStringList Digikam::MetaEngineSettingsContainer::defaultExifToolSearchPaths | ( | ) | const |
References Digikam::macOSBundlePrefix().
Referenced by readFromConfig().
void Digikam::MetaEngineSettingsContainer::readFromConfig | ( | KConfigGroup & | group | ) |
References clearMetadataIfRescan, defaultExifToolSearchPaths(), exifRotate, exifSetOrientation, exifToolPath, metadataWritingMode, NoRotation, rescanImageIfModified, RotateByInternalFlag, RotateByLosslessRotation, RotateByLossyRotation, RotateByMetadataFlag, rotationBehavior, saveColorLabel, saveComments, saveDateTime, saveFaceTags, savePickLabel, savePosition, saveRating, saveTags, saveTemplate, sidecarExtensions, updateFileTimeStamp, useCompatibleFileName, useFastScan, useLazySync, useXMPSidecar4Reading, Digikam::MetaEngine::WRITE_TO_FILE_ONLY, writeDngFiles, and writeRawFiles.
void Digikam::MetaEngineSettingsContainer::writeToConfig | ( | KConfigGroup & | group | ) | const |
References clearMetadataIfRescan, exifRotate, exifSetOrientation, exifToolPath, metadataWritingMode, rescanImageIfModified, RotateByInternalFlag, RotateByLosslessRotation, RotateByLossyRotation, RotateByMetadataFlag, rotationBehavior, saveColorLabel, saveComments, saveDateTime, saveFaceTags, savePickLabel, savePosition, saveRating, saveTags, saveTemplate, sidecarExtensions, updateFileTimeStamp, useCompatibleFileName, useFastScan, useLazySync, useXMPSidecar4Reading, writeDngFiles, and writeRawFiles.
bool Digikam::MetaEngineSettingsContainer::clearMetadataIfRescan |
bool Digikam::MetaEngineSettingsContainer::exifRotate |
Referenced by ShowFoto::ShowfotoSetupMetadata::applySettings(), Digikam::QueuePool::applySettings(), Digikam::SetupMetadata::applySettings(), Digikam::EditorWindow::applyStandardSettings(), Digikam::PreviewLoadingTask::execute(), Digikam::FaceGroup::load(), Digikam::FocusPointGroup::load(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::exifSetOrientation |
QString Digikam::MetaEngineSettingsContainer::exifToolPath |
MetaEngine::MetadataWritingMode Digikam::MetaEngineSettingsContainer::metadataWritingMode |
bool Digikam::MetaEngineSettingsContainer::rescanImageIfModified |
RotationBehaviorFlags Digikam::MetaEngineSettingsContainer::rotationBehavior |
bool Digikam::MetaEngineSettingsContainer::saveColorLabel |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::saveComments |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), Digikam::MetadataHub::writeToBaloo(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::saveDateTime |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::saveFaceTags |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), Digikam::MetadataHub::writeTags(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::savePickLabel |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::savePosition |
bool Digikam::MetaEngineSettingsContainer::saveRating |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), Digikam::MetadataHub::writeToBaloo(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::saveTags |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::ItemGPS::saveChanges(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), Digikam::MetadataHub::writeTags(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::saveTemplate |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::MetadataPage::saveSettings(), Digikam::MetadataHub::willWriteMetadata(), Digikam::DisjointMetadata::willWriteMetadata(), Digikam::MetadataHub::write(), and writeToConfig().
QStringList Digikam::MetaEngineSettingsContainer::sidecarExtensions |
bool Digikam::MetaEngineSettingsContainer::updateFileTimeStamp |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::ItemScanner::loadFromDisk(), Digikam::DFileOperations::localFileRename(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::CollectionScanner::scanFileNormal(), Digikam::DMetadata::setSettings(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::useCompatibleFileName |
bool Digikam::MetaEngineSettingsContainer::useFastScan |
bool Digikam::MetaEngineSettingsContainer::useLazySync |
bool Digikam::MetaEngineSettingsContainer::useXMPSidecar4Reading |
Referenced by Digikam::SetupMetadata::applySettings(), Digikam::ItemScanner::loadFromDisk(), Digikam::operator<<(), readFromConfig(), Digikam::SetupMetadata::Private::readSettings(), Digikam::CollectionScanner::scanAlbum(), Digikam::CollectionScanner::scanFileNormal(), Digikam::DMetadata::setSettings(), and writeToConfig().
bool Digikam::MetaEngineSettingsContainer::writeDngFiles |
bool Digikam::MetaEngineSettingsContainer::writeRawFiles |