Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2003 Boudewijn Rempt ([email protected])
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef SELECTION_TOOLS_H_
#define SELECTION_TOOLS_H_
#include <QObject>
#include <QVariant>
/**
* 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.
*/
class SelectionTools : public QObject
{
Q_OBJECT
public:
SelectionTools(QObject *parent, const QVariantList &);
~SelectionTools() override;
};
#endif // SELECTION_TOOLS_H_