|
Krita Source Code Documentation
|
#include <SvgTextToolFactory.h>
Inheritance diagram for SvgTextToolFactory:Public Member Functions | |
| KoToolBase * | createTool (KoCanvasBase *canvas) override |
| SvgTextToolFactory () | |
| ~SvgTextToolFactory () | |
Public Member Functions inherited from KoToolFactoryBase | |
| QString | activationShapeId () const |
| QList< QAction * > | createActions (KisKActionCollection *actionCollection) |
| QString | iconName () const |
| QString | id () const |
| KoToolFactoryBase (const QString &id) | |
| int | priority () const |
| Private (const QString &i) | |
| QString | section () const |
| QKeySequence | shortcut () const |
| QString | toolTip () const |
| virtual | ~KoToolFactoryBase () |
Protected Member Functions | |
| QList< QAction * > | createActionsImpl () override |
| createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName(). | |
Protected Member Functions inherited from KoToolFactoryBase | |
| void | setActivationShapeId (const QString &activationShapeId) |
| void | setIconName (const char *iconName) |
| void | setIconName (const QString &iconName) |
| void | setPriority (int newPriority) |
| void | setSection (const QString §ion) |
| void | setShortcut (const QKeySequence &shortcut) |
| void | setToolTip (const QString &tooltip) |
Additional Inherited Members | |
Public Attributes inherited from KoToolFactoryBase | |
| QString | activationId |
| QString | iconName |
| const QString | id |
| int | priority |
| QString | section |
| QKeySequence | shortcut |
| QString | tooltip |
Definition at line 13 of file SvgTextToolFactory.h.
| SvgTextToolFactory::SvgTextToolFactory | ( | ) |
Definition at line 18 of file SvgTextToolFactory.cpp.
References koIconNameCStr, KoSvgTextShape_SHAPEID, ToolBoxSection::Main, KoToolFactoryBase::setActivationShapeId(), KoToolFactoryBase::setIconName(), KoToolFactoryBase::setPriority(), KoToolFactoryBase::setSection(), and KoToolFactoryBase::setToolTip().
| SvgTextToolFactory::~SvgTextToolFactory | ( | ) |
Definition at line 28 of file SvgTextToolFactory.cpp.
|
overrideprotectedvirtual |
createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName().
Reimplemented from KoToolFactoryBase.
Definition at line 37 of file SvgTextToolFactory.cpp.
References KisActionRegistry::instance(), KisActionRegistry::makeQAction(), and SvgTextShortCuts::possibleActions().
|
overridevirtual |
Instantiate a new tool
| canvas | the canvas that the new tool will work on. Should be passed to the constructor of the tool. |
Implements KoToolFactoryBase.
Definition at line 32 of file SvgTextToolFactory.cpp.
References Private::canvas.