digiKam
downloadsettings.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 : 2006-21-07
7  * Description : Camera item download settings container.
8  *
9  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * 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_DOWNLOAD_SETTINGS_H
25 #define DIGIKAM_DOWNLOAD_SETTINGS_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QDateTime>
31 
32 // Local includes
33 
34 #include "digikam_globals.h"
35 #include "dngwriter.h"
36 
37 namespace Digikam
38 {
39 
41 {
42 
43 public:
44 
46  : autoRotate (true),
47  fixDateTime (false),
48  convertJpeg (false),
49  documentName(false),
50  backupRaw (false),
51  convertDng (false),
52  compressDng (true),
53  previewMode (DNGWriter::MEDIUM),
54  rating (NoRating),
57  {
58  };
59 
61  {
62  };
63 
64 public:
65 
67  bool autoRotate;
71 
72  QDateTime newDateTime;
73 
75  QString losslessFormat;
76 
78  QString templateTitle;
79 
81  QString folder;
82  QString file;
83  QString dest;
84 
86  QString mime;
87 
89  bool backupRaw;
90  bool convertDng;
93 
95  QString script;
96 
98  int rating;
99 
102 
105 
108 };
109 
111 
112 } // namespace Digikam
113 
114 #endif // DIGIKAM_DOWNLOAD_SETTINGS_H
Definition: dngwriter.h:40
Definition: downloadsettings.h:41
QString folder
File path to download.
Definition: downloadsettings.h:81
QString mime
Mime type from file to download.
Definition: downloadsettings.h:86
int rating
Pre-rating of each camera file.
Definition: downloadsettings.h:98
QString templateTitle
Metadata template title.
Definition: downloadsettings.h:78
QDateTime newDateTime
Definition: downloadsettings.h:72
QString file
Definition: downloadsettings.h:82
int pickLabel
Pre-pickLabel of each camera file.
Definition: downloadsettings.h:101
bool compressDng
Definition: downloadsettings.h:91
int colorLabel
Pre-colorLabel of each camera file.
Definition: downloadsettings.h:104
QString dest
Definition: downloadsettings.h:83
bool backupRaw
Settings from DNG convert widget.
Definition: downloadsettings.h:89
~DownloadSettings()
Definition: downloadsettings.h:60
DownloadSettings()
Definition: downloadsettings.h:45
QList< int > tagIds
Pre-tags of each camera file.
Definition: downloadsettings.h:107
bool autoRotate
Settings from AdvancedSettings widget.
Definition: downloadsettings.h:62
bool convertDng
Definition: downloadsettings.h:90
bool convertJpeg
Definition: downloadsettings.h:69
bool fixDateTime
Definition: downloadsettings.h:68
bool documentName
Definition: downloadsettings.h:70
QString losslessFormat
New format to convert Jpeg files.
Definition: downloadsettings.h:75
QString script
Settings from ScriptingSettings widget.
Definition: downloadsettings.h:95
int previewMode
Definition: downloadsettings.h:92
Definition: datefolderview.cpp:43
QList< DownloadSettings > DownloadSettingsList
Definition: downloadsettings.h:110
@ NoColorLabel
Definition: digikam_globals.h:104
@ NoPickLabel
Definition: digikam_globals.h:123