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

0001 /*
0002  *  SPDX-FileCopyrightText: 2014 Boudewijn Rempt <boud@valdyas.org>
0003  *  SPDX-FileCopyrightText: 2017 Victor Wåhlström <victor.wahlstrom@initiali.se>
0004  *
0005  *  SPDX-License-Identifier: LGPL-2.0-or-later
0006  */
0007 
0008 #ifndef _KIS_HeightMap_EXPORT_H_
0009 #define _KIS_HeightMap_EXPORT_H_
0010 
0011 #include <QVariant>
0012 
0013 #include <KisImportExportFilter.h>
0014 #include <kis_config_widget.h>
0015 
0016 class KisHeightMapExport : public KisImportExportFilter
0017 {
0018     Q_OBJECT
0019 public:
0020     KisHeightMapExport(QObject *parent, const QVariantList &);
0021     ~KisHeightMapExport() override;
0022     KisPropertiesConfigurationSP defaultConfiguration(const QByteArray& from = "", const QByteArray& to = "") const override;
0023     KisConfigWidget *createConfigurationWidget(QWidget *parent, const QByteArray& from = "", const QByteArray& to = "") const override;
0024     void initializeCapabilities() override;
0025     
0026     KisImportExportErrorCode convert(KisDocument *document, QIODevice *io,  KisPropertiesConfigurationSP configuration = 0) override;
0027 };
0028 
0029 #endif