|
Krita Source Code Documentation
|
Factory for the KoPathTool. More...
#include <KoPathToolFactory.h>
Inheritance diagram for KoPathToolFactory:Public Member Functions | |
| QList< QAction * > | createActionsImpl () override |
| createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName(). | |
| KoToolBase * | createTool (KoCanvasBase *canvas) override |
| KoPathToolFactory () | |
| ~KoPathToolFactory () override | |
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 () |
Additional Inherited Members | |
Public Attributes inherited from KoToolFactoryBase | |
| QString | activationId |
| QString | iconName |
| const QString | id |
| int | priority |
| QString | section |
| QKeySequence | shortcut |
| QString | tooltip |
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) |
Factory for the KoPathTool.
Definition at line 13 of file KoPathToolFactory.h.
| KoPathToolFactory::KoPathToolFactory | ( | ) |
Definition at line 15 of file KoPathToolFactory.cpp.
References koIconNameCStr, ToolBoxSection::Main, KoToolFactoryBase::setActivationShapeId(), KoToolFactoryBase::setIconName(), KoToolFactoryBase::setPriority(), KoToolFactoryBase::setSection(), and KoToolFactoryBase::setToolTip().
|
override |
Definition at line 25 of file KoPathToolFactory.cpp.
|
overridevirtual |
createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName().
Reimplemented from KoToolFactoryBase.
Definition at line 34 of file KoPathToolFactory.cpp.
References KisActionRegistry::instance(), and KisActionRegistry::makeQAction().
|
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 29 of file KoPathToolFactory.cpp.
References Private::canvas.