SVN commit 638851 by rempt:
Refactor KoCanvasController to use QAbstractScrollArea and
port Krita to
the new situation. This will break every other KoCanvasBase
implementation.
Please look at
http://wiki.koffice.org/index.php?title=Flake/Canvas
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.
CCMAIL: koffice-devel kde.org
M +2 -2 krita/image/kis_image.h
M +1 -1 krita/image/kis_projection.cc
M +0 -1 krita/ui/CMakeLists.txt
M +1 -1 krita/ui/kis_abstract_canvas_widget.h
M +20 -17 krita/ui/kis_canvas2.cpp
M +9 -3 krita/ui/kis_canvas2.h
M +1 -7 krita/ui/kis_doc2.cc
M +8 -0 krita/ui/kis_opengl_canvas2.cpp
M +3 -0 krita/ui/kis_opengl_canvas2.h
M +29 -59 krita/ui/kis_qpainter_canvas.cpp
M +2 -2 krita/ui/kis_qpainter_canvas.h
M +5 -3 krita/ui/kis_shape_layer.cc
M +1 -1 krita/ui/kis_shape_layer.h
M +2 -2 krita/ui/kis_tool.h
M +10 -7 krita/ui/kis_view2.cpp
M +7 -1 krita/ui/kis_view2.h
D krita/ui/kis_view_converter.cpp
D krita/ui/kis_view_converter.h
M +13 -27 krita/ui/kis_zoom_manager.cc
M +0 -4 libs/flake/KoCanvasBase.cpp
M +0 -6 libs/flake/KoCanvasBase.h
M +313 -72 libs/flake/KoCanvasController.cpp
M +122 -38 libs/flake/KoCanvasController.h
M +1 -0 libs/flake/KoViewConverter.h
M +11 -4 libs/kofficecore/KoGlobal.cpp
M +1 -1 libs/kofficeui/CMakeLists.txt
M +24 -11 libs/kofficeui/KoZoomHandler.cpp
M +87 -50 libs/kofficeui/KoZoomHandler.h
A libs/kofficeui/tests (directory)
A libs/kofficeui/tests/CMakeLists.txt
A libs/kofficeui/tests/zoomhandler_test.cpp
[License: no copyright]
A libs/kofficeui/tests/zoomhandler_test.h
[License: no copyright]
_______________________________________________
koffice-devel mailing list
koffice-devel kde.org
h
ttps://mail.kde.org/mailman/listinfo/koffice-devel
|