digiKam
expoblendingactions.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2009-11-13
7  * Description : a tool to blend bracketed images.
8  *
9  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2015 by Benjamin Girault <benjamin dot girault at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_EXPO_BLENDING_ACTIONS_H
25 #define DIGIKAM_EXPO_BLENDING_ACTIONS_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QImage>
31 #include <QMetaType>
32 #include <QMap>
33 
34 // Local includes
35 
36 #include "enfusesettings.h"
37 
39 {
40 
42 {
49 };
50 
52 {
53 public:
54 
56 
57  ExpoBlendingItemPreprocessedUrls(const QUrl& preprocessed, const QUrl& preview)
58  : preprocessedUrl(preprocessed),
59  previewUrl (preview)
60  {
61  };
62 
64 
66  QUrl previewUrl;
67 };
68 
69 typedef QMap<QUrl, ExpoBlendingItemPreprocessedUrls> ExpoBlendingItemUrlsMap;
70 
72 {
73 public:
74 
76  : starting(false),
77  success (false),
79  {
80  }
81 
82  bool starting;
83  bool success;
84 
85  QString message;
86 
87  QImage image;
88 
91 
93 
95 
97 };
98 
99 } // namespace DigikamGenericExpoBlendingPlugin
100 
103 
104 #endif // DIGIKAM_EXPO_BLENDING_ACTIONS_H
QString message
Definition: expoblendingactions.h:85
QImage image
Definition: expoblendingactions.h:87
ExpoBlendingActionData()
Definition: expoblendingactions.h:75
ExpoBlendingItemUrlsMap preProcessedUrlsMap
Definition: expoblendingactions.h:94
QList< QUrl > outUrls
Definition: expoblendingactions.h:90
EnfuseSettings enfuseSettings
Definition: expoblendingactions.h:92
bool starting
Definition: expoblendingactions.h:82
ExpoBlendingAction action
Definition: expoblendingactions.h:96
QList< QUrl > inUrls
Definition: expoblendingactions.h:89
bool success
Definition: expoblendingactions.h:83
QUrl preprocessedUrl
Can be original file or aligned version, depending of user choice.
Definition: expoblendingactions.h:65
ExpoBlendingItemPreprocessedUrls(const QUrl &preprocessed, const QUrl &preview)
Definition: expoblendingactions.h:57
QUrl previewUrl
The JPEG preview version, accordingly of preprocessedUrl constant.
Definition: expoblendingactions.h:66
Definition: bracketstack.cpp:43
ExpoBlendingAction
Definition: expoblendingactions.h:42
@ EXPOBLENDING_PREPROCESSING
Definition: expoblendingactions.h:45
@ EXPOBLENDING_LOAD
Definition: expoblendingactions.h:48
@ EXPOBLENDING_IDENTIFY
Definition: expoblendingactions.h:44
@ EXPOBLENDING_ENFUSEPREVIEW
Definition: expoblendingactions.h:46
@ EXPOBLENDING_NONE
Definition: expoblendingactions.h:43
@ EXPOBLENDING_ENFUSEFINAL
Definition: expoblendingactions.h:47
QMap< QUrl, ExpoBlendingItemPreprocessedUrls > ExpoBlendingItemUrlsMap
Map between original Url and processed temp Urls.
Definition: expoblendingactions.h:69