File indexing completed on 2025-01-26 04:11:18

0001 /*
0002  * SPDX-FileCopyrightText: 2022 Sharaf Zaman <shzam@sdf.org>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #ifndef __KISDUPLICATEOPTIONWIDGET_H_
0008 #define __KISDUPLICATEOPTIONWIDGET_H_
0009 
0010 #include <KisDuplicateOptionData.h>
0011 #include <kis_paintop_option.h>
0012 
0013 class KisDuplicateOptionWidget : public KisPaintOpOption
0014 {
0015     Q_OBJECT
0016 public:
0017     using data_type = KisDuplicateOptionData;
0018 
0019     KisDuplicateOptionWidget(lager::cursor<data_type> optionData);
0020     ~KisDuplicateOptionWidget();
0021 
0022     void writeOptionSetting(KisPropertiesConfigurationSP setting) const override;
0023     void readOptionSetting(const KisPropertiesConfigurationSP setting) override;
0024 
0025 private:
0026     struct Private;
0027     const QScopedPointer<Private> m_d;
0028 };
0029 
0030 #endif // __KISDUPLICATEOPTIONWIDGET_H_