File indexing completed on 2024-12-22 04:16:10

0001 /*
0002  *  SPDX-FileCopyrightText: 2008 Lukas Tvrdy <lukast.dev@gmail.com>
0003  *  SPDX-FileCopyrightText: 2010 José Luis Vergara <pentalis@gmail.com>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 #ifndef KIS_HATCHING_PREFERENCES_MODEL_H
0008 #define KIS_HATCHING_PREFERENCES_MODEL_H
0009 
0010 #include <lager/cursor.hpp>
0011 #include <lager/extra/qt.hpp>
0012 
0013 #include "KisHatchingPreferencesData.h"
0014 #include "KisWidgetConnectionUtils.h"
0015 
0016 class KisHatchingPreferencesModel : public QObject
0017 {
0018     Q_OBJECT
0019 public:
0020     KisHatchingPreferencesModel(lager::cursor<KisHatchingPreferencesData> optionData);
0021 
0022     lager::cursor<KisHatchingPreferencesData> optionData;
0023 
0024     LAGER_QT_CURSOR(bool, useAntialias);
0025     LAGER_QT_CURSOR(bool, useOpaqueBackground);
0026     LAGER_QT_CURSOR(bool, useSubpixelPrecision);
0027 };
0028 
0029 #endif // KIS_HATCHING_PREFERENCES_MODEL_H