Revision bf94b01...

Go back to digest for 9th June 2013

Features in Office

Boudewijn Rempt committed changes in [calligra] /:

Merge krita-resource-tagging-erius into master

I tested the functionality and that feels really quite good now.

With this patch, the tag categories the user can define for various
resources will update for any resource chooser of the same type.
Examples: Defining a new tag in the preset popup combobox will also create
the respective tag entry in the preset docker one. If both choosers
would display the same tag category, and the user adds a resource to the
category in one chooser, the view of the other would reflect the change
as well.

Both these things are achieved with a new set of signals and slots
regarding tag category creation and modification.

Other changes: Refactored KoResourceFiltering a bit to make intent more
clear and functionality a bit more fine grained, also fixed the naming
for its private support class members from m_foo to foo since the fields
are all public. Tag categories are now ordered in an alphabetical manner
at all times.

REVIEW:110541

File Changes

Added 2 files
  • /widgets
  •   libs/KoResourceItemChooserContextMenu.cpp
  •   libs/KoResourceItemChooserContextMenu.h
Modified 19 files
  •   krita/ui/kis_palette_manager.cpp
  •   krita/ui/ko_favorite_resource_manager.cpp
  •   krita/ui/ko_favorite_resource_manager.h
  •   libs/widgets/CMakeLists.txt
  •   libs/widgets/KoResourceFiltering.cpp
  •   libs/widgets/KoResourceFiltering.h
  •   libs/widgets/KoResourceItemChooser.cpp
  •   libs/widgets/KoResourceItemChooser.h
  •   libs/widgets/KoResourceModel.cpp
  •   libs/widgets/KoResourceModel.h
  •   libs/widgets/KoResourceServer.h
  •   libs/widgets/KoResourceServerAdapter.cpp
  •   libs/widgets/KoResourceServerAdapter.h
  •   libs/widgets/KoResourceServerObserver.h
  •   libs/widgets/KoResourceTagging.cpp
  •   libs/widgets/KoResourceTagging.h
  •   krita/ui/widgets/kis_preset_chooser.cpp
  •   krita/ui/widgets/kis_preset_chooser.h
  •   krita/plugins/paintops/libbrush/kis_brush_server.cpp
21 files changed in total