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++
947 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2008 Lukas Tvrdy <[email protected]>
 *  SPDX-FileCopyrightText: 2010 José Luis Vergara <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef KIS_HATCHING_PREFERENCES_WIDGET_H
#define KIS_HATCHING_PREFERENCES_WIDGET_H

#include <kis_paintop_option.h>
#include <KisHatchingPreferencesData.h>
#include <lager/cursor.hpp>

struct KisHatchingPreferencesData;

class KisHatchingPreferencesWidget : public KisPaintOpOption
{
public:
    using data_type = KisHatchingPreferencesData;

    KisHatchingPreferencesWidget(lager::cursor<KisHatchingPreferencesData> optionData);
    ~KisHatchingPreferencesWidget();

    void writeOptionSetting(KisPropertiesConfigurationSP setting) const override;
    void readOptionSetting(const KisPropertiesConfigurationSP setting) override;

private:
    struct Private;
    const QScopedPointer<Private> m_d;
};

#endif // KIS_HATCHING_PREFERENCES_WIDGET_H