Krita Source Code Documentation
Loading...
Searching...
No Matches
deform_paintop_plugin.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2008 Lukáš Tvrdý (lukast.dev@gmail.com)
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#include "
deform_paintop_plugin.h
"
8
#include <klocalizedstring.h>
9
10
#include <
kis_debug.h
>
11
#include <kpluginfactory.h>
12
13
#include <
KoCompositeOpRegistry.h
>
14
15
#include <
brushengine/kis_paintop_registry.h
>
16
17
#include "
kis_deform_paintop.h
"
18
#include "
kis_global.h
"
19
#include "
kis_simple_paintop_factory.h
"
20
#include "
kis_deform_paintop_settings_widget.h
"
21
22
K_PLUGIN_FACTORY_WITH_JSON
(DeformPaintOpPluginFactory,
"kritadeformpaintop.json"
, registerPlugin<DeformPaintOpPlugin>();)
23
24
25
DeformPaintOpPlugin::DeformPaintOpPlugin
(QObject *parent,
const
QVariantList &)
26
: QObject(parent)
27
{
28
KisPaintOpRegistry
*r =
KisPaintOpRegistry::instance
();
29
r->add(
new
KisSimplePaintOpFactory<KisDeformPaintOp, KisDeformPaintOpSettings, KisDeformPaintOpSettingsWidget>
(
"deformbrush"
, i18n(
"Deform"
),
KisPaintOpFactory::categoryStable
(),
"krita-deform.png"
, QString(),
QStringList
(
COMPOSITE_COPY
), 16));
30
}
31
32
DeformPaintOpPlugin::~DeformPaintOpPlugin
()
33
{
34
}
35
36
#include "deform_paintop_plugin.moc"
QStringList
QList< QString > QStringList
Definition
KisQStringListFwd.h:18
KoCompositeOpRegistry.h
COMPOSITE_COPY
const QString COMPOSITE_COPY
Definition
KoCompositeOpRegistry.h:155
DeformPaintOpPlugin::DeformPaintOpPlugin
DeformPaintOpPlugin(QObject *parent, const QVariantList &)
Definition
deform_paintop_plugin.cpp:25
DeformPaintOpPlugin::~DeformPaintOpPlugin
~DeformPaintOpPlugin() override
Definition
deform_paintop_plugin.cpp:32
KisPaintOpFactory::categoryStable
static QString categoryStable()
Definition
kis_paintop_factory.cpp:36
KisPaintOpRegistry
Definition
kis_paintop_registry.h:31
KisPaintOpRegistry::instance
static KisPaintOpRegistry * instance()
Definition
kis_paintop_registry.cc:48
KisSimplePaintOpFactory
Definition
kis_simple_paintop_factory.h:158
deform_paintop_plugin.h
K_PLUGIN_FACTORY_WITH_JSON
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL
Definition
kis_asccdl_filter.cpp:16
kis_debug.h
kis_deform_paintop.h
kis_deform_paintop_settings_widget.h
kis_global.h
kis_paintop_registry.h
kis_simple_paintop_factory.h
plugins
paintops
deform
deform_paintop_plugin.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52