Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KIS_DEFORM_OPTION_MODEL_H
#define KIS_DEFORM_OPTION_MODEL_H
#include <lager/cursor.hpp>
#include <lager/extra/qt.hpp>
#include "KisDeformOptionData.h"
#include "KisWidgetConnectionUtils.h"
#include <QObject>
class KisDeformOptionModel : public QObject
{
Q_OBJECT
public:
KisDeformOptionModel(lager::cursor<KisDeformOptionData> optionData);
lager::cursor<KisDeformOptionData> optionData;
LAGER_QT_CURSOR(qreal, deformAmount);
LAGER_QT_CURSOR(bool, deformUseBilinear);
LAGER_QT_CURSOR(bool, deformUseCounter);
LAGER_QT_CURSOR(bool, deformUseOldData);
LAGER_QT_CURSOR(int, deformAction);
};
#endif // KIS_DEFORM_OPTION_MODEL_H