Revision 597291

Go back to digest for 22nd October 2006

Other in Office

Boudewijn Rempt committed changes in /trunk/koffice:

And suddenly Krita becomes an expensive image viewer instead of a capable
paint app.... Okay, let's break this down:

* All contact with tools now goes through a tool proxy (this turned
out to work best, in the end, out of the three approaches I tried. I
still think it's a pity I had to give up on the event filter approach,
that was way cool).
* I ported Kivio, Karbon and KWord to this system
* Krita now has a KoCanvasBase based canvas, but cannot yet handle flake
shapes, so don't click on the flake tools appearing in the toolbar.
* Krita now shows bits of layers that fall outside the image. This is cool.
* And the checks work.
* Fix a couple of krita file filters

TODO:

* Port Krita's tools
* Port the changes in kisdoc since my fork to kisdoc2
* Implement the tool-per-pointing-thingy
* Implement switching the tool based on what we thing the user is holding in
his hand.
* Implement zooming in Krita's canvas
* Port Krita's opengl canvas (should be easy, but I don't understand it)
* Re-add all the bits of gui, like dockers, filters, menu's and so on that
I chopped off

File Changes

Added 3 files
  • /trunk/koffice
  •   /krita/ui/kis_abstract_canvas_widget.h
  •   /libs/flake/KoToolProxy.h
  •   /libs/kofficeui/KoInputDevice.cpp
Deleted 12 files
  • /trunk/koffice
  •   /krita/image/createdcop.py
  •   /krita/image/kis_point.h
  •   /krita/ui/kis_button_event.h
  •   /krita/ui/kis_button_press_event.h
  •   /krita/ui/kis_button_release_event.h
  •   /krita/ui/kis_double_click_event.h
  •   /krita/ui/kis_event.h
  •   /krita/ui/kis_input_device.cc
  •   /krita/ui/kis_input_device.h
  •   /krita/ui/kis_move_event.h
  •   /libs/flake/KoInputDevice.cpp
  •   /libs/flake/KoInputDevice.h
Modified 206 files
  • /trunk/koffice
  •   /filters/CMakeLists.txt
  •   /karbon/karbon_view.cc
  •   /krita/CMakeLists.txt
  •   /krita/krita_part_init.cc
  •   /kword/KWCanvas.cpp
  •   /kword/KWCanvas.h
  •   /kword/KWGUI.cpp
  •   /filters/krita/CMakeLists.txt
  •   /karbon/widgets/vcanvas.cc
  •   /karbon/widgets/vcanvas.h
  •   /krita/image/CMakeLists.txt
  •   /krita/image/kis_adjustment_layer.cc
  •   /krita/image/kis_boundary.cc
  •   /krita/image/kis_boundary.h
  •   /krita/image/kis_brush.cc
  •   /krita/image/kis_brush.h
  •   /krita/image/kis_canvas_controller.h
  •   /krita/image/kis_gradient_painter.cc
  •   /krita/image/kis_gradient_painter.h
  •   /krita/image/kis_group_layer.cc
  •   /krita/image/kis_image.cc
  •   /krita/image/kis_image.h
  •   /krita/image/kis_painter.cc
  •   /krita/image/kis_painter.h
  •   /krita/image/kis_paintop.cc
  •   /krita/image/kis_paintop.h
  •   /krita/image/kis_paintop_registry.cc
  •   /krita/image/kis_paintop_registry.h
  •   /krita/image/kis_random_sub_accessor.h
  •   /krita/image/kis_rect.h
  •   /krita/image/kis_rotate_visitor.cc
  •   /krita/image/kis_rotate_visitor.h
  •   /krita/image/kis_types.h
  •   /krita/image/kis_vec.h
  •   /krita/plugins/CMakeLists.txt
  •   /krita/ui/CMakeLists.txt
  •   /krita/ui/kis_canvas.cc
  •   /krita/ui/kis_canvas.h
  •   /krita/ui/kis_canvas2.cpp
  •   /krita/ui/kis_canvas2.h
  •   /krita/ui/kis_canvas_widget.cc
  •   /krita/ui/kis_canvas_widget.h
  •   /krita/ui/kis_clipboard.cc
  •   /krita/ui/kis_clipboard.h
  •   /krita/ui/kis_config.cc
  •   /krita/ui/kis_config.h
  •   /krita/ui/kis_cursor.cc
  •   /krita/ui/kis_cursor.h
  •   /krita/ui/kis_custom_image_widget.cc
  •   /krita/ui/kis_custom_image_widget.h
  •   /krita/ui/kis_dlg_image_properties.cc
  •   /krita/ui/kis_doc.cc
  •   /krita/ui/kis_doc.h
  •   /krita/ui/kis_load_visitor.h
  •   /krita/ui/kis_opengl_canvas2.h
  •   /krita/ui/kis_paintop_box.cc
  •   /krita/ui/kis_paintop_box.h
  •   /krita/ui/kis_part_layer.cc
  •   /krita/ui/kis_part_layer.h
  •   /krita/ui/kis_part_layer_handler.cc
  •   /krita/ui/kis_part_layer_handler.h
  •   /krita/ui/kis_qpainter_canvas.cpp
  •   /krita/ui/kis_qpainter_canvas.h
  •   /krita/ui/kis_tool.h
  •   /krita/ui/kis_tool_dummy.cc
  •   /krita/ui/kis_tool_dummy.h
  •   /krita/ui/kis_tool_freehand.cc
  •   /krita/ui/kis_tool_freehand.h
  •   /krita/ui/kis_tool_manager.cc
  •   /krita/ui/kis_tool_manager.h
  •   /krita/ui/kis_tool_non_paint.cc
  •   /krita/ui/kis_tool_non_paint.h
  •   /krita/ui/kis_tool_paint.cc
  •   /krita/ui/kis_tool_paint.h
  •   /krita/ui/kis_tool_types.h
  •   /krita/ui/kis_view.cc
  •   /krita/ui/kis_view.h
  •   /krita/ui/kis_view2.h
  •   /kword/part/KWCanvas.cpp
  •   /kword/part/KWCanvas.h
  •   /libs/flake/CMakeLists.txt
  •   /libs/flake/KoCanvasBase.h
  •   /libs/flake/KoPointerEvent.h
  •   /libs/flake/KoShapeManager.cpp
  •   /libs/flake/KoTool.cpp
  •   /libs/flake/KoTool.h
  •   /libs/kofficecore/KoOpenPane.cpp
  •   /libs/kofficecore/KoPoint.h
  •   /libs/kofficeui/CMakeLists.txt
  •   /libs/kofficeui/KoInputDevice.h
  •   /libs/kofficeui/KoShapeSelector.cpp
  •   /libs/kofficeui/KoShapeSelector.h
  •   /libs/kofficeui/KoToolBox.h
  •   /libs/kofficeui/KoToolManager.cpp
  •   /libs/kofficeui/KoToolManager.h
  •   /filters/krita/gmagick/kis_image_magick_converter.cc
  •   /filters/krita/gmagick/kis_image_magick_converter.h
  •   /filters/krita/gmagick/magickexport.cpp
  •   /filters/krita/gmagick/magickimport.cpp
  •   /filters/krita/jpeg/kis_jpeg_converter.cc
  •   /filters/krita/pdf/kis_pdf_import.cpp
  •   /filters/krita/pdf/pdfimportwidgetbase.ui
  •   /filters/krita/png/kis_png_converter.cc
  •   /filters/krita/png/kis_png_export.cc
  •   /filters/krita/tiff/kis_tiff_converter.cc
  •   /filters/krita/tiff/kis_tiff_export.cc
  •   /filters/krita/tiff/kis_tiff_reader.cc
  •   /filters/krita/tiff/kis_tiff_writer_visitor.cpp
  •   /kivio/src/part/KivioCanvas.cpp
  •   /kivio/src/part/KivioCanvas.h
  •   /krita/colorspaces/wet/kis_wetop.cc
  •   /krita/colorspaces/wet/kis_wetop.h
  •   /krita/plugins/tools/CMakeLists.txt
  •   /krita/colorspaces/wetsticky/brushop/kis_wsbrushop.cc
  •   /krita/colorspaces/wetsticky/brushop/kis_wsbrushop.h
  •   /krita/plugins/filters/cubismfilter/kis_cubism_filter.cc
  •   /krita/plugins/filters/cubismfilter/kis_polygon.cc
  •   /krita/plugins/filters/cubismfilter/kis_polygon.h
  •   /krita/plugins/filters/lenscorrectionfilter/lenscorrectionfilter.cc
  •   /krita/plugins/filters/wavefilter/wavefilter.cc
  •   /krita/plugins/paintops/cpaint/kis_cpaintop.cc
  •   /krita/plugins/paintops/cpaint/kis_cpaintop.h
  •   /krita/plugins/paintops/cpaint/stroke.cpp
  •   /krita/plugins/paintops/defaultpaintops/kis_airbrushop.cc
  •   /krita/plugins/paintops/defaultpaintops/kis_airbrushop.h
  •   /krita/plugins/paintops/defaultpaintops/kis_brushop.cc
  •   /krita/plugins/paintops/defaultpaintops/kis_brushop.h
  •   /krita/plugins/paintops/defaultpaintops/kis_convolveop.cc
  •   /krita/plugins/paintops/defaultpaintops/kis_convolveop.h
  •   /krita/plugins/paintops/defaultpaintops/kis_duplicateop.cc
  •   /krita/plugins/paintops/defaultpaintops/kis_duplicateop.h
  •   /krita/plugins/paintops/defaultpaintops/kis_eraseop.cc
  •   /krita/plugins/paintops/defaultpaintops/kis_eraseop.h
  •   /krita/plugins/paintops/defaultpaintops/kis_penop.cc
  •   /krita/plugins/paintops/defaultpaintops/kis_penop.h
  •   /krita/plugins/paintops/smearybrush/kis_smearyop.cc
  •   /krita/plugins/paintops/smearybrush/kis_smearyop.h
  •   /krita/plugins/tools/defaulttools/CMakeLists.txt
  •   /krita/plugins/tools/defaulttools/default_tools.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_brush.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_brush.h
  •   /krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_colorpicker.h
  •   /krita/plugins/tools/defaulttools/kis_tool_duplicate.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_duplicate.h
  •   /krita/plugins/tools/defaulttools/kis_tool_ellipse.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_ellipse.h
  •   /krita/plugins/tools/defaulttools/kis_tool_fill.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_fill.h
  •   /krita/plugins/tools/defaulttools/kis_tool_gradient.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_gradient.h
  •   /krita/plugins/tools/defaulttools/kis_tool_line.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_line.h
  •   /krita/plugins/tools/defaulttools/kis_tool_move.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_move.h
  •   /krita/plugins/tools/defaulttools/kis_tool_pan.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_pan.h
  •   /krita/plugins/tools/defaulttools/kis_tool_rectangle.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_rectangle.h
  •   /krita/plugins/tools/defaulttools/kis_tool_text.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_zoom.cc
  •   /krita/plugins/tools/defaulttools/kis_tool_zoom.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_brush.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_brush.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_contiguous.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_elliptical.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_eraser.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_eraser.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_outline.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_outline.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_polygonal.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_polygonal.h
  •   /krita/plugins/tools/selectiontools/kis_tool_select_rectangular.cc
  •   /krita/plugins/tools/selectiontools/kis_tool_select_rectangular.h
  •   /krita/plugins/tools/tool_crop/kis_tool_crop.cc
  •   /krita/plugins/tools/tool_crop/kis_tool_crop.h
  •   /krita/plugins/tools/tool_curves/kis_tool_bezier_select.cc
  •   /krita/plugins/tools/tool_curves/kis_tool_bezier_select.h
  •   /krita/plugins/tools/tool_curves/kis_tool_curve.cc
  •   /krita/plugins/tools/tool_curves/kis_tool_curve.h
  •   /krita/plugins/tools/tool_curves/kis_tool_example.cc
  •   /krita/plugins/tools/tool_curves/kis_tool_example.h
  •   /krita/plugins/tools/tool_curves/kis_tool_moutline.cc
  •   /krita/plugins/tools/tool_curves/kis_tool_moutline.h
  •   /krita/plugins/tools/tool_filter/kis_filterop.cc
  •   /krita/plugins/tools/tool_filter/kis_filterop.h
  •   /krita/plugins/tools/tool_filter/kis_tool_filter.cc
  •   /krita/plugins/tools/tool_filter/kis_tool_filter.h
  •   /krita/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc
  •   /krita/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h
  •   /krita/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc
  •   /krita/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h
  •   /krita/plugins/tools/tool_polygon/kis_tool_polygon.cc
  •   /krita/plugins/tools/tool_polygon/kis_tool_polygon.h
  •   /krita/plugins/tools/tool_polyline/kis_tool_polyline.cc
  •   /krita/plugins/tools/tool_polyline/kis_tool_polyline.h
  •   /krita/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
  •   /krita/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.h
  •   /krita/plugins/tools/tool_star/kis_tool_star.cc
  •   /krita/plugins/tools/tool_star/kis_tool_star.h
  •   /krita/plugins/tools/tool_transform/kis_tool_transform.cc
  •   /krita/plugins/tools/tool_transform/kis_tool_transform.h
  •   /krita/plugins/viewplugins/scripting/kritacore/krs_painter.cpp
  •   /krita/plugins/viewplugins/scripting/kritacore/krs_painter.h
221 files changed in total