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

0001 /*
0002  * This file is part of Krita
0003  *
0004  * SPDX-FileCopyrightText: 2021 L. E. Segovia <amy@amyspark.me>
0005  *
0006  * SPDX-License-Identifier: GPL-2.0-or-later
0007  */
0008 
0009 #ifndef DLG_WEBP_EXPORT_H
0010 #define DLG_WEBP_EXPORT_H
0011 
0012 #include <kis_config_widget.h>
0013 #include <kis_meta_data_filter_registry_model.h>
0014 
0015 #include "ui_kis_wdg_options_webp.h"
0016 
0017 class KisWdgOptionsWebP : public KisConfigWidget, public Ui::KisWdgOptionsWebP
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     KisWdgOptionsWebP(QWidget *parent);
0023     void setConfiguration(const KisPropertiesConfigurationSP cfg) override;
0024     KisPropertiesConfigurationSP configuration() const override;
0025 private Q_SLOTS:
0026     void changePreset();
0027 
0028 private:
0029     KisMetaData::FilterRegistryModel m_filterRegistryModel;
0030 };
0031 
0032 #endif // DLG_WEBP_EXPORT_H