Krita Source Code Documentation
Loading...
Searching...
No Matches
GridPaintOpPlugin Class Reference

#include <grid_paintop_plugin.h>

+ Inheritance diagram for GridPaintOpPlugin:

Public Member Functions

 GridPaintOpPlugin (QObject *parent, const QVariantList &)
 
 ~GridPaintOpPlugin () override
 

Detailed Description

A plugin wrapper that adds the paintop factories to the paintop registry.

Definition at line 16 of file grid_paintop_plugin.h.

Constructor & Destructor Documentation

◆ GridPaintOpPlugin()

GridPaintOpPlugin::GridPaintOpPlugin ( QObject * parent,
const QVariantList &  )

Definition at line 23 of file grid_paintop_plugin.cpp.

24 : QObject(parent)
25{
27 r->add(new KisSimplePaintOpFactory<KisGridPaintOp, KisGridPaintOpSettings, KisGridPaintOpSettingsWidget>("gridbrush", i18nc("type of a brush engine, shown in the list of brush engines", "Grid"),
28 KisPaintOpFactory::categoryStable(), "krita-grid.png", QString(), QStringList(), 8));
29
30}
QList< QString > QStringList
static QString categoryStable()
static KisPaintOpRegistry * instance()

References KisPaintOpFactory::categoryStable(), and KisPaintOpRegistry::instance().

◆ ~GridPaintOpPlugin()

GridPaintOpPlugin::~GridPaintOpPlugin ( )
override

Definition at line 32 of file grid_paintop_plugin.cpp.

33{
34}

The documentation for this class was generated from the following files: