File indexing completed on 2024-12-22 04:16:21
0001 /* 0002 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KIS_ROUNDMARKER_OP_OPTION_MODEL_H 0007 #define KIS_ROUNDMARKER_OP_OPTION_MODEL_H 0008 0009 #include <lager/cursor.hpp> 0010 #include <lager/extra/qt.hpp> 0011 0012 #include "KisRoundMarkerOpOptionData.h" 0013 #include "KisWidgetConnectionUtils.h" 0014 0015 class KisRoundMarkerOpOptionModel : public QObject 0016 { 0017 Q_OBJECT 0018 public: 0019 KisRoundMarkerOpOptionModel(lager::cursor<KisRoundMarkerOpOptionData> optionData); 0020 0021 lager::cursor<KisRoundMarkerOpOptionData> optionData; 0022 0023 LAGER_QT_CURSOR(qreal, diameter); 0024 LAGER_QT_CURSOR(qreal, spacing); 0025 LAGER_QT_CURSOR(bool, useAutoSpacing); 0026 LAGER_QT_CURSOR(qreal, autoSpacingCoeff); 0027 LAGER_QT_CURSOR(SpacingState, aggregatedSpacing); 0028 }; 0029 0030 #endif // KIS_ROUNDMARKER_OP_OPTION_MODEL_H