Revision 638851
Go back to digest for 4th March 2007Other in Office
Boudewijn Rempt committed changes in /trunk/koffice:
Refactor KoCanvasController to use QAbstractScrollArea and port Krita to the new situation. This will break every other KoCanvasBase implementation.
Please look at <a href="http://wiki.koffice.org/index.php?title=Flake/Canvas">http://wiki.koffice.org/index.php?title=Flake/Canvas</a> for the rationale behind this move and for porting tips. Krita's qpainter canvas hasn't yet received the optimizations this move makes possible, but those are easy now.
Also: a unittest for KoZoomHandler.
File Changes
Added 4 files
- /trunk/koffice/libs/kofficeui/tests
- /CMakeLists.txt
- /zoomhandler_test.cpp
- /zoomhandler_test.h
Deleted 2 files
- /trunk/koffice/krita/ui
- /kis_view_converter.cpp
- /kis_view_converter.h
Modified 26 files
- /trunk/koffice
- /krita/image/kis_image.h
- /krita/image/kis_projection.cc
- /krita/ui/CMakeLists.txt
- /krita/ui/kis_abstract_canvas_widget.h
- /krita/ui/kis_canvas2.cpp
- /krita/ui/kis_canvas2.h
- /krita/ui/kis_doc2.cc
- /krita/ui/kis_opengl_canvas2.cpp
- /krita/ui/kis_opengl_canvas2.h
- /krita/ui/kis_qpainter_canvas.cpp
- /krita/ui/kis_qpainter_canvas.h
- /krita/ui/kis_shape_layer.cc
- /krita/ui/kis_shape_layer.h
- /krita/ui/kis_tool.h
- /krita/ui/kis_view2.cpp
- /krita/ui/kis_view2.h
- /krita/ui/kis_zoom_manager.cc
- /libs/flake/KoCanvasBase.cpp
- /libs/flake/KoCanvasBase.h
- /libs/flake/KoCanvasController.cpp
- /libs/flake/KoCanvasController.h
- /libs/flake/KoViewConverter.h
- /libs/kofficecore/KoGlobal.cpp
- /libs/kofficeui/CMakeLists.txt
- /libs/kofficeui/KoZoomHandler.cpp
- /libs/kofficeui/KoZoomHandler.h
32 files changed in total