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>
22 lines
354 B
C++
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
|