2
* Copyright (c) 2008-2009 Lukáš Tvrdý <lukast.dev@gmail.com>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
#ifndef KIS_EXPERIMENTOP_OPTION_H
19
#define KIS_EXPERIMENTOP_OPTION_H
21
#include <kis_paintop_option.h>
22
#include <krita_export.h>
24
const QString EXPERIMENT_START_SIZE = "Experiment/startSize";
25
const QString EXPERIMENT_END_SIZE = "Experiment/endSize";
26
const QString EXPERIMENT_SPACING = "Experiment/spacing";
28
class KisExperimentOpOptionsWidget;
30
class KisExperimentOpOption : public KisPaintOpOption
33
KisExperimentOpOption();
34
~KisExperimentOpOption();
36
int startSize() const;
39
void setDiameter(int diameter) const;
41
qreal jitterMoveAmount() const;
42
qreal spacing() const;
45
bool jitterMovement() const;
47
void writeOptionSetting(KisPropertiesConfiguration* setting) const;
48
void readOptionSetting(const KisPropertiesConfiguration* setting);
51
KisExperimentOpOptionsWidget * m_options;