subsurface/qt-ui/globe.h
Tomaz Canabrava 9038b3aa6e Added real support for the marble widget
The marble widget now shows the dive locations
and also will center on the dive that the user clicked
in the dive list.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
2013-05-17 13:28:02 -03:00

22 lines
354 B
C++

#ifndef GLOBE_H
#define GLOBE_H
#include <marble/MarbleWidget.h>
namespace Marble{
class GeoDataDocument;
}
class GlobeGPS : public Marble::MarbleWidget{
Q_OBJECT
public:
using Marble::MarbleWidget::centerOn;
GlobeGPS(QWidget *parent);
void reload();
void centerOn(struct dive* dive);
private:
Marble::GeoDataDocument *loadedDives;
};
#endif