GSoC/GCI Archive
Google Code-in 2013 KDE

Create a Tour panel in Marble

completed by: Mikhail Ivchenko

mentors: Torsten Rahn, Dennis Nienhüser

Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!

We are working on integrating support for KML Tours into Marble. The user interface will be a panel (like Routing, Map View, ...) where a tour can be loaded from a .kml file, edited, played and also recorded to a movie file. In this task the first step towards the user interface should be done: Creating the Tour panel with two widgets, a button for loading a .kml file and a QTreeView for displaying the contents of the .kml file. In subsequent tasks this will be developed further.

  • Create a TourWidget class with a button and a QTreeView. The existing FilesView.{h,cpp,ui} may be a good base to copy from
  • Create a "Tour" panel in Marble: A QDockWidget that takes the TourWidget (see above) and has toggle actions like the other panels.
    ControlView::setupDockWidgets is a good base to lead your way. 
  • The button of the TourWidget should open a QFileDialog to open a .kml file, parse it and show its outline in the QTreeView with the help of GeoDataTreeModel. See http://techbase.kde.org/Projects/Marble/Runners/Parse

Helpful links: