[Kde-bindings] KDE/kdeedu/marble

Bernhard Beschow bbeschow at cs.tu-berlin.de
Tue Nov 30 15:00:26 UTC 2010

SVN commit 1202361 by beschow:

move drawing methods from MarbleModel to MarbleMap


The whole painting should be implemented in the view rather than in the model because it decouples data and its representation. This allows for having different graphics
backends (hello OpenGL!) while having a common interface to the data.


MarbleMap is now the owner of all painting objects, e.g. the MeasureTool, a new TextureLayer class, the LayerManager, and others. To see all painting objects owned by
MarbleMap, see the modified MarbleMap_p.h.

Since the LayerManager object is now owned by MarbleMap, the layer-relevant methods, slots, and signals (such as addLayer(), removeLayer(), renderPluginsInitialized()) are
now forwarded by MarbleMap and Marblewidget rather than by MarbleModel.

The DownloadRegionDialog has been modified to take a MarbleWidget instead of a MarbleModel.

RB: 5902
CCMAIL: kde-bindings at kde.org

 M  +33 -3     docs/release_notes/APIChanges-0.11.txt  
 M  +4 -4      src/ControlView.cpp  
 M  +2 -2      src/QtMainWindow.cpp  
 M  +4 -4      src/lib/DownloadRegionDialog.cpp  
 M  +317 -49   src/lib/MarbleMap.cpp  
 M  +64 -6     src/lib/MarbleMap.h  
 M  +20 -4     src/lib/MarbleMap_p.h  
 M  +14 -353   src/lib/MarbleModel.cpp  
 M  +9 -112    src/lib/MarbleModel.h  
 M  +48 -19    src/lib/MarbleWidget.cpp  
 M  +24 -5     src/lib/MarbleWidget.h  
 M  +4 -4      src/lib/MarbleWidgetInputHandler.cpp  
 M  +2 -2      src/lib/MarbleWidgetPopupMenu.cpp  
 M  +2 -0      src/lib/PlacemarkLayout.cpp  
 M  +32 -7     src/lib/TextureLayer.cpp  
 M  +8 -2      src/lib/TextureLayer.h  
 M  +8 -9      src/marble_part.cpp  
 M  +1 -1      src/plasmoid/worldclock.cpp  


More information about the Kde-bindings mailing list