CurvePaintOpPlugin::CurvePaintOpPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisSimplePaintOpFactory<KisCurvePaintOp, KisCurvePaintOpSettings, KisCurvePaintOpSettingsWidget>("curvebrush", i18n("Curve"), KisPaintOpFactory::categoryStable(), "krita-curve.png", QString(), QStringList(), 9)); }
SketchPaintOpPlugin::SketchPaintOpPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisSimplePaintOpFactory<KisSketchPaintOp, KisSketchPaintOpSettings, KisSketchPaintOpSettingsWidget>("sketchbrush", i18n("Sketch brush"), KisPaintOpFactory::categoryExperimental(), "krita-sketch.png")); }
DynaPaintOpPlugin::DynaPaintOpPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisSimplePaintOpFactory<KisDynaPaintOp, KisDynaPaintOpSettings, KisDynaPaintOpSettingsWidget>("dynabrush", i18n("Dyna"), KisPaintOpFactory::categoryStable(), "krita-dyna.png", QString(), QStringList(), 10)); }
DeformPaintOpPlugin::DeformPaintOpPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisDeformPaintOpFactory); }
HairyPaintOpPlugin::HairyPaintOpPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisSimplePaintOpFactory<KisHairyPaintOp, KisHairyPaintOpSettings, KisHairyPaintOpSettingsWidget>("hairybrush", i18n("Bristle"), KisPaintOpFactory::categoryStable(), "krita-sumi.png", QString(), QStringList(), 4)); }
MyPaintPlugin::MyPaintPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); MyPaintFactory* factory = new MyPaintFactory; r->add(factory); }
DynaPaintOpPlugin::DynaPaintOpPlugin(QObject *parent, const QStringList &) : KParts::Plugin(parent) { // setComponentData(DynaPaintOpPluginFactory::componentData()); KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisDynaPaintOpFactory); }
FilterOp::FilterOp(QObject *parent, const QVariantList &) : QObject(parent) { QStringList whiteList; whiteList << COMPOSITE_COPY; // This is not a gui plugin; only load it when the doc is created. KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisSimplePaintOpFactory<KisFilterOp, KisFilterOpSettings, KisFilterOpSettingsWidget>("filter", i18nc("type of a brush engine, shown in the list of brush engines", "Filter"), KisPaintOpFactory::categoryStable(), "krita-filterop.png", QString(), whiteList, 17)); }
DeformPaintOpPlugin::DeformPaintOpPlugin(QObject *parent, const QVariantList &) : QObject(parent) { KisPaintOpRegistry *r = KisPaintOpRegistry::instance(); r->add(new KisSimplePaintOpFactory<KisDeformPaintOp, KisDeformPaintOpSettings, KisDeformPaintOpSettingsWidget>("deformbrush", i18n("Deform"), KisPaintOpFactory::categoryStable(), "krita-deform.png", QString(), QStringList(COMPOSITE_COPY), 16)); }