• Boudewijn Rempt's avatar
    add a createActions method to KoToolFactoryBase · 5f91230f
    Boudewijn Rempt authored
    Actions created by a tool instance only exist if there's an open
    document, which means they cannot be configured or placed in
    toolbars. We should only have per-window actions, not per-action
    actions.
    
    Creating the actions in the toolfactory instead of the tool when
    the window is created fixes that: now the tools will retrieve
    the actions from the global action collection on activations
    and de-activation, like the freehand tool already did for increase
    and decrease brush size.
    
    Note: this commit breaks the following tools because it's not
    worth porting hidden tools in any case:
    
    * artistic text tool
    * odf text tool
    * connection tool
    
    BUG:365222
    
    CMAIL:kimageshop@kde.org
    5f91230f
Name
Last commit
Last update
..
AddTextRangeCommand.cpp Loading commit data...
AddTextRangeCommand.h Loading commit data...
ArtisticTextLoadingContext.cpp Loading commit data...
ArtisticTextLoadingContext.h Loading commit data...
ArtisticTextRange.cpp Loading commit data...
ArtisticTextRange.h Loading commit data...
ArtisticTextShape.cpp Loading commit data...
ArtisticTextShape.h Loading commit data...
ArtisticTextShapeConfigWidget.cpp Loading commit data...
ArtisticTextShapeConfigWidget.h Loading commit data...
ArtisticTextShapeConfigWidget.ui Loading commit data...
ArtisticTextShapeFactory.cpp Loading commit data...
ArtisticTextShapeFactory.h Loading commit data...
ArtisticTextShapeLoadingUpdater.cpp Loading commit data...
ArtisticTextShapeLoadingUpdater.h Loading commit data...
ArtisticTextShapeOnPathWidget.cpp Loading commit data...
ArtisticTextShapeOnPathWidget.h Loading commit data...
ArtisticTextShapeOnPathWidget.ui Loading commit data...
ArtisticTextShapePlugin.cpp Loading commit data...
ArtisticTextShapePlugin.h Loading commit data...
ArtisticTextTool.cpp Loading commit data...
ArtisticTextTool.h Loading commit data...
ArtisticTextToolFactory.cpp Loading commit data...
ArtisticTextToolFactory.h Loading commit data...
ArtisticTextToolSelection.cpp Loading commit data...
ArtisticTextToolSelection.h Loading commit data...
AttachTextToPathCommand.cpp Loading commit data...
AttachTextToPathCommand.h Loading commit data...
CMakeLists.txt Loading commit data...
ChangeTextAnchorCommand.cpp Loading commit data...
ChangeTextAnchorCommand.h Loading commit data...
ChangeTextFontCommand.cpp Loading commit data...
ChangeTextFontCommand.h Loading commit data...
ChangeTextOffsetCommand.cpp Loading commit data...
ChangeTextOffsetCommand.h Loading commit data...
DetachTextFromPathCommand.cpp Loading commit data...
DetachTextFromPathCommand.h Loading commit data...
MoveStartOffsetStrategy.cpp Loading commit data...
MoveStartOffsetStrategy.h Loading commit data...
RemoveTextRangeCommand.cpp Loading commit data...
RemoveTextRangeCommand.h Loading commit data...
ReplaceTextRangeCommand.cpp Loading commit data...
ReplaceTextRangeCommand.h Loading commit data...
SelectTextStrategy.cpp Loading commit data...
SelectTextStrategy.h Loading commit data...
artistictextshape.qrc Loading commit data...
calligra_shape_artistictext.json Loading commit data...
hi22-action-artistictext-attach-path.png Loading commit data...
hi22-action-artistictext-detach-path.png Loading commit data...
hi22-action-artistictext-tool.png Loading commit data...
hisc-action-artistictext-attach-path.svg Loading commit data...
hisc-action-artistictext-detach-path.svg Loading commit data...
hisc-action-artistictext-tool.svg Loading commit data...