|
Krita Source Code Documentation
|
#include <kis_tool_measure.h>
Inheritance diagram for KisToolMeasureFactory:Public Member Functions | |
| KoToolBase * | createTool (KoCanvasBase *canvas) override |
| KisToolMeasureFactory () | |
| ~KisToolMeasureFactory () 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 94 of file kis_tool_measure.h.
|
inline |
Definition at line 99 of file kis_tool_measure.h.
References koIconNameCStr, KRITA_TOOL_ACTIVATION_ID, KoToolFactoryBase::setActivationShapeId(), KoToolFactoryBase::setIconName(), KoToolFactoryBase::setPriority(), KoToolFactoryBase::setSection(), KoToolFactoryBase::setToolTip(), and ToolBoxSection::View.
|
inlineoverride |
Definition at line 108 of file kis_tool_measure.h.
|
inlineoverridevirtual |
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 110 of file kis_tool_measure.h.
References Private::canvas.