digiKam
dngsettings.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 : 2008-09-24
7  * Description : DNG save settings widgets
8  *
9  * Copyright (C) 2008-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) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_DNG_SETTINGS_H
24 #define DIGIKAM_DNG_SETTINGS_H
25 
26 // Qt includes
27 
28 #include <QWidget>
29 
30 // Local includes
31 
32 #include "digikam_export.h"
33 
34 namespace Digikam
35 {
36 
37 class DIGIKAM_EXPORT DNGSettings : public QWidget
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit DNGSettings(QWidget* const parent = nullptr);
44  ~DNGSettings() override;
45 
46  void setCompressLossLess(bool b);
47  bool compressLossLess() const;
48 
49  void setPreviewMode(int mode);
50  int previewMode() const;
51 
52  void setBackupOriginalRawFile(bool b);
53  bool backupOriginalRawFile() const;
54 
55  void setDefaultSettings();
56 
57 public Q_SLOTS:
58 
60  void slotSetupChanged();
61 
62 Q_SIGNALS:
63 
66 
67 private:
68 
69  class Private;
70  Private* const d;
71 };
72 
73 } // namespace Digikam
74 
75 #endif // DIGIKAM_DNG_SETTINGS_H
Definition: dngsettings.h:38
Definition: datefolderview.cpp:43