File indexing completed on 2025-01-26 04:11:31
0001 /* 0002 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef MYPAINTCURVEOPTIONRANGECONTROLSSTRATEGY_H 0008 #define MYPAINTCURVEOPTIONRANGECONTROLSSTRATEGY_H 0009 0010 #include <KisCurveOptionRangeControlsStrategyInterface.h> 0011 #include <lager/reader.hpp> 0012 #include <QString> 0013 0014 class MyPaintCurveRangeModel; 0015 0016 class MyPaintCurveOptionRangeControlsStrategy : public KisCurveOptionRangeControlsStrategyInterface 0017 { 0018 public: 0019 MyPaintCurveOptionRangeControlsStrategy(KisCurveRangeModelInterface* rangeInterface, 0020 QWidget* rangeControlsPlaceholder); 0021 ~MyPaintCurveOptionRangeControlsStrategy(); 0022 0023 static KisCurveOptionRangeControlsStrategyFactory factory(); 0024 0025 private: 0026 MyPaintCurveRangeModel *m_rangeModel; 0027 lager::reader<QString> m_xValueSuffix; 0028 lager::reader<QString> m_yValueSuffix; 0029 }; 0030 0031 #endif // MYPAINTCURVEOPTIONRANGECONTROLSSTRATEGY_H