|
Krita Source Code Documentation
|
#include <kis_tool_transform.h>
Inheritance diagram for KisToolTransformFactory:Public Member Functions | |
| QList< QAction * > | createActionsImpl (KoToolManager *toolManager) override |
| createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName(). | |
| KoToolBase * | createTool (KoCanvasBase *canvas) override |
| KisToolTransformFactory () | |
| ~KisToolTransformFactory () override | |
Public Member Functions inherited from KisToolPaintFactoryBase | |
| KisToolPaintFactoryBase (const QString &id) | |
| ~KisToolPaintFactoryBase () override | |
Public Member Functions inherited from KoToolFactoryBase | |
| QString | activationShapeId () const |
| QList< QAction * > | createActions (KisKActionCollection *actionCollection, KoToolManager *toolManager) |
| QString | iconName () const |
| QString | id () const |
| KoToolFactoryBase (const QString &id) | |
| int | priority () const |
| Private (const QString &i) | |
| QString | section () const |
| QKeySequence | shortcut () const |
| QString | toolName () const |
| QString | toolTip () const |
| virtual | ~KoToolFactoryBase () |
Private Slots | |
| void | activateSubtool (KoToolManager *toolManager, KisToolTransform::TransformToolMode mode) |
Additional Inherited Members | |
Public Attributes inherited from KoToolFactoryBase | |
| QString | activationId |
| QString | iconName |
| const QString | id |
| int | priority |
| QString | section |
| QKeySequence | shortcut |
| QString | toolName |
| 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 | setToolName (const QString &toolName) |
| void | setToolTip (const QString &tooltip) |
Definition at line 361 of file kis_tool_transform.h.
|
inline |
Definition at line 368 of file kis_tool_transform.h.
References koIconNameCStr, KRITA_TOOL_ACTIVATION_ID, KoToolFactoryBase::setActivationShapeId(), KoToolFactoryBase::setIconName(), KoToolFactoryBase::setPriority(), KoToolFactoryBase::setSection(), KoToolFactoryBase::setShortcut(), KoToolFactoryBase::setToolName(), KoToolFactoryBase::setToolTip(), and ToolBoxSection::Transform.
|
inlineoverride |
Definition at line 379 of file kis_tool_transform.h.
|
privateslot |
Definition at line 1530 of file kis_tool_transform.cc.
References KoToolManager::activeCanvasController(), KoToolManager::activeToolId(), KoCanvasController::canvas(), Private::canvas, KIS_SAFE_ASSERT_RECOVER_RETURN, KisToolTransform::setNextActivationTransformMode(), KisToolTransform::setTransformMode(), KoToolManager::switchToolRequested(), and KoToolManager::toolById().
|
overridevirtual |
createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a valid objectName().
Reimplemented from KisToolPaintFactoryBase.
Definition at line 1492 of file kis_tool_transform.cc.
References activateSubtool(), KisToolTransform::CageTransformMode, KisToolPaintFactoryBase::createActionsImpl(), KisToolTransform::FreeTransformMode, KisActionRegistry::instance(), KIS_SAFE_ASSERT_RECOVER_RETURN, KisToolTransform::LiquifyTransformMode, KisActionRegistry::makeQAction(), KisToolTransform::MeshTransformMode, KisToolTransform::PerspectiveTransformMode, and KisToolTransform::WarpTransformMode.
|
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 381 of file kis_tool_transform.h.
References Private::canvas.