Revision 2aaf9f1...

Go back to digest for 6th January 2013

Features in Educational

Thibaut Gridel committed changes in [marble] /lib:

GeoData: trigger visibility of documents from the theme legend

For this purpose, a property attribute is brought in the following:
- GeoSceneGeoData (aka geodata layer)
- FileManager and FileLoader
- GeoDataDocument
Then MarbleModel reacts to mapTheme settings signals and toggles
GeoDataDocument visibility.
The property name is generic and simply needs to be coordinated in
the dgml file in the following sections:
- <layer><geodata property="rivers">
- <settings><property name="rivers">
- <legend><section checkable="true" connect="rivers">

File Changes

Modified 17 files
  • /lib
  •   src/FileLoader.cpp
  •   src/FileLoader.h
  •   src/FileManager.cpp
  •   src/FileManager.h
  •   src/MarbleLegendBrowser.cpp
  •   src/MarbleMap.cpp
  •   src/MarbleMap.h
  •   src/MarbleModel.cpp
  •   src/MarbleModel.h
  •   src/geodata/data/GeoDataDocument.cpp
  •   src/geodata/data/GeoDataDocument.h
  •   src/geodata/data/GeoDataDocument_p.h
  •   src/geodata/scene/GeoSceneGeodata.cpp
  •   src/geodata/scene/GeoSceneGeodata.h
  •   src/geodata/handlers/dgml/DgmlAttributeDictionary.cpp
  •   src/geodata/handlers/dgml/DgmlAttributeDictionary.h
  •   src/geodata/handlers/dgml/DgmlGeodataTagHandler.cpp
17 files changed in total