File indexing completed on 2024-12-22 04:16:07
0001 /* 0002 * SPDX-FileCopyrightText: 2009, 2010 Lukáš Tvrdý <lukast.dev@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KIS_BRUSHSIZE_OPTION_MODEL_H 0007 #define KIS_BRUSHSIZE_OPTION_MODEL_H 0008 0009 #include <lager/cursor.hpp> 0010 #include <lager/extra/qt.hpp> 0011 0012 #include "KisBrushSizeOptionData.h" 0013 #include "KisWidgetConnectionUtils.h" 0014 0015 class KisBrushSizeOptionModel : public QObject 0016 { 0017 Q_OBJECT 0018 public: 0019 KisBrushSizeOptionModel(lager::cursor<KisBrushSizeOptionData> optionData); 0020 0021 lager::cursor<KisBrushSizeOptionData> optionData; 0022 0023 LAGER_QT_CURSOR(qreal, brushDiameter); 0024 LAGER_QT_CURSOR(qreal, brushAspect); 0025 LAGER_QT_CURSOR(qreal, brushRotation); 0026 LAGER_QT_CURSOR(qreal, brushScale); 0027 LAGER_QT_CURSOR(qreal, brushSpacing); 0028 LAGER_QT_CURSOR(qreal, brushDensity); 0029 LAGER_QT_CURSOR(qreal, brushJitterMovement); 0030 LAGER_QT_CURSOR(bool, brushJitterMovementEnabled); 0031 }; 0032 0033 #endif // KIS_BRUSHSIZE_OPTION_MODEL_H