File indexing completed on 2024-12-22 04:16:11
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_PREFERENCES_WIDGET_H 0008 #define KIS_HATCHING_PREFERENCES_WIDGET_H 0009 0010 #include <kis_paintop_option.h> 0011 #include <KisHatchingPreferencesData.h> 0012 #include <lager/cursor.hpp> 0013 0014 struct KisHatchingPreferencesData; 0015 0016 class KisHatchingPreferencesWidget : public KisPaintOpOption 0017 { 0018 public: 0019 using data_type = KisHatchingPreferencesData; 0020 0021 KisHatchingPreferencesWidget(lager::cursor<KisHatchingPreferencesData> optionData); 0022 ~KisHatchingPreferencesWidget(); 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_PREFERENCES_WIDGET_H