Skip to content

armgit / krita

Public Imported from GitHub
0

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++
756 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2022 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef KISSENSORWITHLENGTHMODEL_H
#define KISSENSORWITHLENGTHMODEL_H

#include "kritapaintop_export.h"

#include <QObject>

#include <KisCurveOptionData.h>
#include <lager/cursor.hpp>
#include <lager/extra/qt.hpp>


class PAINTOP_EXPORT KisSensorWithLengthModel : public QObject
{
    Q_OBJECT
public:
    KisSensorWithLengthModel(lager::cursor<KisSensorWithLengthData> data, QObject *parent);


    // the state must be declared **before** any cursors or readers
    lager::cursor<KisSensorWithLengthData> m_data;
    LAGER_QT_CURSOR(int, length);
    LAGER_QT_CURSOR(bool, isPeriodic);
};


#endif // KISSENSORWITHLENGTHMODEL_H