Krita Source Code Documentation
Loading...
Searching...
No Matches
roundmarker_paintop_plugin.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#include "
roundmarker_paintop_plugin.h
"
8
9
#include <klocalizedstring.h>
10
11
#include <
kis_debug.h
>
12
#include <kpluginfactory.h>
13
14
#include <
brushengine/kis_paintop_registry.h
>
15
#include "
kis_roundmarkerop_settings.h
"
16
17
#include "
kis_roundmarkerop.h
"
18
#include "
kis_roundmarkerop_settings_widget.h
"
19
#include "
kis_simple_paintop_factory.h
"
20
21
#include "
kis_global.h
"
22
23
K_PLUGIN_FACTORY_WITH_JSON
(RoundMarkerPaintOpPluginFactory,
"kritaroundmarkerpaintop.json"
, registerPlugin<RoundMarkerPaintOpPlugin>();)
24
25
26
RoundMarkerPaintOpPlugin::RoundMarkerPaintOpPlugin
(QObject* parent,
const
QVariantList&):
27
QObject(parent)
28
{
29
KisPaintOpRegistry::instance
()->
add
(
new
KisSimplePaintOpFactory<KisRoundMarkerOp, KisRoundMarkerOpSettings, KisRoundMarkerOpSettingsWidget>
(
30
"roundmarker"
, i18n(
"Quick Brush"
),
KisPaintOpFactory::categoryStable
(),
"krita_roundmarkerop.svg"
,
31
QString(),
QStringList
(), 3)
32
);
33
}
34
35
RoundMarkerPaintOpPlugin::~RoundMarkerPaintOpPlugin
() { }
36
37
#include "roundmarker_paintop_plugin.moc"
QStringList
QList< QString > QStringList
Definition
KisQStringListFwd.h:18
KisPaintOpFactory::categoryStable
static QString categoryStable()
Definition
kis_paintop_factory.cpp:36
KisPaintOpRegistry::instance
static KisPaintOpRegistry * instance()
Definition
kis_paintop_registry.cc:48
KisSimplePaintOpFactory
Definition
kis_simple_paintop_factory.h:158
KoGenericRegistry::add
void add(T item)
Definition
KoGenericRegistry.h:64
RoundMarkerPaintOpPlugin::RoundMarkerPaintOpPlugin
RoundMarkerPaintOpPlugin(QObject *parent, const QVariantList &)
Definition
roundmarker_paintop_plugin.cpp:26
RoundMarkerPaintOpPlugin::~RoundMarkerPaintOpPlugin
~RoundMarkerPaintOpPlugin() override
Definition
roundmarker_paintop_plugin.cpp:35
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_global.h
kis_paintop_registry.h
kis_roundmarkerop.h
kis_roundmarkerop_settings.h
kis_roundmarkerop_settings_widget.h
kis_simple_paintop_factory.h
roundmarker_paintop_plugin.h
plugins
paintops
roundmarker
roundmarker_paintop_plugin.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52