Krita Source Code Documentation
Loading...
Searching...
No Matches
KisParticleOpOptionData.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <lukast.dev@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
7
10
11
12const QString PARTICLE_COUNT = "Particle/count";
13const QString PARTICLE_GRAVITY = "Particle/gravity";
14const QString PARTICLE_WEIGHT = "Particle/weight";
15const QString PARTICLE_ITERATIONS = "Particle/iterations";
16const QString PARTICLE_SCALE_X = "Particle/scaleX";
17const QString PARTICLE_SCALE_Y = "Particle/scaleY";
18
19
21{
22 particleCount = setting->getInt(PARTICLE_COUNT, 50);
28
29 return true;
30}
31
41
43{
45 l.blockers << KoID("particle-brush", i18nc("PaintOp instant preview limitation", "Particle Brush (not supported)"));
46 return l;
47}
const QString PARTICLE_SCALE_X
const QString PARTICLE_COUNT
const QString PARTICLE_ITERATIONS
const QString PARTICLE_WEIGHT
const QString PARTICLE_SCALE_Y
const QString PARTICLE_GRAVITY
Definition KoID.h:30
KisPaintopLodLimitations lodLimitations() const
void write(KisPropertiesConfiguration *setting) const
bool read(const KisPropertiesConfiguration *setting)
virtual void setProperty(const QString &name, const QVariant &value)
int getInt(const QString &name, int def=0) const
double getDouble(const QString &name, double def=0.0) const