File indexing completed on 2025-01-26 04:11:27
0001 /* 0002 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KISDYNAMICSENSORFACTORYDISTANCE_H 0007 #define KISDYNAMICSENSORFACTORYDISTANCE_H 0008 0009 #include "KisSimpleDynamicSensorFactory.h" 0010 0011 class PAINTOP_EXPORT KisDynamicSensorFactoryDistance : public KisSimpleDynamicSensorFactory 0012 { 0013 public: 0014 KisDynamicSensorFactoryDistance(); 0015 QWidget* createConfigWidget(lager::cursor<KisCurveOptionDataCommon> data, QWidget*parent) override; 0016 0017 int maximumValue(int length) override; 0018 QString maximumLabel(int length) override; 0019 }; 0020 0021 0022 #endif // KISDYNAMICSENSORFACTORYDISTANCE_H