File indexing completed on 2025-03-09 04:06:50

0001 /*
0002  *  SPDX-FileCopyrightText: 2021 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef KIS_DLG_HDR_IMPORT_H
0007 #define KIS_DLG_HDR_IMPORT_H
0008 
0009 #include <KoDialog.h>
0010 
0011 #include "kritaui_export.h"
0012 
0013 namespace Ui
0014 {
0015 class DlgHeifImport;
0016 }
0017 
0018 class KRITAUI_EXPORT KisDlgHLGImport : public KoDialog
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     explicit KisDlgHLGImport(bool applyOOTF, float gamma, float brightness, QWidget *parent = nullptr);
0024     bool applyOOTF();
0025     float gamma();
0026     float nominalPeakBrightness();
0027 private Q_SLOTS:
0028     void toggleHLGOptions(bool toggle);
0029 
0030 private:
0031     Ui::DlgHeifImport *ui;
0032 };
0033 
0034 #endif // KIS_DLG_HDR_IMPORT_H