Krita Source Code Documentation
Loading...
Searching...
No Matches
MyPaintCurveOptionData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef MYPAINTCURVEOPTIONDATA_H
8#define MYPAINTCURVEOPTIONDATA_H
9
11#include "MyPaintSensorPack.h"
12
13
15{
16 MyPaintCurveOptionData(const QString &prefix,
17 const KoID &id,
18 bool isCheckable = true,
19 bool isChecked = false,
20 qreal minValue = 0.0,
21 qreal maxValue = 1.0);
22
24 bool isCheckable = true,
25 bool isChecked = false,
26 qreal minValue = 0.0,
27 qreal maxValue = 1.0);
28
29protected:
30 MyPaintCurveOptionData(const QString &prefix,
31 const KoID &id,
32 bool isCheckable,
33 bool isChecked,
34 qreal minValue,
35 qreal maxValue,
36 MyPaintSensorPack *sensorInterface);
37public:
38
40 const MyPaintSensorData& sensorStruct() const;
41};
42
43#endif // MYPAINTCURVEOPTIONDATA_H
Definition KoID.h:30
MyPaintCurveOptionData(const QString &prefix, const KoID &id, bool isCheckable=true, bool isChecked=false, qreal minValue=0.0, qreal maxValue=1.0)
MyPaintSensorData & sensorStruct()