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

#include <QObject>
#include <lager/cursor.hpp>
#include <lager/extra/qt.hpp>

#include "KisSmudgeOverlayModeOptionData.h"

#include <QObject>

class KisSmudgeOverlayModeOptionModel : public QObject
{
    Q_OBJECT
public:
    KisSmudgeOverlayModeOptionModel(lager::cursor<KisSmudgeOverlayModeOptionData> optionData,
                                    lager::reader<bool> overlayModeAllowed);
    lager::cursor<KisSmudgeOverlayModeOptionData> optionData;
    lager::reader<bool> overlayModeAllowed;

    LAGER_QT_CURSOR(bool, isChecked);

    KisSmudgeOverlayModeOptionData bakedOptionData() const;
};

#endif // KISSMUDGEOVERLAYMODEOPTIONMODEL_H