|
Krita Source Code Documentation
|
#include <kis_tool_pan.h>
Inheritance diagram for KisToolPanFactory:Public Member Functions | |
| KoToolBase * | createTool (KoCanvasBase *canvas) override |
| KisToolPanFactory () | |
| ~KisToolPanFactory () 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 | |
| virtual QList< QAction * > | createActionsImpl () |
| createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName(). | |
| 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) |
Definition at line 35 of file kis_tool_pan.h.
| KisToolPanFactory::KisToolPanFactory | ( | ) |
Definition at line 78 of file kis_tool_pan.cpp.
References koIconNameCStr, KRITA_TOOL_ACTIVATION_ID, ToolBoxSection::Navigation, KoToolFactoryBase::setActivationShapeId(), KoToolFactoryBase::setIconName(), KoToolFactoryBase::setPriority(), KoToolFactoryBase::setSection(), and KoToolFactoryBase::setToolTip().
|
override |
Definition at line 88 of file kis_tool_pan.cpp.
|
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 92 of file kis_tool_pan.cpp.
References Private::canvas.