|
Krita Source Code Documentation
|
#include <selection_tools.h>
Inheritance diagram for SelectionTools:Public Member Functions | |
| SelectionTools (QObject *parent, const QVariantList &) | |
| ~SelectionTools () override | |
A module wrapper around Krita's selection tools. Despite the fact that new tools are created for every new view, it is not possible to make tools standard parts of the type of the imagesize plugin, because we need to create a new set of tools for every pointer device (mouse, stylus, eraser, puck, etc.). So this plugin is a module which is loaded once into Krita. For every tool there is a factory class that is registered with the tool registry, and that is used to create new instances of the tools.
Definition at line 23 of file selection_tools.h.
| SelectionTools::SelectionTools | ( | QObject * | parent, |
| const QVariantList & | ) |
Definition at line 32 of file selection_tools.cc.
References KoGenericRegistry< T >::add(), and KoToolRegistry::instance().
|
override |
Definition at line 45 of file selection_tools.cc.