Revision b4c07ec...

Go back to digest for 25th August 2013

Bug Fixes in Office

Dmitry Kazakov committed changes in [calligra] /:

Fixed a weird Favorite Composite Ops bug

The model of the categorized list is completely refactored. Now there are
at least three classes involved into the creation of the list:

1) KisCategoriesMapper --- stores a list of the items of the list and
controls their internal state.

2) KisCategorizedListModel --- the model that works on the basis of the
categories mapper.

3) KisSortedCategorizedListModel --- a wrapper for a categorized model that
handles the sorting of the list into categories and items.

File Changes

Added 9 files
  • /ui
  •   krita/kis_categories_mapper.cpp
  •   krita/kis_categories_mapper.h
  •   krita/kis_categorized_list_model.cpp
  •   krita/tests/kis_categories_mapper_test.cpp
  •   krita/tests/kis_categories_mapper_test.h
  •   krita/tests/kis_categorized_list_model_test.cpp
  •   krita/tests/kis_categorized_list_model_test.h
  •   krita/tests/testing_categories_mapper.cpp
  •   krita/tests/testing_categories_mapper.h
Modified 22 files
  •   krita/ui/CMakeLists.txt
  •   krita/ui/kis_categorized_item_delegate.cpp
  •   krita/ui/kis_categorized_item_delegate.h
  •   krita/ui/kis_categorized_list_model.h
  •   krita/ui/kis_composite_ops_model.cc
  •   krita/ui/kis_composite_ops_model.h
  •   krita/ui/kis_paint_ops_model.cpp
  •   krita/ui/kis_paint_ops_model.h
  •   krita/ui/kis_paintop_box.cc
  •   krita/ui/dialogs/kis_dlg_layer_properties.cc
  •   krita/ui/tests/CMakeLists.txt
  •   krita/ui/widgets/kis_categorized_list_view.cpp
  •   krita/ui/widgets/kis_categorized_list_view.h
  •   krita/ui/widgets/kis_cmb_composite.cc
  •   krita/ui/widgets/kis_cmb_composite.h
  •   krita/ui/widgets/kis_paintop_list_widget.cpp
  •   krita/ui/widgets/kis_paintop_list_widget.h
  •   krita/plugins/paintops/libpaintop/kis_compositeop_option.cpp
  •   krita/plugins/paintops/libpaintop/kis_paintop_options_model.cpp
  •   krita/plugins/paintops/libpaintop/kis_paintop_options_model.h
  •   krita/plugins/paintops/libpaintop/kis_paintop_options_widget.cpp
  •   krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp
31 files changed in total