![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
NOTE: This is because of the CollectionManager private slot. More...
Namespaces | |
namespace | Matrix |
If the picture is displayed according to the exif orientation tag, the user will request rotating operations relative to what he sees, and that is the picture rotated according to the EXIF tag. | |
Typedefs | |
typedef QHash< ActionJob *, int > | ActionJobCollection |
Define a QHash of job/priority to process by ActionThreadBase manager. | |
typedef QList< Album * > | AlbumList |
typedef QMap< int, QPixmap > | AlbumThumbnailMap |
typedef QList< BatchToolSet > | BatchSetList |
An indexed map of batch tools with settings. | |
typedef QMap< QString, QVariant > | BatchToolSettings |
A map of batch tool settings (setting key, setting value). | |
typedef QList< BatchTool * > | BatchToolsList |
A list of batch tool instances. | |
typedef QPair< CamItemInfo, QPixmap > | CachedItem |
typedef QList< CamItemInfo > | CamItemInfoList |
typedef QPair< QByteArray, CHUpdateItemMap > | CHUpdateItem |
typedef QMultiMap< QDateTime, CamItemInfo > | CHUpdateItemMap |
typedef QFlags< CropHandleFlag > | CropHandle |
typedef QPair< QDateTime, QDateTime > | DateRange |
Range of a contiguous dates selection <start date, end date>. | |
typedef QList< DateRange > | DateRangeList |
List of dates range selected. | |
typedef QMap< QString, QString > | DbKeyIdsMap |
typedef QMap< QString, DbKeysCollection * > | DbOptionKeysMap |
typedef QMap< QString, QVariant > | DImgLoaderPrms |
Map container of widget parameter name/value. | |
typedef bool(* | DItemsListIsLessThanHandler) (const QTreeWidgetItem *current, const QTreeWidgetItem &other) |
Type of static fonction used to customize sort items in list. | |
typedef enum Digikam::_DNNLoaderType | DNNLoaderType |
typedef enum Digikam::_DNNModelUsage | DNNModelUsage |
typedef QList< DNNModelUsage > | DNNModelUsageList |
typedef QList< DownloadSettings > | DownloadSettingsList |
typedef QList< DTrashItemInfo > | DTrashItemInfoList |
typedef FileReadWriteLockPriv | Entry |
typedef QMap< QString, QStringList > | FFMpegProperties |
typedef QList< Filter * > | FilterList |
typedef QFlags< GeoExtraAction > | GeoExtraActions |
typedef QFlags< GeoGroupStateEnum > | GeoGroupState |
typedef QFlags< GeoMouseMode > | GeoMouseModes |
typedef Graph< HistoryVertexProperties, HistoryEdgeProperties > | HistoryGraph |
typedef QMap< QString, ICCTagInfo > | ICCTagInfoMap |
typedef QMap< QPair< qlonglong, QString >, QList< int > > | IdAlbumMap |
typedef QSharedPointer< DImgFilterGenerator > | ImgFilterPtr |
typedef QPair< int, int > | IntPair |
typedef QList< IntPair > | IntPairList |
typedef ItemInfoList::iterator | ItemInfoListIterator |
typedef QExplicitlySharedDataPointer< ItemTagPairPriv > | ItemTagPairPrivSharedPointer |
typedef QList< MetadataInfo::Field > | MetadataFields |
typedef QHash< QString, QByteArray > | MyHash |
typedef QPair< QUrl, QString > | NewNameInfo |
typedef QList< NewNameInfo > | NewNamesList |
typedef QPair< QPointF, HudSide > | OptimalPosition |
typedef QPair< QString, QVariant > | PathValuePair |
typedef QList< int > | QIntList |
typedef QList< ItemInfoSet > | QueuePoolItemsList |
A list of all queued items from the pool. | |
typedef QList< Rule * > | RulesList |
typedef struct Digikam::TagData | TagData |
typedef QList< TagProperty >::const_iterator | TagPropertiesConstIterator |
typedef QExplicitlySharedDataPointer< TagProperties::TagPropertiesPriv > | TagPropertiesPrivSharedPointer |
typedef QPair< TagPropertiesConstIterator, TagPropertiesConstIterator > | TagPropertiesRange |
typedef QList< Token * > | TokenList |
typedef QPair< int, int > | YearMonth |
Enumerations | |
enum | { TaggingActionRole = Qt::UserRole + 1 , CompletionRole = Qt::UserRole + 2 } |
enum | _DNNLoaderType { DNNLoaderNet , DNNLoaderConfig , DNNLoaderYuNet , DNNLoaderSFace } |
enum | _DNNModelUsage { DNNUsageFaceDetection , DNNUsageFaceRecognition , DNNUsageRedeyeDetection , DNNUsageObjectDetection , DNNUsageAesthetics } |
enum | ChannelType { LuminosityChannel = 0 , RedChannel , GreenChannel , BlueChannel , AlphaChannel , ColorChannels } |
enum | ClickDragState { HoverState , PressedState , PressDragState , ClickedMoveState } |
enum | ColorLabel { NoColorLabel = 0 , RedLabel , OrangeLabel , YellowLabel , GreenLabel , BlueLabel , MagentaLabel , GrayLabel , BlackLabel , WhiteLabel , FirstColorLabel = NoColorLabel , LastColorLabel = WhiteLabel , NumberOfColorLabels = LastColorLabel + 1 } |
enum | CropHandleFlag { CH_None , CH_Top = 1 , CH_Left = 2 , CH_Right = 4 , CH_Bottom = 8 , CH_TopLeft = CH_Top | CH_Left , CH_BottomLeft = CH_Bottom | CH_Left , CH_TopRight = CH_Top | CH_Right , CH_BottomRight = CH_Bottom | CH_Right , CH_Content = 16 } |
enum | DColorChooserMode { ChooserClassic = 0x0000 , ChooserHue = 0x0001 , ChooserSaturation = 0x0002 , ChooserValue = 0x0003 , ChooserRed = 0x0004 , ChooserGreen = 0x0005 , ChooserBlue = 0x0006 } |
enum | DetectorNNModel { DNNDetectorSSD = 0 , DNNDetectorYOLOv3 , DNNDetectorYuNet } |
enum | DropAction { NoAction , CopyAction , MoveAction , GroupAction , SortAction , GroupAndMoveAction , AssignTagAction } |
enum | FilterType { TEXT = 0 , MIME , GEOLOCATION , TAGS , LABELS } |
enum | FullScreenOptions { FS_TOOLBARS = 0x00000001 , FS_THUMBBAR = 0x00000002 , FS_SIDEBARS = 0x00000004 , FS_STATUSBAR = 0x00000008 , FS_NONE = 0x00000010 , FS_ALBUMGUI = FS_TOOLBARS | FS_THUMBBAR | FS_SIDEBARS | FS_STATUSBAR , FS_EDITOR = FS_TOOLBARS | FS_THUMBBAR | FS_SIDEBARS | FS_STATUSBAR , FS_LIGHTTABLE = FS_TOOLBARS | FS_SIDEBARS | FS_STATUSBAR , FS_IMPORTUI = FS_TOOLBARS | FS_THUMBBAR | FS_SIDEBARS | FS_STATUSBAR } |
Optional parts which can be hidden or not from managed window configuration panel. More... | |
enum class | FuzzyAlgorithm { Unknown = 0 , Haar = 1 , TfIdf = 2 } |
enum | GeoExtraAction { ExtraActionSticky = 1 , ExtraLoadTracks = 2 } |
enum | GeoGroupStateEnum { SelectedMask = 0x03 << 0 , SelectedNone = 0x00 << 0 , SelectedSome = 0x03 << 0 , SelectedAll = 0x02 << 0 , FilteredPositiveMask = 0x03 << 2 , FilteredPositiveNone = 0x00 << 2 , FilteredPositiveSome = 0x03 << 2 , FilteredPositiveAll = 0x02 << 2 , RegionSelectedMask = 0x03 << 4 , RegionSelectedNone = 0x00 << 4 , RegionSelectedSome = 0x03 << 4 , RegionSelectedAll = 0x02 << 4 } |
Representation of possible tile or cluster states. More... | |
enum | GeoMouseMode { MouseModePan = 1 , MouseModeRegionSelection = 2 , MouseModeRegionSelectionFromIcon = 4 , MouseModeFilter = 8 , MouseModeSelectThumbnail = 16 , MouseModeZoomIntoGroup = 32 , MouseModeLast = 32 } |
enum | HistogramBoxType { RGB = 0 , RGBA , LRGB , LRGBA , LRGBC , LRGBAC } |
enum | HistogramRenderingType { FullImageHistogram = 0 , ImageSelectionHistogram } |
enum | HistogramScale { LinScaleHistogram = 0 , LogScaleHistogram } |
enum | HudSide { HS_None = 0 , HS_Top = 1 , HS_Bottom = 2 , HS_Inside = 4 , HS_TopInside = HS_Top | HS_Inside , HS_BottomInside = HS_Bottom | HS_Inside } |
enum | ImportRotateOverlayDirection { ImportRotateOverlayLeft , ImportRotateOverlayRight } |
enum | ItemRotateOverlayDirection { ItemRotateOverlayLeft , ItemRotateOverlayRight } |
enum | MapLayout { MapLayoutOne = 0 , MapLayoutHorizontal = 1 , MapLayoutVertical = 2 } |
enum | MatColorOrder { MCO_BGR , MCO_RGB , MCO_BGRA = MCO_BGR , MCO_RGBA = MCO_RGB , MCO_ARGB , MCO_INVALID } |
enum | MeaningOfDirection { ParentToChild , ChildToParent } |
Each edge is directed: "vertex1 -> vertex2". More... | |
enum | OperationType { MetadataOps = 0 , ImportExportOps , BQMOps , LightTableOps , SlideshowOps , RenameOps , ToolsOps , UnspecifiedOps } |
Types of operations for ApplicationSettings. More... | |
enum | PickLabel { NoPickLabel = 0 , RejectedLabel , PendingLabel , AcceptedLabel , FirstPickLabel = NoPickLabel , LastPickLabel = AcceptedLabel , NumberOfPickLabels = LastPickLabel + 1 } |
enum | PreprocessorSelection { OPENFACE = 0 } |
enum | StdActionType { StdCopyAction = 0 , StdPasteAction , StdCutAction , StdQuitAction , StdCloseAction , StdZoomInAction , StdZoomOutAction , StdOpenAction , StdSaveAction , StdSaveAsAction , StdRevertAction , StdBackAction , StdForwardAction } |
enum | TrackColumns { ColumnVisible = 0 , ColumnNPoints = 1 , ColumnFilename = 2 , ColumnCount = 3 } |
enum | Type { TypeChild = 1 , TypeSpacer = 2 , TypeNewChild = 4 } |
enum class | YoloVersions { YOLOV5NANO = 0 , YOLOV5XLARGE , RESNET50 } |
Functions | |
static QAction * | addCancelAction (QMenu *const menu) |
static QAction * | addGroupAction (QMenu *const menu) |
static QAction * | addGroupAndMoveAction (QMenu *const menu) |
const QString | additionalInformation () |
static QAction * | addSortAction (QMenu *const menu) |
static QString | adjustedActionText (const QAction *const action) |
DIGIKAM_EXPORT QProcessEnvironment | adjustedEnvironmentForAppImage () |
If digiKam run into AppImage, return a cleaned environment for QProcess to execute a program outside the bundle without broken run-time dependencies. | |
static bool | approximates (const QSizeF &s1, const QSizeF &s2) |
QDateTime | asDateTimeLocal (const QDateTime &dt) |
This method returns QDateTime with Local timespec. | |
QDateTime | asDateTimeUTC (const QDateTime &dt) |
This method returns QDateTime with UTC timespec. | |
static const QPointF | boundMargin (selMargin, selMargin) |
bool | checkSidecarSettings () |
void | checkTree (TreeBranch *const checkBranch, int level) |
static int | clamp (int from, int maxVal) |
static QStringList | cleanUserFilterString (const QString &filterString) |
QStringList | cleanUserFilterString (QString filterString, const bool caseSensitive, const bool useSemicolon) |
static QPointF | closestPointOfRect (const QPointF &p, const QRectF &r) |
static QString | colorToString (const QColor &c) |
template<class ContainerA , class ContainerB > | |
bool | containsAnyOf (const ContainerA &listA, const ContainerB &listB) |
template<class ContainerA , typename Value , class ContainerB > | |
bool | containsNoneOfExcept (const ContainerA &list, const ContainerB &noneOfList, const Value &exception) |
void | coordinatesToClipboard (const GeoCoordinates &coordinates, const QUrl &url, const QString &title) |
static DropAction | copyOrMove (const QDropEvent *const e, QWidget *const view, bool allowMove=true, bool askForGrouping=false) |
static QColor | darkShade (QColor c) |
QShortcut * | defineShortcut (QWidget *const w, const QKeySequence &key, const QObject *receiver, const char *slot) |
Convenience method for creating keyboard shortcuts. | |
static const quint8 * | determineFilmStrip (quint32 videoWidth, quint32 &videoStripWidth, quint32 &videoStripHeight) |
const QDateTime | digiKamBuildDate () |
int | digiKamMakeIntegerVersion (int major, int minor, int patch) |
const QString | digiKamVersion () |
void | DNotificationWrapper (const QString &eventId, const QString &message, QWidget *const parent, const QString &windowTitle, const QPixmap &pixmap=QPixmap()) |
Show a notification using KNotify, or KPassivePopup if KNotify is unavailable. | |
static QString | fastNumberToString (int id) |
static QString | fastNumberToString (int id) |
static QString | fastNumberToString (qlonglong id) |
NOTE: Feel free to optimize. | |
template<typename T > | |
PointTransformAffine | findAffineTransform (const std::vector< std::vector< T > > &fromPoints, const std::vector< std::vector< T > > &toPoints) |
PointTransformAffine | findSimilarityTransform (const std::vector< std::vector< float > > &fromPoints, const std::vector< std::vector< float > > &toPoints) |
static QString | formatFontSize (qreal size) |
static void | formatProfiles (const QList< IccProfile > &givenProfiles, QList< IccProfile > *const returnedProfiles, QStringList *const userText) |
NOTE: if needed outside this class, make it a public static method in a namespace. | |
void | GeoIface_assert (const char *const condition, const char *const filename, const int lineNumber) |
GeoCoordinates::PairList | GeoIfaceHelperNormalizeBounds (const GeoCoordinates::Pair &boundsPair) |
Split bounds crossing the dateline into parts which do not cross the dateline. | |
bool | GeoIfaceHelperParseBoundsString (const QString &boundsString, QPair< GeoCoordinates, GeoCoordinates > *const boundsCoordinates) |
Parses a '((lat1, lon1), (lat2, lon2))' bounds string as returned by the JavaScript parts. | |
bool | GeoIfaceHelperParseLatLonString (const QString &latLonString, GeoCoordinates *const coordinates) |
Parse a 'lat,lon' string a returned by the JavaScript parts. | |
bool | GeoIfaceHelperParseXYStringToPoint (const QString &xyString, QPoint *const point) |
Parse a '(X.xxx,Y.yyy)' string as returned by the JavaScript parts. | |
qreal | getComponentValue (const QColor &color, DColorChooserMode chooserMode) |
static QString | getDateFormatLinkText () |
std::vector< cv::Rect > | getEyes (const FullObjectDetection &shape) |
static int | getOffset (int Width, int X, int Y, int bytesDepth) |
QString | getUserAgentName () |
int | getWarningLevelFromGPSDataContainer (const GPSDataContainer &data) |
static int64_t | heifQIODeviceMetaGetPosition (void *userdata) |
static int | heifQIODeviceMetaRead (void *data, size_t size, void *userdata) |
static int | heifQIODeviceMetaSeek (int64_t position, void *userdata) |
static heif_reader_grow_status | heifQIODeviceMetaWait (int64_t target_size, void *userdata) |
bool | iccProfileLessThan (IccProfile a, IccProfile b) |
cv::Mat | image2Mat (const QImage &img, int requiredMatType, MatColorOrder requriedOrder) |
Convert QImage to cv::Mat. | |
cv::Mat | image2Mat_shared (const QImage &img, MatColorOrder *const order) |
Convert QImage to cv::Mat without data copy. | |
NoiseDetector::Mat3D | initFiltersHaar () |
DIGIKAM_EXPORT void | installQtTranslationFiles (QApplication &app) |
For bundles only, main function to manage all Qt translation files at run-time in application instance. | |
static int | interp (const quint16 *src, int p, const int *off, float dr, float dg, float db) |
TODO: using liblcms would be fancier... Tetrahedral interpolation, taken from AOSP Gallery2 app. | |
static int | intMult16 (uint a, uint b) |
static int | intMult8 (uint a, uint b) |
This method is based on the Simulate Texture Film tutorial from GimpGuru.org web site available at this url : www.gimpguru.org/Tutorials/SimulatedTexture/. | |
PointTransformAffine | inv (const PointTransformAffine &trans) |
static bool | is7BitAscii (const QString &s) |
bool | isCursorClicked (const QPoint &pos, double cursorPos, int width, int height, int gradientWidth) |
bool | isReadableImageFile (const QString &filePath) |
Return true if filePath is an image readable by application for thumbnail, preview, or edit. | |
DIGIKAM_EXPORT bool | isRunningInAppImageBundle () |
Return true if application run in AppImage bundle. | |
bool | isRunningOnMacOS () |
DIGIKAM_EXPORT bool | isRunningOnNativeKDE () |
Return true if application run on native KDE desktop. | |
template<typename T > | |
static void | ItemFilterFx (const quint16 *lutrgb, int lutTableSize, T *rgb, uint start, uint end, int maxVal, int intensity) |
static QStringList | joinMainAndUserFilterString (const QChar &sep, const QString &filter, const QString &userFilter) |
helper method | |
int | layoutMargin () |
Default margin to use in layout. | |
int | layoutSpacing () |
Default spacing to use in layout. | |
template<class T > | |
T | length_squared (const std::vector< T > &diff) |
bool | lessThanByTitle (const Album *first, const Album *second) |
for qSort | |
static bool | lessThanForAlbumShortInfo (const AlbumShortInfo &first, const AlbumShortInfo &second) |
static bool | lessThanForTagProperty (const TagProperty &first, const TagProperty &second) |
static bool | lessThanForTagShortInfo (const TagShortInfo &first, const TagShortInfo &second) |
static bool | lessThanLimitedPrecision (double a, double b) |
static int | Lim_Max (int Now, int Up, int Max) |
DIGIKAM_EXPORT void | loadEcmQtTranslationFiles (QApplication &app) |
For bundles only, load ECM Qt translation files at run-time in application instance. | |
DIGIKAM_EXPORT void | loadStdQtTranslationFiles (QApplication &app) |
For bundles only, load standard Qt translation files at run-time in application instance. | |
static bool | localeLessThan (const QString &a, const QString &b) |
DIGIKAM_EXPORT QString | macOSBundlePrefix () |
Prefix of macOS Bundle to access to internal Unix hierarchy. | |
QStringList | makeTagString (const RGInfo &info, const QString &inputFormat, const QString &backendName) |
QImage | mat2Image (const cv::Mat &mat, MatColorOrder order, QImage::Format formatHint) |
Convert cv::Mat to QImage. | |
QImage | mat2Image_shared (const cv::Mat &mat, QImage::Format formatHint) |
Convert cv::Mat to QImage without data copy. | |
static QList< qlonglong > | mergedIdLists (const HistoryImageId &referenceId, const QList< qlonglong > &uuidList, const QList< qlonglong > &candidates) |
static const QString | mimeTypeCutSelection (QLatin1String("application/x-kde-cutselection")) |
static int | minimumListHeight (const QListWidget *list, int numVisibleEntry) |
static int | minimumListWidth (const QListWidget *list) |
static bool | naturalLessThan (const PathValuePair &a, const PathValuePair &b) |
static bool | newestInfoFirst (const ItemInfo &a, const ItemInfo &b) |
static int | normalizeAndClamp (int norm, int sum, int max) |
static bool | oldestInfoFirst (const ItemInfo &a, const ItemInfo &b) |
void | openOnlineDocumentation (const QString §ion=QString(), const QString &chapter=QString(), const QString &reference=QString()) |
Open online handbook at the section/chapter/reference page. | |
FocusPoint::TypePoint | operator& (FocusPoint::TypePoint type1, FocusPoint::TypePoint type2) |
FocusPoint::TypePoint & | operator&= (FocusPoint::TypePoint &type1, FocusPoint::TypePoint type2) |
PointTransformAffine | operator* (const PointTransformAffine &lhs, const PointTransformAffine &rhs) |
template<class T > | |
std::vector< std::vector< T > > | operator* (const std::vector< std::vector< T > > &v1, const std::vector< std::vector< T > > &v2) |
template<class T > | |
std::vector< T > | operator* (const std::vector< std::vector< T > > &v1, const std::vector< T > &v2) |
template<class T > | |
std::vector< std::vector< T > > | operator* (const std::vector< T > &v1, const std::vector< T > &v2) |
template<class T > | |
std::vector< T > | operator* (const std::vector< T > &v1, float d) |
template<class T > | |
std::vector< std::vector< T > > | operator+ (const std::vector< std::vector< T > > &v1, const std::vector< std::vector< T > > &v2) |
template<class T > | |
std::vector< std::vector< T > > | operator+ (const std::vector< std::vector< T > > &v1, float d) |
template<class T > | |
std::vector< T > | operator+ (const std::vector< T > &v1, const std::vector< T > &v2) |
template<class T > | |
std::vector< T > | operator- (const std::vector< T > &v1) |
template<class T > | |
std::vector< T > | operator- (const std::vector< T > &v1, const std::vector< T > &v2) |
template<class T > | |
std::vector< std::vector< T > > | operator/ (const std::vector< std::vector< T > > &v1, int divisor) |
template<class T > | |
std::vector< T > | operator/ (const std::vector< T > &v1, int divisor) |
bool | operator< (const ThumbnailIdentifier &a, const ThumbnailIdentifier &b) |
QDataStream & | operator<< (QDataStream &ds, const CamItemInfo &info) |
QDataStream & | operator<< (QDataStream &ds, const PhotoInfoContainer &info) |
QDataStream & | operator<< (QDataStream &ds, const VideoInfoContainer &info) |
QDebug | operator<< (QDebug dbg, const BatchToolSet &s) |
qDebug() stream operator. Writes property t to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const CamItemInfo &info) |
qDebug() stream operator. Writes property info to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const CaptionValues &val) |
qDebug() stream operator. Writes values val to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const DbEngineParameters &p) |
QDebug | operator<< (QDebug dbg, const DMetadataSettingsContainer &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const DRawDecoderSettings &s) |
qDebug() stream operator. Writes settings s to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const DRawInfo &c) |
qDebug() stream operator. Writes container c to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const DTrashItemInfo &info) |
qDebug() stream operator. Writes property info to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const FaceTagsIface &f) |
QDebug | operator<< (QDebug dbg, const FocusPoint &fp) |
qDebug() stream operator. Writes FocusPoint to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const GeolocationSettingsContainer &inf) |
qCDebug(DIGIKAM_GEOENGINE_LOG) << QString::fromUtf8() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const HistoryImageId &id) |
QDebug | operator<< (QDebug dbg, const HistoryVertexProperties &props) |
QDebug | operator<< (QDebug dbg, const ImageQualityContainer &s) |
qDebug() stream operator. Writes property s to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const IptcCoreContactInfo &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const IptcCoreLocationInfo &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const ItemHistoryGraph &g) |
QDebug | operator<< (QDebug dbg, const LocalizeContainer &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const MaintenanceSettings &s) |
qCDebug(DIGIKAM_GENERAL_LOG) stream operator. | |
QDebug | operator<< (QDebug dbg, const MetaEngineSettingsContainer &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const NamespaceEntry &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const NRContainer &inf) |
qDebug() stream operator. Writes property inf to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const PhotoInfoContainer &t) |
qDebug() stream operator. Writes property t to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const TagRegion &r) |
QDebug | operator<< (QDebug dbg, const Template &t) |
qDebug() stream operator. Writes Template to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug dbg, const VideoInfoContainer &t) |
qDebug() stream operator. Writes property t to the debug output in a nicely formatted way. | |
QDebug | operator<< (QDebug stream, const ItemInfo &info) |
qDebug() stream operator. Writes property info to the debug output in a nicely formatted way. | |
static bool | operator== (const DImageHistory::Entry &e1, const DImageHistory::Entry &e2) |
bool | operator== (const SearchTextSettings &a, const SearchTextSettings &b) |
QDataStream & | operator>> (QDataStream &ds, CamItemInfo &info) |
QDataStream & | operator>> (QDataStream &ds, PhotoInfoContainer &info) |
QDataStream & | operator>> (QDataStream &ds, VideoInfoContainer &info) |
FocusPoint::TypePoint | operator| (FocusPoint::TypePoint type1, FocusPoint::TypePoint type2) |
Boolean Operators over TypePoint type. | |
FocusPoint::TypePoint & | operator|= (FocusPoint::TypePoint &type1, FocusPoint::TypePoint type2) |
static QString | profileUserString (const IccProfile &p) |
NOTE: if needed outside this class, make it a public static method in a namespace. | |
Q_GLOBAL_STATIC_WITH_ARGS (DbEngineConfigSettingsLoader, dbcoreloader,(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QLatin1String("digikam/database/dbconfig.xml")), dbcoreconfig_xml_version)) DbEngineConfigSettings DbEngineConfig | |
size_t | qHash (const CollectionLocation &loc) |
QT_HASH_TYPE | qHash (const Digikam::AlbumCopyMoveHint &hint) |
size_t | qHash (const ItemInfo &info) |
int | QPointSquareDistance (const QPoint &a, const QPoint &b) |
Helper function, returns the square of the distance between two points. | |
template<typename T , class Container > | |
void | removeAnyInInterval (Container &list, const T &begin, const T &end) |
static int | renderingIntentToLcmsIntent (IccTransform::RenderingIntent intent) |
LqrRetVal | s_carverProgressEnd (const gchar *end_message) |
LqrRetVal | s_carverProgressInit (const gchar *init_message) |
LqrRetVal | s_carverProgressUpdate (gdouble percentage) |
bool | s_checkSolidCamera (const Solid::Device &cameraDevice) |
static const QString | s_configUseLargeThumbsEntry (QLatin1String("Use Large Thumbs")) |
bool | s_dmcompare (const NamespaceEntry &e1, const NamespaceEntry &e2) |
static DropAction | s_groupAction (const QDropEvent *const, QWidget *const view) |
bool | s_inlineTranslateString (const QString &text, const QString &trCode, QString &tr, QString &error) |
Helpher re-entrant static method to translate a string with online translator. | |
bool | s_isHeifSuccess (const struct heif_error *const error) |
QStringList | s_keywordsSeparation (const QString &data) |
QString | s_labelForSolidCamera (const Solid::Device &cameraDevice) |
QString | s_rawFileExtensions () |
QMap< QString, QString > | s_rawFileExtensionsdWithDesc () |
int | s_rawFileExtensionsVersion () |
void | s_readHEICMetadata (struct heif_context *const heif_context, heif_item_id image_id, QByteArray &exif, QByteArray &iptc, QByteArray &xmp) |
qint64 | s_secondsSinceJanuary1904 (const QDateTime &dt) |
QString | s_setXmpTagStringFromEntry (const DMetadata *const meta, const QStringList &lst, const DMetadata::MetaDataMap &map, const QStringList &xmpTags=QStringList()) |
Search first occurrence of string in 'map' with keys given by 'lst'. | |
static QVariant | safeToVariant (const QString &s) |
void | setComponentValue (QColor &color, DColorChooserMode chooserMode, qreal value) |
bool | setExifXmpTagDataVariant (DMetadata *const meta, const char *const exifTagName, const char *const xmpTagName, const QVariant &value) |
DIGIKAM_EXPORT void | setMacOSEnvironment () |
For MacOS bundles only, set necessary MacOS environment variables. | |
void | setOpenCLEnvironment (bool b) |
For OpenCV framework, set necessary environment variables to use OpenCL features. | |
DIGIKAM_EXPORT void | setWindowsEnvironment (QApplication &app) |
For Windows only, set necessary Windows environment variables. | |
void | showDigikamComponentsInfo () |
void | showDigikamDatabaseStat () |
void | showRawCameraList () |
Show a dialog with all RAW camera supported by digiKam, through libraw. | |
QDateTime | startOfDay (const QDate &date) |
This method returns QDateTime from with date set to parameter date and time set to start of the day. | |
static QColor | stringToColor (const QString &s) |
QStringList | supportedImageMimeTypes (QIODevice::OpenModeFlag mode, QString &allTypes) |
Return list of supported image formats by Qt for reading or writing operations if suitable container used by QFileDialog. | |
static DropAction | tagAction (const QDropEvent *const, QWidget *const view, bool askForGrouping) |
static LqrEnergyFuncBuiltinType | toLqrEnergy (ContentAwareContainer::EnergyFunction func) |
static LqrResizeOrder | toLqrOrder (Qt::Orientation direction) |
QString | toolButtonStyleSheet () |
Style sheet for transparent QToolButtons over image and video preview. | |
static QString | toString (const HistoryVertexProperties &props) |
bool | TrackCorrelationLessThan (const TrackCorrelator::Correlation &a, const TrackCorrelator::Correlation &b) |
DIGIKAM_EXPORT void | unloadQtTranslationFiles (QApplication &app) |
For bundles only, unload all Qt translation files at run-time in application instance. | |
static bool | uuidDoesNotDiffer (const HistoryImageId &referenceId, qlonglong id) |
Variables | |
auto | accessCol |
auto | accessRow |
static const int | AUTOEXPANDDELAY = 800 |
Delay in milliseconds to automatically expands album tree-view with D&D See bug #286263 for details. | |
ImageCurves::CRMatrix | CR_basis |
static const int | DEFAULT_POPUP_TIME = 6 * 1000 |
static const int | DEFAULT_POPUP_TYPE = DNotificationPopup::Boxed |
const int | DNN_MODEL_THRESHOLD_NOT_SET = 1000 |
static const char * | ExifHumanList [] |
static float | FACE_TEMPLATE [3][2] |
Template for face landmark to perform alignment with open face This variable must be declared as static so that it is allocated as long as digiKam is still running. | |
const std::map< FaceScanSettings::FaceDetectionSize, int > | faceenum2size |
const int | GeoIfaceMinMarkerGroupingRadius = 1 |
const int | GeoIfaceMinThumbnailGroupingRadius = 15 |
const int | GeoIfaceMinThumbnailSize = GeoIfaceMinThumbnailGroupingRadius * 2 |
static const char * | IptcHumanList [] |
static const char * | MakerNoteHumanList [] |
const int | MAX_MATRIX_SIZE = 25 |
static const int | MAX_SEGMENT_16BIT = NUM_SEGMENTS_16BIT - 1 |
static const int | MAX_SEGMENT_8BIT = NUM_SEGMENTS_8BIT - 1 |
static const struct Digikam::NameSpaceDefinition | namespaceTitleDefinitions [] |
static const int | NoRating = -1 |
static const int | NUM_SEGMENTS_16BIT = 65536 |
Segments for histograms and curves. | |
static const int | NUM_SEGMENTS_8BIT = 256 |
static const Qt::WindowFlags | POPUP_FLAGS = Qt::Tool | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint |
static const int | RatingMax = 5 |
static const int | RatingMin = 0 |
Field value limits for all digiKam-specific fields (not EXIF/IPTC fields) | |
const float | RATIO_POINT_IMAGE = 1 / 120 |
const int | RoleGPSItemInfo = Qt::UserRole + 1 |
bool | s_hResize = false |
static bool | s_imageSmoothScale = true |
ContentAwareFilter * | s_resiser = nullptr |
bool | s_stage = false |
Resizement is decomposed in 2 stages: horizontal and vertical. | |
static bool | s_useLargeThumbs = false |
bool | s_wResize = false |
static const qreal | selMargin = 8.0 |
const int | SIZE_FILTER = 4 |
static const quint32 | SMALLEST_FILM_STRIP_WIDTH = 4 |
static const double | spectral_chromaticity [81][3] |
The following table gives the CIE color matching functions ![]() ![]() ![]() ![]() | |
static const quint8 | videoStrip16 [16 *16 *3] |
static const quint8 | videoStrip32 [32 *32 *3] |
static const quint8 | videoStrip4 [4 *4 *3] |
static const quint8 | videoStrip64 [64 *64 *3] |
static const quint8 | videoStrip8 [8 *8 *3] |
static const char * | XmpHumanList [] |
NOTE: Good explanations about GPS (in French) can be found at this url : www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=16593.
References about DNG: DNG SDK tutorial: www.adobeforums.com/webx/.3bc2944e www.adobeforums.com/webx/.3c054bde DNG review: www.barrypearson.co.uk/articles/dng/index.htm DNG intro: www.adobe.com/digitalimag/pdfs/dng_primer.pdf www.adobe.com/products/dng/pdfs/DNG_primer_manufacturers.pdf DNG Specification: wwwimages.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_spec_1.5.0.0.pdf TIFF/EP Spec.: www.map.tu.chiba-u.ac.jp/IEC/100/TA2/recdoc/N4378.pdf DNG SDK reference: www.thomasdideriksen.dk/misc/File%20Formats/dng_sdk_refman.pdf DNG SDK tarball: helpx.adobe.com/photoshop/digital-negative.html::dng_sdk_download DNG users forum: www.adobeforums.com/webx/.3bb5f0ec.
Applications using DNG SDK: DNG4PS2: dng4ps2.chat.ru/index_en.html CORNERFIX: sourceforge.net/projects/cornerfix ADOBE DNG CONVERTER: helpx.adobe.com/photoshop/using/adobe-dng-converter.html DNGCONVERT: github.com/jmue/dngconvert MOVIE2DNG: elphel.svn.sourceforge.net/svnroot/elphel/tools/Movie2DNG RAW2DNG : github.com/Fimagena/raw2dng
typedef QHash<ActionJob*, int> Digikam::ActionJobCollection |
Priority value can be used to control the run queue's order of execution. Zero priority want mean to process job with higher priority.
typedef bool(* Digikam::DItemsListIsLessThanHandler) (const QTreeWidgetItem *current, const QTreeWidgetItem &other) |
Sort items call this method in DItemsListViewItem::operator<. To setup this method, uses DItemList::setIsLessThanHandler().
Enumerator | |
---|---|
DNNDetectorSSD | SSD MobileNet neural network inference [https://github.com/arunponnusamy/cvlib]. |
DNNDetectorYOLOv3 | YOLO neural network inference [https://github.com/sthanhng/yoloface]. |
DNNDetectorYuNet | YuNet neural network inference [https://github.com/opencv/opencv_zoo/tree/main]. |
Enumerator | |
---|---|
FS_TOOLBARS | Manage Tools bar in full-screen mode. |
FS_THUMBBAR | Manage Thumb bar in full-screen mode. |
FS_SIDEBARS | Manage Side bars in full-screen mode. |
FS_STATUSBAR | Manage Status bar in full-screen mode. |
FS_NONE | No full-screen options. |
FS_ALBUMGUI | Album GUI Config. |
FS_EDITOR | Image Editor Config. |
FS_LIGHTTABLE | Light Table Config. |
FS_IMPORTUI | Import UI Config. |
The idea is that a group consists of more than one object. Thus the resulting state is that either none of the objects, some or all of them have a certain state. The constants for each state are set up such that they can be logically or'ed: If a group has the state ___All, and another the state ___Some, the bit representing ___Some is always propagated along. You only have to make sure that once you reach an object with ___None, and the computed state is ___All, to set the ___Some bit.
Selected___: An object is selected. FilteredPositive___: An object was highlighted by a filter. This usually means that not-positively-filtered objects should be hidden. RegionSelected___: An object is inside a region of interest on the map.
enum Digikam::HudSide |
|
strong |
QProcessEnvironment Digikam::adjustedEnvironmentForAppImage | ( | ) |
Use case : system based Hugin CLI tools called by Panorama wizard. If digiKam do not run as AppImage bundle, this method return a QProcessEnvironment instance based on system environment.
void DIGIKAM_EXPORT Digikam::coordinatesToClipboard | ( | const GeoCoordinates & | coordinates, |
const QUrl & | url, | ||
const QString & | title | ||
) |
NOTE: importing this representation into Marble does not show anything, but Merkaartor shows the point
importing this data into Marble and Merkaartor works
void DIGIKAM_EXPORT Digikam::DNotificationWrapper | ( | const QString & | eventId, |
const QString & | message, | ||
QWidget *const | parent, | ||
const QString & | windowTitle, | ||
const QPixmap & | pixmap = QPixmap() |
||
) |
eventId | Event id for this notification, KNotification::Notification is used if this is empty. Events have to be configured in digikam.notifyrc |
message | Message to display |
parent | Widget which owns the notification |
windowTitle | Title of the notification window (only used for KPassivePopup) |
pixmap | Pixmap to show in the notification, in addition to the digikam logo. |
|
inlinestatic |
QString::number is 3x slower.
DIGIKAM_EXPORT bool Digikam::GeoIfaceHelperParseLatLonString | ( | const QString & | latLonString, |
GeoCoordinates *const | coordinates | ||
) |
helper functions
cv::Mat Digikam::image2Mat | ( | const QImage & | img, |
int | requiredMatType = CV_8UC(0) , |
||
MatColorOrder | requiredOrder = MCO_BGR |
||
) |
Convert QImage to/from cv::Mat.
cv::Mat Digikam::image2Mat_shared | ( | const QImage & | img, |
MatColorOrder *const | order = nullptr |
||
) |
Convert QImage to/from cv::Mat without data copy.
DIGIKAM_EXPORT void Digikam::openOnlineDocumentation | ( | const QString & | section = QString() , |
const QString & | chapter = QString() , |
||
const QString & | reference = QString() |
||
) |
if section and chapter and reference are empty, fromt page is open. (https://en.wikipedia.org/wiki/Matrix_(protocol)#Bridges) if only chapter and reference are empty, section page is open. (as: https://docs.digikam.org/en/main_window.html) if only reference is empty, chapter from section page is open. (as: https://docs.digikam.org/en/main_window/people_view.html) else reference at chapter from section page is open. (as: https://docs.digikam.org/en/main_window/people_view.html#face-recognition)
QDebug Digikam::operator<< | ( | QDebug | dbg, |
const MaintenanceSettings & | s | ||
) |
qDebug() stream operator. Writes property s to the debug output in a nicely formatted way.
Writes property s to the debug output in a nicely formatted way.
DIGIKAM_EXPORT int Digikam::QPointSquareDistance | ( | const QPoint & | a, |
const QPoint & | b | ||
) |
a | Point a |
b | Point b |
bool DIGIKAM_EXPORT Digikam::s_inlineTranslateString | ( | const QString & | text, |
const QString & | trCode, | ||
QString & | tr, | ||
QString & | error | ||
) |
Language from string is auto-detected, and target language is specified to 'trCode'. If string can be processed, translation is returned to 'tr' and function return true, else false is returned with a dysfuntion description in 'error'.
DIGIKAM_EXPORT QMap< QString, QString > Digikam::s_rawFileExtensionsdWithDesc | ( | ) |
NOTE: extension list Version 1 and 2 are taken from www.cybercom.net/~dcoffin/dcraw/rawphoto.c
Ext Descriptions From www.file-extensions.org en.wikipedia.org/wiki/RAW_file_format filext.com
NOTE: VERSION 1
These images are based on the TIFF image standard.
For these models: Kodak DSC Pro SLR/c, Kodak DSC Pro SLR/n, Kodak DSC Pro 14N, Kodak DSC PRO 14nx.
DNG is publicly available archival format for the raw files generated by digital cameras. By addressing the lack of an open standard for the raw files created by individual camera models, DNG helps ensure that photographers will be able to access their files in the future.
For DSC-F828 8 megapixel digital camera or Sony DSC-R1.
For devices based on Foveon X3 direct image sensor.
For Alpha devices.
NOTE: VERSION 2
NOTE: VERSION 3
NOTE: VERSION 4
NOTE: VERSION 5
NOTE: VERSION 6
NOTE: VERSION 7
NOTE: VERSION 8
DIGIKAM_EXPORT int Digikam::s_rawFileExtensionsVersion | ( | ) |
NOTE: increment this number whenever you change the above strings
QString Digikam::s_setXmpTagStringFromEntry | ( | const DMetadata *const | meta, |
const QStringList & | lst, | ||
const DMetadata::MetaDataMap & | map, | ||
const QStringList & | xmpTags = QStringList() |
||
) |
Return the string match. If 'xmpTags' is not empty, register XMP tags value with string.
bool Digikam::setExifXmpTagDataVariant | ( | DMetadata *const | meta, |
const char *const | exifTagName, | ||
const char *const | xmpTagName, | ||
const QVariant & | value | ||
) |
DIGIKAM_EXPORT QStringList Digikam::supportedImageMimeTypes | ( | QIODevice::OpenModeFlag | mode, |
QString & | allTypes | ||
) |
For simple container of type mime, use 'allTypes' string. Supported modes are QIODevice::ReadOnly, QIODevice::WriteOnly, and QIODevice::ReadWrite.
auto Digikam::accessCol |
auto Digikam::accessRow |
ImageCurves::CRMatrix Digikam::CR_basis |
|
static |
|
static |
We need that because this variable is the internal data for matrix faceTemplate below.
const std::map<FaceScanSettings::FaceDetectionSize, int> Digikam::faceenum2size |
const int Digikam::GeoIfaceMinMarkerGroupingRadius = 1 |
|
static |
|
static |
|
static |
This table is used in conjunction with Planck's law for the energy spectrum of a black body at a given temperature to plot the black body curve on the CIE chart.
The following table gives the spectral chromaticity co-ordinates
|
static |
|
static |
|
static |
|
static |