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

0001 /*
0002  *  SPDX-FileCopyrightText: 2002 Patrick Julien <freak@codepimps.org>
0003  *  SPDX-FileCopyrightText: 2004-2008 Boudewijn Rempt <boud@valdyas.org>
0004  *  SPDX-FileCopyrightText: 2004 Clarence Dang <dang@kde.org>
0005  *  SPDX-FileCopyrightText: 2004 Adrian Page <adrian@pagenet.plus.com>
0006  *  SPDX-FileCopyrightText: 2004 Cyrille Berger <cberger@cberger.net>
0007  *
0008  *  SPDX-License-Identifier: GPL-2.0-or-later
0009  */
0010 
0011 #ifndef KIS_DUPLICATEOP_SETTINGS_WIDGET_H_
0012 #define KIS_DUPLICATEOP_SETTINGS_WIDGET_H_
0013 
0014 #include <kis_brush_based_paintop_options_widget.h>
0015 #include <kis_image.h>
0016 
0017 class KisDuplicateOpOption;
0018 class KisPaintopLodLimitations;
0019 
0020 class KisDuplicateOpSettingsWidget : public KisBrushBasedPaintopOptionWidget
0021 {
0022 
0023     Q_OBJECT
0024 
0025 public:
0026 
0027     KisDuplicateOpSettingsWidget(QWidget* parent, KisResourcesInterfaceSP resourcesInterface, KoCanvasResourcesInterfaceSP canvasResourcesInterface);
0028 
0029     ~KisDuplicateOpSettingsWidget() override;
0030 
0031     KisPropertiesConfigurationSP configuration() const override;
0032     KisPaintopLodLimitations lodLimitations() const override;
0033 
0034     bool supportScratchBox() override {
0035         return false;
0036     }
0037 
0038 public:
0039     KisDuplicateOpOption* m_duplicateOption {nullptr};
0040 
0041 };
0042 
0043 
0044 
0045 #endif // KIS_DUPLICATEOP_SETTINGS_WIDGET_H_