File indexing completed on 2024-12-22 04:15:56

0001 /*
0002  *  SPDX-FileCopyrightText: 2005-2006 Cyrille Berger <cberger@cberger.net>
0003  *  SPDX-FileCopyrightText: 2016 Boudewijn Rempt <boud@valdyas.org>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 
0008 #ifndef KIS_DLG_OPTIONS_TIFF_H
0009 #define KIS_DLG_OPTIONS_TIFF_H
0010 
0011 #include <kis_tiff_converter.h>
0012 #include <kis_config_widget.h>
0013 #include "ui_kis_wdg_options_tiff.h"
0014 
0015 class Ui_KisWdgOptionsTIFF;
0016 /**
0017     @author Cyrille Berger <cberger@cberger.net>
0018 */
0019 class KisTIFFOptionsWidget : public KisConfigWidget, public Ui::KisWdgOptionsTIFF
0020 {
0021     Q_OBJECT
0022 public:
0023     KisTIFFOptionsWidget(QWidget *parent = 0);
0024 
0025     void setConfiguration(const KisPropertiesConfigurationSP  cfg) override;
0026     KisPropertiesConfigurationSP configuration() const override;
0027 
0028 private Q_SLOTS:
0029     void activated(int index);
0030     void flattenToggled(bool);
0031 };
0032 
0033 #endif