File indexing completed on 2024-12-22 04:16:10
0001 /* 0002 * SPDX-FileCopyrightText: 2008 Lukas Tvrdy <lukast.dev@gmail.com> 0003 * SPDX-FileCopyrightText: 2010 José Luis Vergara <pentalis@gmail.com> 0004 * 0005 * SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 #ifndef KIS_HATCHING_OPTIONS_WIDGET_H 0008 #define KIS_HATCHING_OPTIONS_WIDGET_H 0009 0010 #include <kis_paintop_option.h> 0011 #include <KisHatchingOptionsData.h> 0012 #include <lager/cursor.hpp> 0013 0014 struct KisHatchingOptionsData; 0015 0016 class KisHatchingOptionsWidget : public KisPaintOpOption 0017 { 0018 public: 0019 using data_type = KisHatchingOptionsData; 0020 0021 KisHatchingOptionsWidget(lager::cursor<KisHatchingOptionsData> optionData); 0022 ~KisHatchingOptionsWidget(); 0023 0024 void writeOptionSetting(KisPropertiesConfigurationSP setting) const override; 0025 void readOptionSetting(const KisPropertiesConfigurationSP setting) override; 0026 0027 private: 0028 struct Private; 0029 const QScopedPointer<Private> m_d; 0030 }; 0031 0032 #endif // KIS_HATCHING_OPTIONS_WIDGET_H