File indexing completed on 2025-01-19 03:59:13
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-09-16 0007 * Description : Dialog to adjust soft proofing settings 0008 * 0009 * SPDX-FileCopyrightText: 2009-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de> 0010 * SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_SOFT_PROOF_DIALOG_H 0017 #define DIGIKAM_SOFT_PROOF_DIALOG_H 0018 0019 // Qt includes 0020 0021 #include <QDialog> 0022 0023 // Local includes 0024 0025 #include "digikam_export.h" 0026 #include "iccsettingscontainer.h" 0027 0028 namespace Digikam 0029 { 0030 0031 class SoftProofDialog : public QDialog 0032 { 0033 Q_OBJECT 0034 0035 public: 0036 0037 explicit SoftProofDialog(QWidget* const parent); 0038 ~SoftProofDialog() override; 0039 0040 bool shallEnableSoftProofView() const; 0041 0042 protected: 0043 0044 void readSettings(); 0045 void writeSettings(); 0046 0047 protected Q_SLOTS: 0048 0049 void updateGamutCheckState(); 0050 void updateOkButtonState(); 0051 0052 private Q_SLOTS: 0053 0054 void slotHelp(); 0055 void slotOk(); 0056 void slotProfileInfo(); 0057 0058 private: 0059 0060 class Private; 0061 Private* const d; 0062 }; 0063 0064 } // namespace Digikam 0065 0066 #endif // DIGIKAM_SOFT_PROOF_DIALOG_H