File indexing completed on 2024-12-22 04:16:21

0001 /*
0002  *  SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <lukast.dev@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef KIS_PARTICLEOP_OPTION_MODEL_H
0007 #define KIS_PARTICLEOP_OPTION_MODEL_H
0008 
0009 #include <lager/cursor.hpp>
0010 #include <lager/extra/qt.hpp>
0011 
0012 #include "KisParticleOpOptionData.h"
0013 #include "KisWidgetConnectionUtils.h"
0014 
0015 class KisParticleOpOptionModel : public QObject
0016 {
0017     Q_OBJECT
0018 public:
0019     KisParticleOpOptionModel(lager::cursor<KisParticleOpOptionData> optionData);
0020 
0021     lager::cursor<KisParticleOpOptionData> optionData;
0022 
0023     LAGER_QT_CURSOR(int, particleCount);
0024     LAGER_QT_CURSOR(int, particleIterations);
0025     LAGER_QT_CURSOR(qreal, particleGravity);
0026     LAGER_QT_CURSOR(qreal, particleWeight);
0027     LAGER_QT_CURSOR(qreal, particleScaleX);
0028     LAGER_QT_CURSOR(qreal, particleScaleY);
0029 };
0030 
0031 #endif // KIS_PARTICLEOP_OPTION_MODEL_H