digiKam
softproofdialog.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-09-16
7  * Description : Dialog to adjust soft proofing settings
8  *
9  * Copyright (C) 2009-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  * Copyright (C) 2013-2022 by Gilles Caulier <caulier dot gilles 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)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_SOFT_PROOF_DIALOG_H
26 #define DIGIKAM_SOFT_PROOF_DIALOG_H
27 
28 // Qt includes
29 
30 #include <QDialog>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 #include "iccsettingscontainer.h"
36 
37 namespace Digikam
38 {
39 
40 class SoftProofDialog : public QDialog
41 {
42  Q_OBJECT
43 
44 public:
45 
46  explicit SoftProofDialog(QWidget* const parent);
47  ~SoftProofDialog() override;
48 
49  bool shallEnableSoftProofView() const;
50 
51 protected:
52 
53  void readSettings();
54  void writeSettings();
55 
56 protected Q_SLOTS:
57 
58  void updateGamutCheckState();
59  void updateOkButtonState();
60 
61 private Q_SLOTS:
62 
63  void slotOk();
64  void slotProfileInfo();
65 
66 private:
67 
68  class Private;
69  Private* const d;
70 };
71 
72 } // namespace Digikam
73 
74 #endif // DIGIKAM_SOFT_PROOF_DIALOG_H
Definition: softproofdialog.h:41
SoftProofDialog(QWidget *const parent)
Definition: softproofdialog.cpp:84
void writeSettings()
Definition: softproofdialog.cpp:218
void updateOkButtonState()
Definition: softproofdialog.cpp:204
bool shallEnableSoftProofView() const
Definition: softproofdialog.cpp:192
~SoftProofDialog() override
Definition: softproofdialog.cpp:187
void updateGamutCheckState()
Definition: softproofdialog.cpp:197
void readSettings()
Definition: softproofdialog.cpp:209
Definition: datefolderview.cpp:43