Krita Source Code Documentation
Loading...
Searching...
No Matches
KisToolEncloseAndFillFactory.h
Go to the documentation of this file.
1/*
2 * KDE. Krita Project.
3 *
4 * SPDX-FileCopyrightText: 2022 Deif Lou <ginoba@gmail.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef KISTOOLENCLOSEANDFILLFACTORY_H
10#define KISTOOLENCLOSEANDFILLFACTORY_H
11
13
15
17{
18
19public:
21 : KisToolPaintFactoryBase("KisToolEncloseAndFill")
22 {
23 setToolTip(i18n("Enclose and Fill Tool"));
26 setIconName(koIconNameCStr("krita_tool_enclose_and_fill"));
27 setPriority(15);
28 }
29
32
37
38};
39
40#endif
KoToolBase * createTool(KoCanvasBase *canvas) override
void setSection(const QString &section)
void setActivationShapeId(const QString &activationShapeId)
void setIconName(const char *iconName)
void setToolTip(const QString &tooltip)
void setPriority(int newPriority)
#define koIconNameCStr(name)
Definition kis_icon.h:28
static const QString KRITA_TOOL_ACTIVATION_ID
Definition kis_tool.h:37
static const QString Fill
Tools that fill parts of the canvas.
KisCanvas2 * canvas